OSDN Git Service

libstdc++ profile mode bug fixes and minor updates
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 #  include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #  include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 baseline_dir
622 GLIBCXX_LDBL_COMPAT_FALSE
623 GLIBCXX_LDBL_COMPAT_TRUE
624 ENABLE_VISIBILITY_FALSE
625 ENABLE_VISIBILITY_TRUE
626 ENABLE_SYMVERS_DARWIN_FALSE
627 ENABLE_SYMVERS_DARWIN_TRUE
628 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
629 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
630 ENABLE_SYMVERS_GNU_FALSE
631 ENABLE_SYMVERS_GNU_TRUE
632 ENABLE_SYMVERS_FALSE
633 ENABLE_SYMVERS_TRUE
634 port_specific_symbol_files
635 SYMVER_FILE
636 LTLIBICONV
637 LIBICONV
638 OPT_LDFLAGS
639 SECTION_LDFLAGS
640 GLIBCXX_LIBS
641 EXTRA_CXX_FLAGS
642 ENABLE_PARALLEL_FALSE
643 ENABLE_PARALLEL_TRUE
644 GLIBCXX_BUILD_DEBUG_FALSE
645 GLIBCXX_BUILD_DEBUG_TRUE
646 DEBUG_FLAGS
647 GLIBCXX_C_HEADERS_EXTRA_FALSE
648 GLIBCXX_C_HEADERS_EXTRA_TRUE
649 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
650 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
651 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
652 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
653 GLIBCXX_C_HEADERS_C_STD_FALSE
654 GLIBCXX_C_HEADERS_C_STD_TRUE
655 GLIBCXX_C_HEADERS_C_FALSE
656 GLIBCXX_C_HEADERS_C_TRUE
657 C_INCLUDE_DIR
658 ALLOCATOR_NAME
659 ALLOCATOR_H
660 CLOCALE_INTERNAL_H
661 CLOCALE_CC
662 CTIME_CC
663 CTIME_H
664 CNUMERIC_CC
665 CMONEY_CC
666 CMESSAGES_CC
667 CCTYPE_CC
668 CCOLLATE_CC
669 CCODECVT_CC
670 CMESSAGES_H
671 CLOCALE_H
672 USE_NLS
673 glibcxx_localedir
674 glibcxx_POFILES
675 glibcxx_MOFILES
676 check_msgfmt
677 BASIC_FILE_CC
678 BASIC_FILE_H
679 CSTDIO_H
680 SECTION_FLAGS
681 WERROR
682 glibcxx_thread_h
683 glibcxx_PCHFLAGS
684 GLIBCXX_BUILD_PCH_FALSE
685 GLIBCXX_BUILD_PCH_TRUE
686 GLIBCXX_HOSTED_FALSE
687 GLIBCXX_HOSTED_TRUE
688 enable_static
689 enable_shared
690 CXXCPP
691 OTOOL64
692 OTOOL
693 LIPO
694 NMEDIT
695 DSYMUTIL
696 OBJDUMP
697 NM
698 ac_ct_DUMPBIN
699 DUMPBIN
700 LD
701 FGREP
702 SED
703 LIBTOOL
704 EGREP
705 GREP
706 CPP
707 MAINT
708 MAINTAINER_MODE_FALSE
709 MAINTAINER_MODE_TRUE
710 RANLIB
711 AR
712 AS
713 LN_S
714 toplevel_srcdir
715 glibcxx_srcdir
716 glibcxx_builddir
717 ac_ct_CXX
718 CXXFLAGS
719 CXX
720 OBJEXT
721 EXEEXT
722 ac_ct_CC
723 CPPFLAGS
724 LDFLAGS
725 CFLAGS
726 CC
727 am__untar
728 am__tar
729 AMTAR
730 am__leading_dot
731 SET_MAKE
732 AWK
733 mkdir_p
734 MKDIR_P
735 INSTALL_STRIP_PROGRAM
736 STRIP
737 install_sh
738 MAKEINFO
739 AUTOHEADER
740 AUTOMAKE
741 AUTOCONF
742 ACLOCAL
743 VERSION
744 PACKAGE
745 CYGPATH_W
746 am__isrc
747 INSTALL_DATA
748 INSTALL_SCRIPT
749 INSTALL_PROGRAM
750 target_os
751 target_vendor
752 target_cpu
753 target
754 host_os
755 host_vendor
756 host_cpu
757 host
758 build_os
759 build_vendor
760 build_cpu
761 build
762 multi_basedir
763 libtool_VERSION
764 target_alias
765 host_alias
766 build_alias
767 LIBS
768 ECHO_T
769 ECHO_N
770 ECHO_C
771 DEFS
772 mandir
773 localedir
774 libdir
775 psdir
776 pdfdir
777 dvidir
778 htmldir
779 infodir
780 docdir
781 oldincludedir
782 includedir
783 localstatedir
784 sharedstatedir
785 sysconfdir
786 datadir
787 datarootdir
788 libexecdir
789 sbindir
790 bindir
791 program_transform_name
792 prefix
793 exec_prefix
794 PACKAGE_URL
795 PACKAGE_BUGREPORT
796 PACKAGE_STRING
797 PACKAGE_VERSION
798 PACKAGE_TARNAME
799 PACKAGE_NAME
800 PATH_SEPARATOR
801 SHELL'
802 ac_subst_files=''
803 ac_user_opts='
804 enable_option_checking
805 enable_multilib
806 with_target_subdir
807 with_cross_host
808 with_newlib
809 enable_maintainer_mode
810 enable_shared
811 enable_static
812 with_pic
813 enable_fast_install
814 with_gnu_ld
815 enable_libtool_lock
816 enable_hosted_libstdcxx
817 enable_sjlj_exceptions
818 enable_libstdcxx_pch
819 enable_cstdio
820 enable_clocale
821 enable_nls
822 enable_libstdcxx_allocator
823 enable_cheaders
824 enable_long_long
825 enable_wchar_t
826 enable_c99
827 enable_concept_checks
828 enable_libstdcxx_debug_flags
829 enable_libstdcxx_debug
830 enable_cxx_flags
831 enable_fully_dynamic_string
832 enable_libstdcxx_time
833 enable_tls
834 enable_rpath
835 with_libiconv_prefix
836 with_system_libunwind
837 enable_linux_futex
838 enable_symvers
839 enable_visibility
840 with_gxx_include_dir
841 enable_version_specific_runtime_libs
842 '
843       ac_precious_vars='build_alias
844 host_alias
845 target_alias
846 CC
847 CFLAGS
848 LDFLAGS
849 LIBS
850 CPPFLAGS
851 CXX
852 CXXFLAGS
853 CCC
854 CPP
855 CXXCPP'
856
857
858 # Initialize some variables set by options.
859 ac_init_help=
860 ac_init_version=false
861 ac_unrecognized_opts=
862 ac_unrecognized_sep=
863 # The variables have the same names as the options, with
864 # dashes changed to underlines.
865 cache_file=/dev/null
866 exec_prefix=NONE
867 no_create=
868 no_recursion=
869 prefix=NONE
870 program_prefix=NONE
871 program_suffix=NONE
872 program_transform_name=s,x,x,
873 silent=
874 site=
875 srcdir=
876 verbose=
877 x_includes=NONE
878 x_libraries=NONE
879
880 # Installation directory options.
881 # These are left unexpanded so users can "make install exec_prefix=/foo"
882 # and all the variables that are supposed to be based on exec_prefix
883 # by default will actually change.
884 # Use braces instead of parens because sh, perl, etc. also accept them.
885 # (The list follows the same order as the GNU Coding Standards.)
886 bindir='${exec_prefix}/bin'
887 sbindir='${exec_prefix}/sbin'
888 libexecdir='${exec_prefix}/libexec'
889 datarootdir='${prefix}/share'
890 datadir='${datarootdir}'
891 sysconfdir='${prefix}/etc'
892 sharedstatedir='${prefix}/com'
893 localstatedir='${prefix}/var'
894 includedir='${prefix}/include'
895 oldincludedir='/usr/include'
896 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
897 infodir='${datarootdir}/info'
898 htmldir='${docdir}'
899 dvidir='${docdir}'
900 pdfdir='${docdir}'
901 psdir='${docdir}'
902 libdir='${exec_prefix}/lib'
903 localedir='${datarootdir}/locale'
904 mandir='${datarootdir}/man'
905
906 ac_prev=
907 ac_dashdash=
908 for ac_option
909 do
910   # If the previous option needs an argument, assign it.
911   if test -n "$ac_prev"; then
912     eval $ac_prev=\$ac_option
913     ac_prev=
914     continue
915   fi
916
917   case $ac_option in
918   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
919   *)    ac_optarg=yes ;;
920   esac
921
922   # Accept the important Cygnus configure options, so we can diagnose typos.
923
924   case $ac_dashdash$ac_option in
925   --)
926     ac_dashdash=yes ;;
927
928   -bindir | --bindir | --bindi | --bind | --bin | --bi)
929     ac_prev=bindir ;;
930   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
931     bindir=$ac_optarg ;;
932
933   -build | --build | --buil | --bui | --bu)
934     ac_prev=build_alias ;;
935   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
936     build_alias=$ac_optarg ;;
937
938   -cache-file | --cache-file | --cache-fil | --cache-fi \
939   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
940     ac_prev=cache_file ;;
941   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
942   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
943     cache_file=$ac_optarg ;;
944
945   --config-cache | -C)
946     cache_file=config.cache ;;
947
948   -datadir | --datadir | --datadi | --datad)
949     ac_prev=datadir ;;
950   -datadir=* | --datadir=* | --datadi=* | --datad=*)
951     datadir=$ac_optarg ;;
952
953   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
954   | --dataroo | --dataro | --datar)
955     ac_prev=datarootdir ;;
956   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
957   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
958     datarootdir=$ac_optarg ;;
959
960   -disable-* | --disable-*)
961     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
962     # Reject names that are not valid shell variable names.
963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
964       as_fn_error "invalid feature name: $ac_useropt"
965     ac_useropt_orig=$ac_useropt
966     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
967     case $ac_user_opts in
968       *"
969 "enable_$ac_useropt"
970 "*) ;;
971       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
972          ac_unrecognized_sep=', ';;
973     esac
974     eval enable_$ac_useropt=no ;;
975
976   -docdir | --docdir | --docdi | --doc | --do)
977     ac_prev=docdir ;;
978   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
979     docdir=$ac_optarg ;;
980
981   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982     ac_prev=dvidir ;;
983   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
984     dvidir=$ac_optarg ;;
985
986   -enable-* | --enable-*)
987     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
988     # Reject names that are not valid shell variable names.
989     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
990       as_fn_error "invalid feature name: $ac_useropt"
991     ac_useropt_orig=$ac_useropt
992     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993     case $ac_user_opts in
994       *"
995 "enable_$ac_useropt"
996 "*) ;;
997       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
998          ac_unrecognized_sep=', ';;
999     esac
1000     eval enable_$ac_useropt=\$ac_optarg ;;
1001
1002   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1003   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1004   | --exec | --exe | --ex)
1005     ac_prev=exec_prefix ;;
1006   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1007   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1008   | --exec=* | --exe=* | --ex=*)
1009     exec_prefix=$ac_optarg ;;
1010
1011   -gas | --gas | --ga | --g)
1012     # Obsolete; use --with-gas.
1013     with_gas=yes ;;
1014
1015   -help | --help | --hel | --he | -h)
1016     ac_init_help=long ;;
1017   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1018     ac_init_help=recursive ;;
1019   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1020     ac_init_help=short ;;
1021
1022   -host | --host | --hos | --ho)
1023     ac_prev=host_alias ;;
1024   -host=* | --host=* | --hos=* | --ho=*)
1025     host_alias=$ac_optarg ;;
1026
1027   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028     ac_prev=htmldir ;;
1029   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030   | --ht=*)
1031     htmldir=$ac_optarg ;;
1032
1033   -includedir | --includedir | --includedi | --included | --include \
1034   | --includ | --inclu | --incl | --inc)
1035     ac_prev=includedir ;;
1036   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1037   | --includ=* | --inclu=* | --incl=* | --inc=*)
1038     includedir=$ac_optarg ;;
1039
1040   -infodir | --infodir | --infodi | --infod | --info | --inf)
1041     ac_prev=infodir ;;
1042   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1043     infodir=$ac_optarg ;;
1044
1045   -libdir | --libdir | --libdi | --libd)
1046     ac_prev=libdir ;;
1047   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1048     libdir=$ac_optarg ;;
1049
1050   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1051   | --libexe | --libex | --libe)
1052     ac_prev=libexecdir ;;
1053   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1054   | --libexe=* | --libex=* | --libe=*)
1055     libexecdir=$ac_optarg ;;
1056
1057   -localedir | --localedir | --localedi | --localed | --locale)
1058     ac_prev=localedir ;;
1059   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1060     localedir=$ac_optarg ;;
1061
1062   -localstatedir | --localstatedir | --localstatedi | --localstated \
1063   | --localstate | --localstat | --localsta | --localst | --locals)
1064     ac_prev=localstatedir ;;
1065   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1066   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1067     localstatedir=$ac_optarg ;;
1068
1069   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070     ac_prev=mandir ;;
1071   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1072     mandir=$ac_optarg ;;
1073
1074   -nfp | --nfp | --nf)
1075     # Obsolete; use --without-fp.
1076     with_fp=no ;;
1077
1078   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1079   | --no-cr | --no-c | -n)
1080     no_create=yes ;;
1081
1082   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1083   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1084     no_recursion=yes ;;
1085
1086   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1087   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1088   | --oldin | --oldi | --old | --ol | --o)
1089     ac_prev=oldincludedir ;;
1090   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1091   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1092   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1093     oldincludedir=$ac_optarg ;;
1094
1095   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096     ac_prev=prefix ;;
1097   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1098     prefix=$ac_optarg ;;
1099
1100   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1101   | --program-pre | --program-pr | --program-p)
1102     ac_prev=program_prefix ;;
1103   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1104   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1105     program_prefix=$ac_optarg ;;
1106
1107   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1108   | --program-suf | --program-su | --program-s)
1109     ac_prev=program_suffix ;;
1110   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1111   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1112     program_suffix=$ac_optarg ;;
1113
1114   -program-transform-name | --program-transform-name \
1115   | --program-transform-nam | --program-transform-na \
1116   | --program-transform-n | --program-transform- \
1117   | --program-transform | --program-transfor \
1118   | --program-transfo | --program-transf \
1119   | --program-trans | --program-tran \
1120   | --progr-tra | --program-tr | --program-t)
1121     ac_prev=program_transform_name ;;
1122   -program-transform-name=* | --program-transform-name=* \
1123   | --program-transform-nam=* | --program-transform-na=* \
1124   | --program-transform-n=* | --program-transform-=* \
1125   | --program-transform=* | --program-transfor=* \
1126   | --program-transfo=* | --program-transf=* \
1127   | --program-trans=* | --program-tran=* \
1128   | --progr-tra=* | --program-tr=* | --program-t=*)
1129     program_transform_name=$ac_optarg ;;
1130
1131   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132     ac_prev=pdfdir ;;
1133   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1134     pdfdir=$ac_optarg ;;
1135
1136   -psdir | --psdir | --psdi | --psd | --ps)
1137     ac_prev=psdir ;;
1138   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1139     psdir=$ac_optarg ;;
1140
1141   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1142   | -silent | --silent | --silen | --sile | --sil)
1143     silent=yes ;;
1144
1145   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146     ac_prev=sbindir ;;
1147   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148   | --sbi=* | --sb=*)
1149     sbindir=$ac_optarg ;;
1150
1151   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1152   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1153   | --sharedst | --shareds | --shared | --share | --shar \
1154   | --sha | --sh)
1155     ac_prev=sharedstatedir ;;
1156   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1157   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1158   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159   | --sha=* | --sh=*)
1160     sharedstatedir=$ac_optarg ;;
1161
1162   -site | --site | --sit)
1163     ac_prev=site ;;
1164   -site=* | --site=* | --sit=*)
1165     site=$ac_optarg ;;
1166
1167   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168     ac_prev=srcdir ;;
1169   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1170     srcdir=$ac_optarg ;;
1171
1172   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1173   | --syscon | --sysco | --sysc | --sys | --sy)
1174     ac_prev=sysconfdir ;;
1175   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1176   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1177     sysconfdir=$ac_optarg ;;
1178
1179   -target | --target | --targe | --targ | --tar | --ta | --t)
1180     ac_prev=target_alias ;;
1181   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1182     target_alias=$ac_optarg ;;
1183
1184   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1185     verbose=yes ;;
1186
1187   -version | --version | --versio | --versi | --vers | -V)
1188     ac_init_version=: ;;
1189
1190   -with-* | --with-*)
1191     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1192     # Reject names that are not valid shell variable names.
1193     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194       as_fn_error "invalid package name: $ac_useropt"
1195     ac_useropt_orig=$ac_useropt
1196     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197     case $ac_user_opts in
1198       *"
1199 "with_$ac_useropt"
1200 "*) ;;
1201       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1202          ac_unrecognized_sep=', ';;
1203     esac
1204     eval with_$ac_useropt=\$ac_optarg ;;
1205
1206   -without-* | --without-*)
1207     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1208     # Reject names that are not valid shell variable names.
1209     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1210       as_fn_error "invalid package name: $ac_useropt"
1211     ac_useropt_orig=$ac_useropt
1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213     case $ac_user_opts in
1214       *"
1215 "with_$ac_useropt"
1216 "*) ;;
1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1218          ac_unrecognized_sep=', ';;
1219     esac
1220     eval with_$ac_useropt=no ;;
1221
1222   --x)
1223     # Obsolete; use --with-x.
1224     with_x=yes ;;
1225
1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1227   | --x-incl | --x-inc | --x-in | --x-i)
1228     ac_prev=x_includes ;;
1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1231     x_includes=$ac_optarg ;;
1232
1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1235     ac_prev=x_libraries ;;
1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1238     x_libraries=$ac_optarg ;;
1239
1240   -*) as_fn_error "unrecognized option: \`$ac_option'
1241 Try \`$0 --help' for more information."
1242     ;;
1243
1244   *=*)
1245     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1246     # Reject names that are not valid shell variable names.
1247     case $ac_envvar in #(
1248       '' | [0-9]* | *[!_$as_cr_alnum]* )
1249       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1250     esac
1251     eval $ac_envvar=\$ac_optarg
1252     export $ac_envvar ;;
1253
1254   *)
1255     # FIXME: should be removed in autoconf 3.0.
1256     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1258       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1259     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1260     ;;
1261
1262   esac
1263 done
1264
1265 if test -n "$ac_prev"; then
1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1267   as_fn_error "missing argument to $ac_option"
1268 fi
1269
1270 if test -n "$ac_unrecognized_opts"; then
1271   case $enable_option_checking in
1272     no) ;;
1273     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1274     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1275   esac
1276 fi
1277
1278 # Check all directory arguments for consistency.
1279 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1280                 datadir sysconfdir sharedstatedir localstatedir includedir \
1281                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1282                 libdir localedir mandir
1283 do
1284   eval ac_val=\$$ac_var
1285   # Remove trailing slashes.
1286   case $ac_val in
1287     */ )
1288       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1289       eval $ac_var=\$ac_val;;
1290   esac
1291   # Be sure to have absolute directory names.
1292   case $ac_val in
1293     [\\/$]* | ?:[\\/]* )  continue;;
1294     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295   esac
1296   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1297 done
1298
1299 # There might be people who depend on the old broken behavior: `$host'
1300 # used to hold the argument of --host etc.
1301 # FIXME: To remove some day.
1302 build=$build_alias
1303 host=$host_alias
1304 target=$target_alias
1305
1306 # FIXME: To remove some day.
1307 if test "x$host_alias" != x; then
1308   if test "x$build_alias" = x; then
1309     cross_compiling=maybe
1310     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1311     If a cross compiler is detected then cross compile mode will be used." >&2
1312   elif test "x$build_alias" != "x$host_alias"; then
1313     cross_compiling=yes
1314   fi
1315 fi
1316
1317 ac_tool_prefix=
1318 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
1320 test "$silent" = yes && exec 6>/dev/null
1321
1322
1323 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1324 ac_ls_di=`ls -di .` &&
1325 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1326   as_fn_error "working directory cannot be determined"
1327 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1328   as_fn_error "pwd does not report name of working directory"
1329
1330
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333   ac_srcdir_defaulted=yes
1334   # Try the directory containing this script, then the parent directory.
1335   ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337          X"$as_myself" : 'X\(//\)[^/]' \| \
1338          X"$as_myself" : 'X\(//\)$' \| \
1339          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342             s//\1/
1343             q
1344           }
1345           /^X\(\/\/\)[^/].*/{
1346             s//\1/
1347             q
1348           }
1349           /^X\(\/\/\)$/{
1350             s//\1/
1351             q
1352           }
1353           /^X\(\/\).*/{
1354             s//\1/
1355             q
1356           }
1357           s/.*/./; q'`
1358   srcdir=$ac_confdir
1359   if test ! -r "$srcdir/$ac_unique_file"; then
1360     srcdir=..
1361   fi
1362 else
1363   ac_srcdir_defaulted=no
1364 fi
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1368 fi
1369 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370 ac_abs_confdir=`(
1371         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1372         pwd)`
1373 # When building in place, set srcdir=.
1374 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375   srcdir=.
1376 fi
1377 # Remove unnecessary trailing slashes from srcdir.
1378 # Double slashes in file names in object file debugging info
1379 # mess up M-x gdb in Emacs.
1380 case $srcdir in
1381 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382 esac
1383 for ac_var in $ac_precious_vars; do
1384   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1385   eval ac_env_${ac_var}_value=\$${ac_var}
1386   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1387   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1388 done
1389
1390 #
1391 # Report the --help message.
1392 #
1393 if test "$ac_init_help" = "long"; then
1394   # Omit some internal or obsolete options to make the list less imposing.
1395   # This message is too long to be a string in the A/UX 3.1 sh.
1396   cat <<_ACEOF
1397 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1398
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1400
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE.  See below for descriptions of some of the useful variables.
1403
1404 Defaults for the options are specified in brackets.
1405
1406 Configuration:
1407   -h, --help              display this help and exit
1408       --help=short        display options specific to this package
1409       --help=recursive    display the short help of all the included packages
1410   -V, --version           display version information and exit
1411   -q, --quiet, --silent   do not print \`checking...' messages
1412       --cache-file=FILE   cache test results in FILE [disabled]
1413   -C, --config-cache      alias for \`--cache-file=config.cache'
1414   -n, --no-create         do not create output files
1415       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1416
1417 Installation directories:
1418   --prefix=PREFIX         install architecture-independent files in PREFIX
1419                           [$ac_default_prefix]
1420   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1421                           [PREFIX]
1422
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1427
1428 For better control, use the options below.
1429
1430 Fine tuning of the installation directories:
1431   --bindir=DIR            user executables [EPREFIX/bin]
1432   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1433   --libexecdir=DIR        program executables [EPREFIX/libexec]
1434   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1435   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1436   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1437   --libdir=DIR            object code libraries [EPREFIX/lib]
1438   --includedir=DIR        C header files [PREFIX/include]
1439   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1440   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1441   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1442   --infodir=DIR           info documentation [DATAROOTDIR/info]
1443   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1444   --mandir=DIR            man documentation [DATAROOTDIR/man]
1445   --docdir=DIR            documentation root [DATAROOTDIR/doc/libstdc++]
1446   --htmldir=DIR           html documentation [DOCDIR]
1447   --dvidir=DIR            dvi documentation [DOCDIR]
1448   --pdfdir=DIR            pdf documentation [DOCDIR]
1449   --psdir=DIR             ps documentation [DOCDIR]
1450 _ACEOF
1451
1452   cat <<\_ACEOF
1453
1454 Program names:
1455   --program-prefix=PREFIX            prepend PREFIX to installed program names
1456   --program-suffix=SUFFIX            append SUFFIX to installed program names
1457   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1458
1459 System types:
1460   --build=BUILD     configure for building on BUILD [guessed]
1461   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1462   --target=TARGET   configure for building compilers for TARGET [HOST]
1463 _ACEOF
1464 fi
1465
1466 if test -n "$ac_init_help"; then
1467   case $ac_init_help in
1468      short | recursive ) echo "Configuration of package-unused version-unused:";;
1469    esac
1470   cat <<\_ACEOF
1471
1472 Optional Features:
1473   --disable-option-checking  ignore unrecognized --enable/--with options
1474   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1475   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1476   --enable-multilib       build many library versions (default)
1477   --enable-maintainer-mode  enable make rules and dependencies not useful
1478                           (and sometimes confusing) to the casual installer
1479   --enable-shared[=PKGS]  build shared libraries [default=yes]
1480   --enable-static[=PKGS]  build static libraries [default=yes]
1481   --enable-fast-install[=PKGS]
1482                           optimize for fast installation [default=yes]
1483   --disable-libtool-lock  avoid locking (might break parallel builds)
1484   --disable-hosted-libstdcxx
1485                           only build freestanding C++ runtime support
1486   --enable-sjlj-exceptions
1487                           force use of builtin_setjmp for exceptions
1488                           [default=auto]
1489   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1490                           [default=$is_hosted]
1491   --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1492   --enable-clocale[=MODEL]
1493                           use MODEL for target locale package [default=auto]
1494   --enable-nls            use Native Language Support (default)
1495   --enable-libstdcxx-allocator=KIND
1496                           use KIND for target std::allocator base
1497                           [default=auto]
1498   --enable-cheaders=KIND  construct "C" headers for g++ [default=$c_model]
1499   --enable-long-long      enable template specializations for 'long long'
1500                           [default=yes]
1501   --enable-wchar_t        enable template specializations for 'wchar_t'
1502                           [default=yes]
1503   --enable-c99            turns on ISO/IEC 9899:1999 support [default=yes]
1504   --enable-concept-checks use Boost-derived template checks [default=no]
1505   --enable-libstdcxx-debug-flags=FLAGS
1506                           pass compiler FLAGS when building debug library
1507                           [default="-g3 -O0"]
1508   --enable-libstdcxx-debug
1509                           build extra debug library [default=no]
1510   --enable-cxx-flags=FLAGS
1511                           pass compiler FLAGS when building library [default=]
1512   --enable-fully-dynamic-string
1513                           do not put empty strings in per-process static
1514                           memory [default=no]
1515   --enable-libstdcxx-time=KIND
1516                           use KIND for check type [default=no]
1517   --enable-tls            Use thread-local storage [default=yes]
1518   --disable-rpath         do not hardcode runtime library paths
1519   --enable-linux-futex    use the Linux futex system call [default=default]
1520   --enable-symvers=STYLE  enables symbol versioning of the shared library
1521                           [default=yes]
1522   --enable-visibility     enables visibility safe usage [default=yes]
1523   --enable-version-specific-runtime-libs
1524                           Specify that runtime libraries should be installed
1525                           in a compiler-specific directory
1526
1527 Optional Packages:
1528   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1529   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1530   --with-target-subdir=SUBDIR
1531                           configuring in a subdirectory
1532   --with-cross-host=HOST  configuring with a cross compiler
1533   --with-newlib           assume newlib as a system C library
1534   --with-pic              try to use only PIC/non-PIC objects [default=use
1535                           both]
1536   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1537   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1538   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1539   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1540   --with-system-libunwind use installed libunwind
1541   --with-gxx-include-dir=DIR
1542                           installation directory for include files
1543
1544 Some influential environment variables:
1545   CC          C compiler command
1546   CFLAGS      C compiler flags
1547   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1548               nonstandard directory <lib dir>
1549   LIBS        libraries to pass to the linker, e.g. -l<library>
1550   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1551               you have headers in a nonstandard directory <include dir>
1552   CXX         C++ compiler command
1553   CXXFLAGS    C++ compiler flags
1554   CPP         C preprocessor
1555   CXXCPP      C++ preprocessor
1556
1557 Use these variables to override the choices made by `configure' or to help
1558 it to find libraries and programs with nonstandard names/locations.
1559
1560 Report bugs to the package provider.
1561 _ACEOF
1562 ac_status=$?
1563 fi
1564
1565 if test "$ac_init_help" = "recursive"; then
1566   # If there are subdirs, report their specific --help.
1567   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568     test -d "$ac_dir" ||
1569       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570       continue
1571     ac_builddir=.
1572
1573 case "$ac_dir" in
1574 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 *)
1576   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577   # A ".." for each directory in $ac_dir_suffix.
1578   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579   case $ac_top_builddir_sub in
1580   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582   esac ;;
1583 esac
1584 ac_abs_top_builddir=$ac_pwd
1585 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586 # for backward compatibility:
1587 ac_top_builddir=$ac_top_build_prefix
1588
1589 case $srcdir in
1590   .)  # We are building in place.
1591     ac_srcdir=.
1592     ac_top_srcdir=$ac_top_builddir_sub
1593     ac_abs_top_srcdir=$ac_pwd ;;
1594   [\\/]* | ?:[\\/]* )  # Absolute name.
1595     ac_srcdir=$srcdir$ac_dir_suffix;
1596     ac_top_srcdir=$srcdir
1597     ac_abs_top_srcdir=$srcdir ;;
1598   *) # Relative name.
1599     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600     ac_top_srcdir=$ac_top_build_prefix$srcdir
1601     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 esac
1603 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605     cd "$ac_dir" || { ac_status=$?; continue; }
1606     # Check for guested configure.
1607     if test -f "$ac_srcdir/configure.gnu"; then
1608       echo &&
1609       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610     elif test -f "$ac_srcdir/configure"; then
1611       echo &&
1612       $SHELL "$ac_srcdir/configure" --help=recursive
1613     else
1614       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615     fi || ac_status=$?
1616     cd "$ac_pwd" || { ac_status=$?; break; }
1617   done
1618 fi
1619
1620 test -n "$ac_init_help" && exit $ac_status
1621 if $ac_init_version; then
1622   cat <<\_ACEOF
1623 package-unused configure version-unused
1624 generated by GNU Autoconf 2.64
1625
1626 Copyright (C) 2009 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1629 _ACEOF
1630   exit
1631 fi
1632
1633 ## ------------------------ ##
1634 ## Autoconf initialization. ##
1635 ## ------------------------ ##
1636
1637 # ac_fn_c_try_compile LINENO
1638 # --------------------------
1639 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1640 ac_fn_c_try_compile ()
1641 {
1642   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643   rm -f conftest.$ac_objext
1644   if { { ac_try="$ac_compile"
1645 case "(($ac_try" in
1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647   *) ac_try_echo=$ac_try;;
1648 esac
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651   (eval "$ac_compile") 2>conftest.err
1652   ac_status=$?
1653   if test -s conftest.err; then
1654     grep -v '^ *+' conftest.err >conftest.er1
1655     cat conftest.er1 >&5
1656     mv -f conftest.er1 conftest.err
1657   fi
1658   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659   test $ac_status = 0; } && {
1660          test -z "$ac_c_werror_flag" ||
1661          test ! -s conftest.err
1662        } && test -s conftest.$ac_objext; then :
1663   ac_retval=0
1664 else
1665   $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668         ac_retval=1
1669 fi
1670   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1671   return $ac_retval
1672
1673 } # ac_fn_c_try_compile
1674
1675 # ac_fn_cxx_try_compile LINENO
1676 # ----------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_cxx_try_compile ()
1679 {
1680   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681   rm -f conftest.$ac_objext
1682   if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685   *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689   (eval "$ac_compile") 2>conftest.err
1690   ac_status=$?
1691   if test -s conftest.err; then
1692     grep -v '^ *+' conftest.err >conftest.er1
1693     cat conftest.er1 >&5
1694     mv -f conftest.er1 conftest.err
1695   fi
1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697   test $ac_status = 0; } && {
1698          test -z "$ac_cxx_werror_flag" ||
1699          test ! -s conftest.err
1700        } && test -s conftest.$ac_objext; then :
1701   ac_retval=0
1702 else
1703   $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706         ac_retval=1
1707 fi
1708   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709   return $ac_retval
1710
1711 } # ac_fn_cxx_try_compile
1712
1713 # ac_fn_c_try_cpp LINENO
1714 # ----------------------
1715 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_cpp ()
1717 {
1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719   if { { ac_try="$ac_cpp conftest.$ac_ext"
1720 case "(($ac_try" in
1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722   *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1727   ac_status=$?
1728   if test -s conftest.err; then
1729     grep -v '^ *+' conftest.err >conftest.er1
1730     cat conftest.er1 >&5
1731     mv -f conftest.er1 conftest.err
1732   fi
1733   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734   test $ac_status = 0; } >/dev/null && {
1735          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1736          test ! -s conftest.err
1737        }; then :
1738   ac_retval=0
1739 else
1740   $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743     ac_retval=1
1744 fi
1745   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746   return $ac_retval
1747
1748 } # ac_fn_c_try_cpp
1749
1750 # ac_fn_c_try_link LINENO
1751 # -----------------------
1752 # Try to link conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_link ()
1754 {
1755   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756   rm -f conftest.$ac_objext conftest$ac_exeext
1757   if { { ac_try="$ac_link"
1758 case "(($ac_try" in
1759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760   *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764   (eval "$ac_link") 2>conftest.err
1765   ac_status=$?
1766   if test -s conftest.err; then
1767     grep -v '^ *+' conftest.err >conftest.er1
1768     cat conftest.er1 >&5
1769     mv -f conftest.er1 conftest.err
1770   fi
1771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772   test $ac_status = 0; } && {
1773          test -z "$ac_c_werror_flag" ||
1774          test ! -s conftest.err
1775        } && test -s conftest$ac_exeext && {
1776          test "$cross_compiling" = yes ||
1777          $as_test_x conftest$ac_exeext
1778        }; then :
1779   ac_retval=0
1780 else
1781   $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1783
1784         ac_retval=1
1785 fi
1786   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1787   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1788   # interfere with the next link command; also delete a directory that is
1789   # left behind by Apple's compiler.  We do this before executing the actions.
1790   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1791   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1792   return $ac_retval
1793
1794 } # ac_fn_c_try_link
1795
1796 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1797 # -------------------------------------------------------
1798 # Tests whether HEADER exists and can be compiled using the include files in
1799 # INCLUDES, setting the cache variable VAR accordingly.
1800 ac_fn_c_check_header_compile ()
1801 {
1802   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1806   $as_echo_n "(cached) " >&6
1807 else
1808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h.  */
1810 $4
1811 #include <$2>
1812 _ACEOF
1813 if ac_fn_c_try_compile "$LINENO"; then :
1814   eval "$3=yes"
1815 else
1816   eval "$3=no"
1817 fi
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1819 fi
1820 eval ac_res=\$$3
1821                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824
1825 } # ac_fn_c_check_header_compile
1826
1827 # ac_fn_c_try_run LINENO
1828 # ----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1830 # that executables *can* be run.
1831 ac_fn_c_try_run ()
1832 {
1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834   if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837   *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841   (eval "$ac_link") 2>&5
1842   ac_status=$?
1843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1845   { { case "(($ac_try" in
1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1847   *) ac_try_echo=$ac_try;;
1848 esac
1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1850 $as_echo "$ac_try_echo"; } >&5
1851   (eval "$ac_try") 2>&5
1852   ac_status=$?
1853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854   test $ac_status = 0; }; }; then :
1855   ac_retval=0
1856 else
1857   $as_echo "$as_me: program exited with status $ac_status" >&5
1858        $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1860
1861        ac_retval=$ac_status
1862 fi
1863   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1864   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1865   return $ac_retval
1866
1867 } # ac_fn_c_try_run
1868
1869 # ac_fn_c_check_func LINENO FUNC VAR
1870 # ----------------------------------
1871 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1872 ac_fn_c_check_func ()
1873 {
1874   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878   $as_echo_n "(cached) " >&6
1879 else
1880   if test x$gcc_no_link = xyes; then
1881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 fi
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h.  */
1885 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1887 #define $2 innocuous_$2
1888
1889 /* System header to define __stub macros and hopefully few prototypes,
1890     which can conflict with char $2 (); below.
1891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1892     <limits.h> exists even on freestanding compilers.  */
1893
1894 #ifdef __STDC__
1895 # include <limits.h>
1896 #else
1897 # include <assert.h>
1898 #endif
1899
1900 #undef $2
1901
1902 /* Override any GCC internal prototype to avoid an error.
1903    Use char because int might match the return type of a GCC
1904    builtin and then its argument prototype would still apply.  */
1905 #ifdef __cplusplus
1906 extern "C"
1907 #endif
1908 char $2 ();
1909 /* The GNU C library defines this for functions which it implements
1910     to always fail with ENOSYS.  Some functions are actually named
1911     something starting with __ and the normal name is an alias.  */
1912 #if defined __stub_$2 || defined __stub___$2
1913 choke me
1914 #endif
1915
1916 int
1917 main ()
1918 {
1919 return $2 ();
1920   ;
1921   return 0;
1922 }
1923 _ACEOF
1924 if ac_fn_c_try_link "$LINENO"; then :
1925   eval "$3=yes"
1926 else
1927   eval "$3=no"
1928 fi
1929 rm -f core conftest.err conftest.$ac_objext \
1930     conftest$ac_exeext conftest.$ac_ext
1931 fi
1932 eval ac_res=\$$3
1933                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
1937 } # ac_fn_c_check_func
1938
1939 # ac_fn_cxx_try_cpp LINENO
1940 # ------------------------
1941 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_cpp ()
1943 {
1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945   if { { ac_try="$ac_cpp conftest.$ac_ext"
1946 case "(($ac_try" in
1947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948   *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1953   ac_status=$?
1954   if test -s conftest.err; then
1955     grep -v '^ *+' conftest.err >conftest.er1
1956     cat conftest.er1 >&5
1957     mv -f conftest.er1 conftest.err
1958   fi
1959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960   test $ac_status = 0; } >/dev/null && {
1961          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1962          test ! -s conftest.err
1963        }; then :
1964   ac_retval=0
1965 else
1966   $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1968
1969     ac_retval=1
1970 fi
1971   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972   return $ac_retval
1973
1974 } # ac_fn_cxx_try_cpp
1975
1976 # ac_fn_cxx_try_link LINENO
1977 # -------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_link ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   rm -f conftest.$ac_objext conftest$ac_exeext
1983   if { { ac_try="$ac_link"
1984 case "(($ac_try" in
1985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986   *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990   (eval "$ac_link") 2>conftest.err
1991   ac_status=$?
1992   if test -s conftest.err; then
1993     grep -v '^ *+' conftest.err >conftest.er1
1994     cat conftest.er1 >&5
1995     mv -f conftest.er1 conftest.err
1996   fi
1997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998   test $ac_status = 0; } && {
1999          test -z "$ac_cxx_werror_flag" ||
2000          test ! -s conftest.err
2001        } && test -s conftest$ac_exeext && {
2002          test "$cross_compiling" = yes ||
2003          $as_test_x conftest$ac_exeext
2004        }; then :
2005   ac_retval=0
2006 else
2007   $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.$ac_ext >&5
2009
2010         ac_retval=1
2011 fi
2012   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014   # interfere with the next link command; also delete a directory that is
2015   # left behind by Apple's compiler.  We do this before executing the actions.
2016   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018   return $ac_retval
2019
2020 } # ac_fn_cxx_try_link
2021
2022 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2023 # -------------------------------------------------------
2024 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2025 # the include files in INCLUDES and setting the cache variable VAR
2026 # accordingly.
2027 ac_fn_c_check_header_mongrel ()
2028 {
2029   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032 $as_echo_n "checking for $2... " >&6; }
2033 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2034   $as_echo_n "(cached) " >&6
2035 fi
2036 eval ac_res=\$$3
2037                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2038 $as_echo "$ac_res" >&6; }
2039 else
2040   # Is the header compilable?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2042 $as_echo_n "checking $2 usability... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h.  */
2045 $4
2046 #include <$2>
2047 _ACEOF
2048 if ac_fn_c_try_compile "$LINENO"; then :
2049   ac_header_compiler=yes
2050 else
2051   ac_header_compiler=no
2052 fi
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2055 $as_echo "$ac_header_compiler" >&6; }
2056
2057 # Is the header present?
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2059 $as_echo_n "checking $2 presence... " >&6; }
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h.  */
2062 #include <$2>
2063 _ACEOF
2064 if ac_fn_c_try_cpp "$LINENO"; then :
2065   ac_header_preproc=yes
2066 else
2067   ac_header_preproc=no
2068 fi
2069 rm -f conftest.err conftest.$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2071 $as_echo "$ac_header_preproc" >&6; }
2072
2073 # So?  What about this header?
2074 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2075   yes:no: )
2076     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2077 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2078     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2080     ;;
2081   no:yes:* )
2082     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2083 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2084     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2085 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2086     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2087 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2089 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2092     ;;
2093 esac
2094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097   $as_echo_n "(cached) " >&6
2098 else
2099   eval "$3=\$ac_header_compiler"
2100 fi
2101 eval ac_res=\$$3
2102                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2104 fi
2105   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
2107 } # ac_fn_c_check_header_mongrel
2108
2109 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2110 # ---------------------------------------------------------
2111 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2112 # the include files in INCLUDES and setting the cache variable VAR
2113 # accordingly.
2114 ac_fn_cxx_check_header_mongrel ()
2115 {
2116   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2117   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2118   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119 $as_echo_n "checking for $2... " >&6; }
2120 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121   $as_echo_n "(cached) " >&6
2122 fi
2123 eval ac_res=\$$3
2124                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 else
2127   # Is the header compilable?
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2129 $as_echo_n "checking $2 usability... " >&6; }
2130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h.  */
2132 $4
2133 #include <$2>
2134 _ACEOF
2135 if ac_fn_cxx_try_compile "$LINENO"; then :
2136   ac_header_compiler=yes
2137 else
2138   ac_header_compiler=no
2139 fi
2140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2142 $as_echo "$ac_header_compiler" >&6; }
2143
2144 # Is the header present?
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2146 $as_echo_n "checking $2 presence... " >&6; }
2147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h.  */
2149 #include <$2>
2150 _ACEOF
2151 if ac_fn_cxx_try_cpp "$LINENO"; then :
2152   ac_header_preproc=yes
2153 else
2154   ac_header_preproc=no
2155 fi
2156 rm -f conftest.err conftest.$ac_ext
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2158 $as_echo "$ac_header_preproc" >&6; }
2159
2160 # So?  What about this header?
2161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2162   yes:no: )
2163     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2164 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2165     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167     ;;
2168   no:yes:* )
2169     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2170 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2171     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2172 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2173     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2174 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2175     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2176 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2177     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2178 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179     ;;
2180 esac
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184   $as_echo_n "(cached) " >&6
2185 else
2186   eval "$3=\$ac_header_compiler"
2187 fi
2188 eval ac_res=\$$3
2189                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2190 $as_echo "$ac_res" >&6; }
2191 fi
2192   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2193
2194 } # ac_fn_cxx_check_header_mongrel
2195
2196 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2197 # -------------------------------------------
2198 # Tests whether TYPE exists after having included INCLUDES, setting cache
2199 # variable VAR accordingly.
2200 ac_fn_c_check_type ()
2201 {
2202   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2204 $as_echo_n "checking for $2... " >&6; }
2205 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2206   $as_echo_n "(cached) " >&6
2207 else
2208   eval "$3=no"
2209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h.  */
2211 $4
2212 int
2213 main ()
2214 {
2215 if (sizeof ($2))
2216          return 0;
2217   ;
2218   return 0;
2219 }
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h.  */
2224 $4
2225 int
2226 main ()
2227 {
2228 if (sizeof (($2)))
2229             return 0;
2230   ;
2231   return 0;
2232 }
2233 _ACEOF
2234 if ac_fn_c_try_compile "$LINENO"; then :
2235
2236 else
2237   eval "$3=yes"
2238 fi
2239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2240 fi
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2242 fi
2243 eval ac_res=\$$3
2244                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_c_check_type
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258   if test "$cross_compiling" = yes; then
2259     # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h.  */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269   ;
2270   return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274   ac_lo=0 ac_mid=0
2275   while :; do
2276     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h.  */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285   ;
2286   return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290   ac_hi=$ac_mid; break
2291 else
2292   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293                         if test $ac_lo -le $ac_mid; then
2294                           ac_lo= ac_hi=
2295                           break
2296                         fi
2297                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300   done
2301 else
2302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h.  */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311   ;
2312   return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316   ac_hi=-1 ac_mid=-1
2317   while :; do
2318     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h.  */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327   ;
2328   return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332   ac_lo=$ac_mid; break
2333 else
2334   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335                         if test $ac_mid -le $ac_hi; then
2336                           ac_lo= ac_hi=
2337                           break
2338                         fi
2339                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342   done
2343 else
2344   ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h.  */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361   ;
2362   return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366   ac_hi=$ac_mid
2367 else
2368   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376   else
2377     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h.  */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388   FILE *f = fopen ("conftest.val", "w");
2389   if (! f)
2390     return 1;
2391   if (($2) < 0)
2392     {
2393       long int i = longval ();
2394       if (i != ($2))
2395         return 1;
2396       fprintf (f, "%ld", i);
2397     }
2398   else
2399     {
2400       unsigned long int i = ulongval ();
2401       if (i != ($2))
2402         return 1;
2403       fprintf (f, "%lu", i);
2404     }
2405   /* Do not output a trailing newline, as this causes \r\n confusion
2406      on some platforms.  */
2407   return ferror (f) || fclose (f) != 0;
2408
2409   ;
2410   return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416   ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419   conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422   fi
2423   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424   return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427 cat >config.log <<_ACEOF
2428 This file contains any messages produced by compilers while
2429 running configure, to aid debugging if configure makes a mistake.
2430
2431 It was created by package-unused $as_me version-unused, which was
2432 generated by GNU Autoconf 2.64.  Invocation command line was
2433
2434   $ $0 $@
2435
2436 _ACEOF
2437 exec 5>>config.log
2438 {
2439 cat <<_ASUNAME
2440 ## --------- ##
2441 ## Platform. ##
2442 ## --------- ##
2443
2444 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2445 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2446 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2447 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2448 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2449
2450 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2451 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2452
2453 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2454 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2455 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2456 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2457 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2458 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2459 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2460
2461 _ASUNAME
2462
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 for as_dir in $PATH
2465 do
2466   IFS=$as_save_IFS
2467   test -z "$as_dir" && as_dir=.
2468     $as_echo "PATH: $as_dir"
2469   done
2470 IFS=$as_save_IFS
2471
2472 } >&5
2473
2474 cat >&5 <<_ACEOF
2475
2476
2477 ## ----------- ##
2478 ## Core tests. ##
2479 ## ----------- ##
2480
2481 _ACEOF
2482
2483
2484 # Keep a trace of the command line.
2485 # Strip out --no-create and --no-recursion so they do not pile up.
2486 # Strip out --silent because we don't want to record it for future runs.
2487 # Also quote any args containing shell meta-characters.
2488 # Make two passes to allow for proper duplicate-argument suppression.
2489 ac_configure_args=
2490 ac_configure_args0=
2491 ac_configure_args1=
2492 ac_must_keep_next=false
2493 for ac_pass in 1 2
2494 do
2495   for ac_arg
2496   do
2497     case $ac_arg in
2498     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2499     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2500     | -silent | --silent | --silen | --sile | --sil)
2501       continue ;;
2502     *\'*)
2503       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2504     esac
2505     case $ac_pass in
2506     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2507     2)
2508       as_fn_append ac_configure_args1 " '$ac_arg'"
2509       if test $ac_must_keep_next = true; then
2510         ac_must_keep_next=false # Got value, back to normal.
2511       else
2512         case $ac_arg in
2513           *=* | --config-cache | -C | -disable-* | --disable-* \
2514           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2515           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2516           | -with-* | --with-* | -without-* | --without-* | --x)
2517             case "$ac_configure_args0 " in
2518               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2519             esac
2520             ;;
2521           -* ) ac_must_keep_next=true ;;
2522         esac
2523       fi
2524       as_fn_append ac_configure_args " '$ac_arg'"
2525       ;;
2526     esac
2527   done
2528 done
2529 { ac_configure_args0=; unset ac_configure_args0;}
2530 { ac_configure_args1=; unset ac_configure_args1;}
2531
2532 # When interrupted or exit'd, cleanup temporary files, and complete
2533 # config.log.  We remove comments because anyway the quotes in there
2534 # would cause problems or look ugly.
2535 # WARNING: Use '\'' to represent an apostrophe within the trap.
2536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2537 trap 'exit_status=$?
2538   # Save into config.log some information that might help in debugging.
2539   {
2540     echo
2541
2542     cat <<\_ASBOX
2543 ## ---------------- ##
2544 ## Cache variables. ##
2545 ## ---------------- ##
2546 _ASBOX
2547     echo
2548     # The following way of writing the cache mishandles newlines in values,
2549 (
2550   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2551     eval ac_val=\$$ac_var
2552     case $ac_val in #(
2553     *${as_nl}*)
2554       case $ac_var in #(
2555       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2556 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2557       esac
2558       case $ac_var in #(
2559       _ | IFS | as_nl) ;; #(
2560       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2561       *) { eval $ac_var=; unset $ac_var;} ;;
2562       esac ;;
2563     esac
2564   done
2565   (set) 2>&1 |
2566     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2567     *${as_nl}ac_space=\ *)
2568       sed -n \
2569         "s/'\''/'\''\\\\'\'''\''/g;
2570           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2571       ;; #(
2572     *)
2573       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2574       ;;
2575     esac |
2576     sort
2577 )
2578     echo
2579
2580     cat <<\_ASBOX
2581 ## ----------------- ##
2582 ## Output variables. ##
2583 ## ----------------- ##
2584 _ASBOX
2585     echo
2586     for ac_var in $ac_subst_vars
2587     do
2588       eval ac_val=\$$ac_var
2589       case $ac_val in
2590       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2591       esac
2592       $as_echo "$ac_var='\''$ac_val'\''"
2593     done | sort
2594     echo
2595
2596     if test -n "$ac_subst_files"; then
2597       cat <<\_ASBOX
2598 ## ------------------- ##
2599 ## File substitutions. ##
2600 ## ------------------- ##
2601 _ASBOX
2602       echo
2603       for ac_var in $ac_subst_files
2604       do
2605         eval ac_val=\$$ac_var
2606         case $ac_val in
2607         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2608         esac
2609         $as_echo "$ac_var='\''$ac_val'\''"
2610       done | sort
2611       echo
2612     fi
2613
2614     if test -s confdefs.h; then
2615       cat <<\_ASBOX
2616 ## ----------- ##
2617 ## confdefs.h. ##
2618 ## ----------- ##
2619 _ASBOX
2620       echo
2621       cat confdefs.h
2622       echo
2623     fi
2624     test "$ac_signal" != 0 &&
2625       $as_echo "$as_me: caught signal $ac_signal"
2626     $as_echo "$as_me: exit $exit_status"
2627   } >&5
2628   rm -f core *.core core.conftest.* &&
2629     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2630     exit $exit_status
2631 ' 0
2632 for ac_signal in 1 2 13 15; do
2633   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2634 done
2635 ac_signal=0
2636
2637 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2638 rm -f -r conftest* confdefs.h
2639
2640 $as_echo "/* confdefs.h */" > confdefs.h
2641
2642 # Predefined preprocessor variables.
2643
2644 cat >>confdefs.h <<_ACEOF
2645 #define PACKAGE_NAME "$PACKAGE_NAME"
2646 _ACEOF
2647
2648 cat >>confdefs.h <<_ACEOF
2649 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2650 _ACEOF
2651
2652 cat >>confdefs.h <<_ACEOF
2653 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2654 _ACEOF
2655
2656 cat >>confdefs.h <<_ACEOF
2657 #define PACKAGE_STRING "$PACKAGE_STRING"
2658 _ACEOF
2659
2660 cat >>confdefs.h <<_ACEOF
2661 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2662 _ACEOF
2663
2664 cat >>confdefs.h <<_ACEOF
2665 #define PACKAGE_URL "$PACKAGE_URL"
2666 _ACEOF
2667
2668
2669 # Let the site file select an alternate cache file if it wants to.
2670 # Prefer an explicitly selected file to automatically selected ones.
2671 ac_site_file1=NONE
2672 ac_site_file2=NONE
2673 if test -n "$CONFIG_SITE"; then
2674   ac_site_file1=$CONFIG_SITE
2675 elif test "x$prefix" != xNONE; then
2676   ac_site_file1=$prefix/share/config.site
2677   ac_site_file2=$prefix/etc/config.site
2678 else
2679   ac_site_file1=$ac_default_prefix/share/config.site
2680   ac_site_file2=$ac_default_prefix/etc/config.site
2681 fi
2682 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2683 do
2684   test "x$ac_site_file" = xNONE && continue
2685   if test -r "$ac_site_file"; then
2686     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2687 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2688     sed 's/^/| /' "$ac_site_file" >&5
2689     . "$ac_site_file"
2690   fi
2691 done
2692
2693 if test -r "$cache_file"; then
2694   # Some versions of bash will fail to source /dev/null (special
2695   # files actually), so we avoid doing that.
2696   if test -f "$cache_file"; then
2697     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2698 $as_echo "$as_me: loading cache $cache_file" >&6;}
2699     case $cache_file in
2700       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2701       *)                      . "./$cache_file";;
2702     esac
2703   fi
2704 else
2705   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2706 $as_echo "$as_me: creating cache $cache_file" >&6;}
2707   >$cache_file
2708 fi
2709
2710 # Check that the precious variables saved in the cache have kept the same
2711 # value.
2712 ac_cache_corrupted=false
2713 for ac_var in $ac_precious_vars; do
2714   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2715   eval ac_new_set=\$ac_env_${ac_var}_set
2716   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2717   eval ac_new_val=\$ac_env_${ac_var}_value
2718   case $ac_old_set,$ac_new_set in
2719     set,)
2720       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2721 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2722       ac_cache_corrupted=: ;;
2723     ,set)
2724       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2725 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2726       ac_cache_corrupted=: ;;
2727     ,);;
2728     *)
2729       if test "x$ac_old_val" != "x$ac_new_val"; then
2730         # differences in whitespace do not lead to failure.
2731         ac_old_val_w=`echo x $ac_old_val`
2732         ac_new_val_w=`echo x $ac_new_val`
2733         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2734           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2735 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2736           ac_cache_corrupted=:
2737         else
2738           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2739 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2740           eval $ac_var=\$ac_old_val
2741         fi
2742         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2743 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2744         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2745 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2746       fi;;
2747   esac
2748   # Pass precious variables to config.status.
2749   if test "$ac_new_set" = set; then
2750     case $ac_new_val in
2751     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2752     *) ac_arg=$ac_var=$ac_new_val ;;
2753     esac
2754     case " $ac_configure_args " in
2755       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2756       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2757     esac
2758   fi
2759 done
2760 if $ac_cache_corrupted; then
2761   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2764 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2765   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2766 fi
2767 ## -------------------- ##
2768 ## Main body of script. ##
2769 ## -------------------- ##
2770
2771 ac_ext=c
2772 ac_cpp='$CPP $CPPFLAGS'
2773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776
2777
2778
2779
2780
2781
2782 ac_config_headers="$ac_config_headers config.h"
2783
2784
2785 # This works around the fact that libtool configuration may change LD
2786 # for this particular configuration, but some shells, instead of
2787 # keeping the changes in LD private, export them just because LD is
2788 # exported.  Only used at the end of this file.
2789 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
2790
2791 # For libtool versioning info, format is CURRENT:REVISION:AGE
2792 libtool_VERSION=6:14:0
2793
2794
2795 # Find the rest of the source tree framework.
2796 # Default to --enable-multilib
2797 # Check whether --enable-multilib was given.
2798 if test "${enable_multilib+set}" = set; then :
2799   enableval=$enable_multilib; case "$enableval" in
2800   yes) multilib=yes ;;
2801   no)  multilib=no ;;
2802   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2803  esac
2804 else
2805   multilib=yes
2806 fi
2807
2808
2809 # We may get other options which we leave undocumented:
2810 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2811 # See config-ml.in if you want the gory details.
2812
2813 if test "$srcdir" = "."; then
2814   if test "$with_target_subdir" != "."; then
2815     multi_basedir="$srcdir/$with_multisrctop../.."
2816   else
2817     multi_basedir="$srcdir/$with_multisrctop.."
2818   fi
2819 else
2820   multi_basedir="$srcdir/.."
2821 fi
2822
2823
2824 # Even if the default multilib is not a cross compilation,
2825 # it may be that some of the other multilibs are.
2826 if test $cross_compiling = no && test $multilib = yes \
2827    && test "x${with_multisubdir}" != x ; then
2828    cross_compiling=maybe
2829 fi
2830
2831 ac_config_commands="$ac_config_commands default-1"
2832
2833
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2835 #
2836 # You will slowly go insane if you do not grok the following fact:  when
2837 # building v3 as part of the compiler, the top-level /target/ becomes the
2838 # library's /host/.  configure then causes --target to default to --host,
2839 # exactly like any other package using autoconf.  Therefore, 'target' and
2840 # 'host' will always be the same.  This makes sense both for native and
2841 # cross compilers, just think about it for a little while.  :-)
2842 #
2843 # Also, if v3 is being configured as part of a cross compiler, the top-level
2844 # configure script will pass the "real" host as $with_cross_host.
2845 #
2846 # Do not delete or change the following two lines.  For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2848 ac_aux_dir=
2849 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2850   for ac_t in install-sh install.sh shtool; do
2851     if test -f "$ac_dir/$ac_t"; then
2852       ac_aux_dir=$ac_dir
2853       ac_install_sh="$ac_aux_dir/$ac_t -c"
2854       break 2
2855     fi
2856   done
2857 done
2858 if test -z "$ac_aux_dir"; then
2859   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2860 fi
2861
2862 # These three variables are undocumented and unsupported,
2863 # and are intended to be withdrawn in a future Autoconf release.
2864 # They can cause serious problems if a builder's source tree is in a directory
2865 # whose full name contains unusual characters.
2866 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2867 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2868 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2869
2870
2871 # Make sure we can run config.sub.
2872 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2873   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2874
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2876 $as_echo_n "checking build system type... " >&6; }
2877 if test "${ac_cv_build+set}" = set; then :
2878   $as_echo_n "(cached) " >&6
2879 else
2880   ac_build_alias=$build_alias
2881 test "x$ac_build_alias" = x &&
2882   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2883 test "x$ac_build_alias" = x &&
2884   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2885 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2886   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2887
2888 fi
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2890 $as_echo "$ac_cv_build" >&6; }
2891 case $ac_cv_build in
2892 *-*-*) ;;
2893 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2894 esac
2895 build=$ac_cv_build
2896 ac_save_IFS=$IFS; IFS='-'
2897 set x $ac_cv_build
2898 shift
2899 build_cpu=$1
2900 build_vendor=$2
2901 shift; shift
2902 # Remember, the first character of IFS is used to create $*,
2903 # except with old shells:
2904 build_os=$*
2905 IFS=$ac_save_IFS
2906 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2907
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2910 $as_echo_n "checking host system type... " >&6; }
2911 if test "${ac_cv_host+set}" = set; then :
2912   $as_echo_n "(cached) " >&6
2913 else
2914   if test "x$host_alias" = x; then
2915   ac_cv_host=$ac_cv_build
2916 else
2917   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2918     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2919 fi
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2923 $as_echo "$ac_cv_host" >&6; }
2924 case $ac_cv_host in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2927 esac
2928 host=$ac_cv_host
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_host
2931 shift
2932 host_cpu=$1
2933 host_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 host_os=$*
2938 IFS=$ac_save_IFS
2939 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2943 $as_echo_n "checking target system type... " >&6; }
2944 if test "${ac_cv_target+set}" = set; then :
2945   $as_echo_n "(cached) " >&6
2946 else
2947   if test "x$target_alias" = x; then
2948   ac_cv_target=$ac_cv_host
2949 else
2950   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2951     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2956 $as_echo "$ac_cv_target" >&6; }
2957 case $ac_cv_target in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2960 esac
2961 target=$ac_cv_target
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_target
2964 shift
2965 target_cpu=$1
2966 target_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 target_os=$*
2971 IFS=$ac_save_IFS
2972 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 # The aliases save the names the user supplied, while $host etc.
2976 # will get canonicalized.
2977 test -n "$target_alias" &&
2978   test "$program_prefix$program_suffix$program_transform_name" = \
2979     NONENONEs,x,x, &&
2980   program_prefix=${target_alias}-
2981
2982 target_alias=${target_alias-$host_alias}
2983
2984 # Handy for debugging:
2985 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2986
2987 if test "$build" != "$host"; then
2988   # We are being configured with some form of cross compiler.
2989   GLIBCXX_IS_NATIVE=false
2990   case "$host","$target" in
2991     # Darwin crosses can use the host system's libraries and headers,
2992     # because of the fat library support.  Of course, it must be the
2993     # same version of Darwin on both sides.  Allow the user to
2994     # just say --target=foo-darwin without a version number to mean
2995     # "the version on this system".
2996       *-*-darwin*,*-*-darwin*)
2997         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2998         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2999         if test $hostos = $targetos -o $targetos = darwin ; then
3000           GLIBCXX_IS_NATIVE=true
3001         fi
3002         ;;
3003
3004       *)
3005
3006         ;;
3007   esac
3008 else
3009   GLIBCXX_IS_NATIVE=true
3010 fi
3011
3012 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
3013 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3014 #  1.x:  minimum required version
3015 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
3016 #              of other PACKAGE_* variables will, however, and there's nothing
3017 #              we can do about that; they come from AC_INIT).
3018 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
3019 #            file in the top srcdir, etc, etc), so stop complaining.
3020 #  no-dependencies:  turns off auto dependency generation (just for now)
3021 #  -Wall:  turns on all automake warnings...
3022 #  -Wno-portability:  ...except this one, since GNU make is now required.
3023 am__api_version='1.11'
3024
3025 # Find a good install program.  We prefer a C program (faster),
3026 # so one script is as good as another.  But avoid the broken or
3027 # incompatible versions:
3028 # SysV /etc/install, /usr/sbin/install
3029 # SunOS /usr/etc/install
3030 # IRIX /sbin/install
3031 # AIX /bin/install
3032 # AmigaOS /C/install, which installs bootblocks on floppy discs
3033 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3034 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3035 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3036 # OS/2's system install, which has a completely different semantic
3037 # ./install, which can be erroneously created by make from ./install.sh.
3038 # Reject install programs that cannot install multiple files.
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3040 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3041 if test -z "$INSTALL"; then
3042 if test "${ac_cv_path_install+set}" = set; then :
3043   $as_echo_n "(cached) " >&6
3044 else
3045   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 for as_dir in $PATH
3047 do
3048   IFS=$as_save_IFS
3049   test -z "$as_dir" && as_dir=.
3050     # Account for people who put trailing slashes in PATH elements.
3051 case $as_dir/ in #((
3052   ./ | .// | /[cC]/* | \
3053   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3054   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3055   /usr/ucb/* ) ;;
3056   *)
3057     # OSF1 and SCO ODT 3.0 have their own names for install.
3058     # Don't use installbsd from OSF since it installs stuff as root
3059     # by default.
3060     for ac_prog in ginstall scoinst install; do
3061       for ac_exec_ext in '' $ac_executable_extensions; do
3062         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3063           if test $ac_prog = install &&
3064             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3065             # AIX install.  It has an incompatible calling convention.
3066             :
3067           elif test $ac_prog = install &&
3068             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3069             # program-specific install script used by HP pwplus--don't use.
3070             :
3071           else
3072             rm -rf conftest.one conftest.two conftest.dir
3073             echo one > conftest.one
3074             echo two > conftest.two
3075             mkdir conftest.dir
3076             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3077               test -s conftest.one && test -s conftest.two &&
3078               test -s conftest.dir/conftest.one &&
3079               test -s conftest.dir/conftest.two
3080             then
3081               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3082               break 3
3083             fi
3084           fi
3085         fi
3086       done
3087     done
3088     ;;
3089 esac
3090
3091   done
3092 IFS=$as_save_IFS
3093
3094 rm -rf conftest.one conftest.two conftest.dir
3095
3096 fi
3097   if test "${ac_cv_path_install+set}" = set; then
3098     INSTALL=$ac_cv_path_install
3099   else
3100     # As a last resort, use the slow shell script.  Don't cache a
3101     # value for INSTALL within a source directory, because that will
3102     # break other packages using the cache if that directory is
3103     # removed, or if the value is a relative name.
3104     INSTALL=$ac_install_sh
3105   fi
3106 fi
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3108 $as_echo "$INSTALL" >&6; }
3109
3110 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3111 # It thinks the first close brace ends the variable substitution.
3112 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3113
3114 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3115
3116 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3117
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3119 $as_echo_n "checking whether build environment is sane... " >&6; }
3120 # Just in case
3121 sleep 1
3122 echo timestamp > conftest.file
3123 # Reject unsafe characters in $srcdir or the absolute working directory
3124 # name.  Accept space and tab only in the latter.
3125 am_lf='
3126 '
3127 case `pwd` in
3128   *[\\\"\#\$\&\'\`$am_lf]*)
3129     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3130 esac
3131 case $srcdir in
3132   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3133     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3134 esac
3135
3136 # Do `set' in a subshell so we don't clobber the current shell's
3137 # arguments.  Must try -L first in case configure is actually a
3138 # symlink; some systems play weird games with the mod time of symlinks
3139 # (eg FreeBSD returns the mod time of the symlink's containing
3140 # directory).
3141 if (
3142    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3143    if test "$*" = "X"; then
3144       # -L didn't work.
3145       set X `ls -t "$srcdir/configure" conftest.file`
3146    fi
3147    rm -f conftest.file
3148    if test "$*" != "X $srcdir/configure conftest.file" \
3149       && test "$*" != "X conftest.file $srcdir/configure"; then
3150
3151       # If neither matched, then we have a broken ls.  This can happen
3152       # if, for instance, CONFIG_SHELL is bash and it inherits a
3153       # broken ls alias from the environment.  This has actually
3154       # happened.  Such a system could not be considered "sane".
3155       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3156 alias in your environment" "$LINENO" 5
3157    fi
3158
3159    test "$2" = conftest.file
3160    )
3161 then
3162    # Ok.
3163    :
3164 else
3165    as_fn_error "newly created file is older than distributed files!
3166 Check your system clock" "$LINENO" 5
3167 fi
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3169 $as_echo "yes" >&6; }
3170 test "$program_prefix" != NONE &&
3171   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3172 # Use a double $ so make ignores it.
3173 test "$program_suffix" != NONE &&
3174   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3175 # Double any \ or $.
3176 # By default was `s,x,x', remove it if useless.
3177 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3178 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3179
3180 # expand $ac_aux_dir to an absolute path
3181 am_aux_dir=`cd $ac_aux_dir && pwd`
3182
3183 if test x"${MISSING+set}" != xset; then
3184   case $am_aux_dir in
3185   *\ * | *\     *)
3186     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3187   *)
3188     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3189   esac
3190 fi
3191 # Use eval to expand $SHELL
3192 if eval "$MISSING --run true"; then
3193   am_missing_run="$MISSING --run "
3194 else
3195   am_missing_run=
3196   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3197 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3198 fi
3199
3200 if test x"${install_sh}" != xset; then
3201   case $am_aux_dir in
3202   *\ * | *\     *)
3203     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3204   *)
3205     install_sh="\${SHELL} $am_aux_dir/install-sh"
3206   esac
3207 fi
3208
3209 # Installed binaries are usually stripped using `strip' when the user
3210 # run `make install-strip'.  However `strip' might not be the right
3211 # tool to use in cross-compilation environments, therefore Automake
3212 # will honor the `STRIP' environment variable to overrule this program.
3213 if test "$cross_compiling" != no; then
3214   if test -n "$ac_tool_prefix"; then
3215   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3216 set dummy ${ac_tool_prefix}strip; ac_word=$2
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218 $as_echo_n "checking for $ac_word... " >&6; }
3219 if test "${ac_cv_prog_STRIP+set}" = set; then :
3220   $as_echo_n "(cached) " >&6
3221 else
3222   if test -n "$STRIP"; then
3223   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3224 else
3225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3226 for as_dir in $PATH
3227 do
3228   IFS=$as_save_IFS
3229   test -z "$as_dir" && as_dir=.
3230     for ac_exec_ext in '' $ac_executable_extensions; do
3231   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3232     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3234     break 2
3235   fi
3236 done
3237   done
3238 IFS=$as_save_IFS
3239
3240 fi
3241 fi
3242 STRIP=$ac_cv_prog_STRIP
3243 if test -n "$STRIP"; then
3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3245 $as_echo "$STRIP" >&6; }
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 fi
3250
3251
3252 fi
3253 if test -z "$ac_cv_prog_STRIP"; then
3254   ac_ct_STRIP=$STRIP
3255   # Extract the first word of "strip", so it can be a program name with args.
3256 set dummy strip; ac_word=$2
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258 $as_echo_n "checking for $ac_word... " >&6; }
3259 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3260   $as_echo_n "(cached) " >&6
3261 else
3262   if test -n "$ac_ct_STRIP"; then
3263   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3264 else
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH
3267 do
3268   IFS=$as_save_IFS
3269   test -z "$as_dir" && as_dir=.
3270     for ac_exec_ext in '' $ac_executable_extensions; do
3271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3272     ac_cv_prog_ac_ct_STRIP="strip"
3273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3274     break 2
3275   fi
3276 done
3277   done
3278 IFS=$as_save_IFS
3279
3280 fi
3281 fi
3282 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3283 if test -n "$ac_ct_STRIP"; then
3284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3285 $as_echo "$ac_ct_STRIP" >&6; }
3286 else
3287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288 $as_echo "no" >&6; }
3289 fi
3290
3291   if test "x$ac_ct_STRIP" = x; then
3292     STRIP=":"
3293   else
3294     case $cross_compiling:$ac_tool_warned in
3295 yes:)
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3298 ac_tool_warned=yes ;;
3299 esac
3300     STRIP=$ac_ct_STRIP
3301   fi
3302 else
3303   STRIP="$ac_cv_prog_STRIP"
3304 fi
3305
3306 fi
3307 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3308
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3310 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3311 if test -z "$MKDIR_P"; then
3312   if test "${ac_cv_path_mkdir+set}" = set; then :
3313   $as_echo_n "(cached) " >&6
3314 else
3315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3317 do
3318   IFS=$as_save_IFS
3319   test -z "$as_dir" && as_dir=.
3320     for ac_prog in mkdir gmkdir; do
3321          for ac_exec_ext in '' $ac_executable_extensions; do
3322            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3323            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3324              'mkdir (GNU coreutils) '* | \
3325              'mkdir (coreutils) '* | \
3326              'mkdir (fileutils) '4.1*)
3327                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3328                break 3;;
3329            esac
3330          done
3331        done
3332   done
3333 IFS=$as_save_IFS
3334
3335 fi
3336
3337   if test "${ac_cv_path_mkdir+set}" = set; then
3338     MKDIR_P="$ac_cv_path_mkdir -p"
3339   else
3340     # As a last resort, use the slow shell script.  Don't cache a
3341     # value for MKDIR_P within a source directory, because that will
3342     # break other packages using the cache if that directory is
3343     # removed, or if the value is a relative name.
3344     test -d ./--version && rmdir ./--version
3345     MKDIR_P="$ac_install_sh -d"
3346   fi
3347 fi
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3349 $as_echo "$MKDIR_P" >&6; }
3350
3351 mkdir_p="$MKDIR_P"
3352 case $mkdir_p in
3353   [\\/$]* | ?:[\\/]*) ;;
3354   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3355 esac
3356
3357 for ac_prog in gawk mawk nawk awk
3358 do
3359   # Extract the first word of "$ac_prog", so it can be a program name with args.
3360 set dummy $ac_prog; ac_word=$2
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3362 $as_echo_n "checking for $ac_word... " >&6; }
3363 if test "${ac_cv_prog_AWK+set}" = set; then :
3364   $as_echo_n "(cached) " >&6
3365 else
3366   if test -n "$AWK"; then
3367   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3368 else
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3370 for as_dir in $PATH
3371 do
3372   IFS=$as_save_IFS
3373   test -z "$as_dir" && as_dir=.
3374     for ac_exec_ext in '' $ac_executable_extensions; do
3375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3376     ac_cv_prog_AWK="$ac_prog"
3377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3378     break 2
3379   fi
3380 done
3381   done
3382 IFS=$as_save_IFS
3383
3384 fi
3385 fi
3386 AWK=$ac_cv_prog_AWK
3387 if test -n "$AWK"; then
3388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3389 $as_echo "$AWK" >&6; }
3390 else
3391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3392 $as_echo "no" >&6; }
3393 fi
3394
3395
3396   test -n "$AWK" && break
3397 done
3398
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3400 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3401 set x ${MAKE-make}
3402 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3403 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3404   $as_echo_n "(cached) " >&6
3405 else
3406   cat >conftest.make <<\_ACEOF
3407 SHELL = /bin/sh
3408 all:
3409         @echo '@@@%%%=$(MAKE)=@@@%%%'
3410 _ACEOF
3411 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3412 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3413   *@@@%%%=?*=@@@%%%*)
3414     eval ac_cv_prog_make_${ac_make}_set=yes;;
3415   *)
3416     eval ac_cv_prog_make_${ac_make}_set=no;;
3417 esac
3418 rm -f conftest.make
3419 fi
3420 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422 $as_echo "yes" >&6; }
3423   SET_MAKE=
3424 else
3425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427   SET_MAKE="MAKE=${MAKE-make}"
3428 fi
3429
3430 rm -rf .tst 2>/dev/null
3431 mkdir .tst 2>/dev/null
3432 if test -d .tst; then
3433   am__leading_dot=.
3434 else
3435   am__leading_dot=_
3436 fi
3437 rmdir .tst 2>/dev/null
3438
3439 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3440   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3441   # is not polluted with repeated "-I."
3442   am__isrc=' -I$(srcdir)'
3443   # test to see if srcdir already configured
3444   if test -f $srcdir/config.status; then
3445     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3446   fi
3447 fi
3448
3449 # test whether we have cygpath
3450 if test -z "$CYGPATH_W"; then
3451   if (cygpath --version) >/dev/null 2>/dev/null; then
3452     CYGPATH_W='cygpath -w'
3453   else
3454     CYGPATH_W=echo
3455   fi
3456 fi
3457
3458
3459 # Define the identity of the package.
3460  PACKAGE='libstdc++'
3461  VERSION='version-unused'
3462
3463
3464 # Some tools Automake needs.
3465
3466 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3467
3468
3469 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3470
3471
3472 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3473
3474
3475 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3476
3477
3478 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3479
3480 # We need awk for the "check" target.  The system "awk" is bad on
3481 # some platforms.
3482 # Always define AMTAR for backward compatibility.
3483
3484 AMTAR=${AMTAR-"${am_missing_run}tar"}
3485
3486 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3487
3488
3489
3490
3491
3492
3493
3494
3495 # -fno-builtin must be present here so that a non-conflicting form of
3496 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3497
3498 save_CXXFLAGS="$CXXFLAGS"
3499 CXXFLAGS="$CXXFLAGS -fno-builtin"
3500 ac_ext=c
3501 ac_cpp='$CPP $CPPFLAGS'
3502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3505 if test -n "$ac_tool_prefix"; then
3506   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3507 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_CC+set}" = set; then :
3511   $as_echo_n "(cached) " >&6
3512 else
3513   if test -n "$CC"; then
3514   ac_cv_prog_CC="$CC" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521     for ac_exec_ext in '' $ac_executable_extensions; do
3522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525     break 2
3526   fi
3527 done
3528   done
3529 IFS=$as_save_IFS
3530
3531 fi
3532 fi
3533 CC=$ac_cv_prog_CC
3534 if test -n "$CC"; then
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3536 $as_echo "$CC" >&6; }
3537 else
3538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3540 fi
3541
3542
3543 fi
3544 if test -z "$ac_cv_prog_CC"; then
3545   ac_ct_CC=$CC
3546   # Extract the first word of "gcc", so it can be a program name with args.
3547 set dummy gcc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   if test -n "$ac_ct_CC"; then
3554   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3558 do
3559   IFS=$as_save_IFS
3560   test -z "$as_dir" && as_dir=.
3561     for ac_exec_ext in '' $ac_executable_extensions; do
3562   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563     ac_cv_prog_ac_ct_CC="gcc"
3564     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565     break 2
3566   fi
3567 done
3568   done
3569 IFS=$as_save_IFS
3570
3571 fi
3572 fi
3573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3574 if test -n "$ac_ct_CC"; then
3575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3576 $as_echo "$ac_ct_CC" >&6; }
3577 else
3578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 fi
3581
3582   if test "x$ac_ct_CC" = x; then
3583     CC=""
3584   else
3585     case $cross_compiling:$ac_tool_warned in
3586 yes:)
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3589 ac_tool_warned=yes ;;
3590 esac
3591     CC=$ac_ct_CC
3592   fi
3593 else
3594   CC="$ac_cv_prog_CC"
3595 fi
3596
3597 if test -z "$CC"; then
3598           if test -n "$ac_tool_prefix"; then
3599     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3600 set dummy ${ac_tool_prefix}cc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_CC+set}" = set; then :
3604   $as_echo_n "(cached) " >&6
3605 else
3606   if test -n "$CC"; then
3607   ac_cv_prog_CC="$CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3611 do
3612   IFS=$as_save_IFS
3613   test -z "$as_dir" && as_dir=.
3614     for ac_exec_ext in '' $ac_executable_extensions; do
3615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616     ac_cv_prog_CC="${ac_tool_prefix}cc"
3617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618     break 2
3619   fi
3620 done
3621   done
3622 IFS=$as_save_IFS
3623
3624 fi
3625 fi
3626 CC=$ac_cv_prog_CC
3627 if test -n "$CC"; then
3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3630 else
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3633 fi
3634
3635
3636   fi
3637 fi
3638 if test -z "$CC"; then
3639   # Extract the first word of "cc", so it can be a program name with args.
3640 set dummy cc; ac_word=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if test "${ac_cv_prog_CC+set}" = set; then :
3644   $as_echo_n "(cached) " >&6
3645 else
3646   if test -n "$CC"; then
3647   ac_cv_prog_CC="$CC" # Let the user override the test.
3648 else
3649   ac_prog_rejected=no
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 for as_dir in $PATH
3652 do
3653   IFS=$as_save_IFS
3654   test -z "$as_dir" && as_dir=.
3655     for ac_exec_ext in '' $ac_executable_extensions; do
3656   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3657     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3658        ac_prog_rejected=yes
3659        continue
3660      fi
3661     ac_cv_prog_CC="cc"
3662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3663     break 2
3664   fi
3665 done
3666   done
3667 IFS=$as_save_IFS
3668
3669 if test $ac_prog_rejected = yes; then
3670   # We found a bogon in the path, so make sure we never use it.
3671   set dummy $ac_cv_prog_CC
3672   shift
3673   if test $# != 0; then
3674     # We chose a different compiler from the bogus one.
3675     # However, it has the same basename, so the bogon will be chosen
3676     # first if we set CC to just the basename; use the full file name.
3677     shift
3678     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3679   fi
3680 fi
3681 fi
3682 fi
3683 CC=$ac_cv_prog_CC
3684 if test -n "$CC"; then
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3687 else
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3690 fi
3691
3692
3693 fi
3694 if test -z "$CC"; then
3695   if test -n "$ac_tool_prefix"; then
3696   for ac_prog in cl.exe
3697   do
3698     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_CC+set}" = set; then :
3703   $as_echo_n "(cached) " >&6
3704 else
3705   if test -n "$CC"; then
3706   ac_cv_prog_CC="$CC" # Let the user override the test.
3707 else
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711   IFS=$as_save_IFS
3712   test -z "$as_dir" && as_dir=.
3713     for ac_exec_ext in '' $ac_executable_extensions; do
3714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3716     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717     break 2
3718   fi
3719 done
3720   done
3721 IFS=$as_save_IFS
3722
3723 fi
3724 fi
3725 CC=$ac_cv_prog_CC
3726 if test -n "$CC"; then
3727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3729 else
3730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3732 fi
3733
3734
3735     test -n "$CC" && break
3736   done
3737 fi
3738 if test -z "$CC"; then
3739   ac_ct_CC=$CC
3740   for ac_prog in cl.exe
3741 do
3742   # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy $ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3747   $as_echo_n "(cached) " >&6
3748 else
3749   if test -n "$ac_ct_CC"; then
3750   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755   IFS=$as_save_IFS
3756   test -z "$as_dir" && as_dir=.
3757     for ac_exec_ext in '' $ac_executable_extensions; do
3758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759     ac_cv_prog_ac_ct_CC="$ac_prog"
3760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761     break 2
3762   fi
3763 done
3764   done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3770 if test -n "$ac_ct_CC"; then
3771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3772 $as_echo "$ac_ct_CC" >&6; }
3773 else
3774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779   test -n "$ac_ct_CC" && break
3780 done
3781
3782   if test "x$ac_ct_CC" = x; then
3783     CC=""
3784   else
3785     case $cross_compiling:$ac_tool_warned in
3786 yes:)
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3790 esac
3791     CC=$ac_ct_CC
3792   fi
3793 fi
3794
3795 fi
3796
3797
3798 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 as_fn_error "no acceptable C compiler found in \$PATH
3801 See \`config.log' for more details." "$LINENO" 5; }
3802
3803 # Provide some information about the compiler.
3804 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3805 set X $ac_compile
3806 ac_compiler=$2
3807 for ac_option in --version -v -V -qversion; do
3808   { { ac_try="$ac_compiler $ac_option >&5"
3809 case "(($ac_try" in
3810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811   *) ac_try_echo=$ac_try;;
3812 esac
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3816   ac_status=$?
3817   if test -s conftest.err; then
3818     sed '10a\
3819 ... rest of stderr output deleted ...
3820          10q' conftest.err >conftest.er1
3821     cat conftest.er1 >&5
3822     rm -f conftest.er1 conftest.err
3823   fi
3824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825   test $ac_status = 0; }
3826 done
3827
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h.  */
3830
3831 int
3832 main ()
3833 {
3834
3835   ;
3836   return 0;
3837 }
3838 _ACEOF
3839 # FIXME: Cleanup?
3840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3841   (eval $ac_link) 2>&5
3842   ac_status=$?
3843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844   test $ac_status = 0; }; then :
3845   gcc_no_link=no
3846 else
3847   gcc_no_link=yes
3848 fi
3849 if test x$gcc_no_link = xyes; then
3850   # Setting cross_compile will disable run tests; it will
3851   # also disable AC_CHECK_FILE but that's generally
3852   # correct if we can't link.
3853   cross_compiling=yes
3854   EXEEXT=
3855 else
3856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h.  */
3858
3859 int
3860 main ()
3861 {
3862
3863   ;
3864   return 0;
3865 }
3866 _ACEOF
3867 ac_clean_files_save=$ac_clean_files
3868 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3869 # Try to create an executable without -o first, disregard a.out.
3870 # It will help us diagnose broken compilers, and finding out an intuition
3871 # of exeext.
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3873 $as_echo_n "checking for C compiler default output file name... " >&6; }
3874 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3875
3876 # The possible output files:
3877 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3878
3879 ac_rmfiles=
3880 for ac_file in $ac_files
3881 do
3882   case $ac_file in
3883     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3885   esac
3886 done
3887 rm -f $ac_rmfiles
3888
3889 if { { ac_try="$ac_link_default"
3890 case "(($ac_try" in
3891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3892   *) ac_try_echo=$ac_try;;
3893 esac
3894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3895 $as_echo "$ac_try_echo"; } >&5
3896   (eval "$ac_link_default") 2>&5
3897   ac_status=$?
3898   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3899   test $ac_status = 0; }; then :
3900   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3901 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3902 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3903 # so that the user can short-circuit this test for compilers unknown to
3904 # Autoconf.
3905 for ac_file in $ac_files ''
3906 do
3907   test -f "$ac_file" || continue
3908   case $ac_file in
3909     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3910         ;;
3911     [ab].out )
3912         # We found the default executable, but exeext='' is most
3913         # certainly right.
3914         break;;
3915     *.* )
3916         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3917         then :; else
3918            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3919         fi
3920         # We set ac_cv_exeext here because the later test for it is not
3921         # safe: cross compilers may not add the suffix if given an `-o'
3922         # argument, so we may need to know it at that point already.
3923         # Even if this section looks crufty: it has the advantage of
3924         # actually working.
3925         break;;
3926     * )
3927         break;;
3928   esac
3929 done
3930 test "$ac_cv_exeext" = no && ac_cv_exeext=
3931
3932 else
3933   ac_file=''
3934 fi
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3936 $as_echo "$ac_file" >&6; }
3937 if test -z "$ac_file"; then :
3938   $as_echo "$as_me: failed program was:" >&5
3939 sed 's/^/| /' conftest.$ac_ext >&5
3940
3941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3943 { as_fn_set_status 77
3944 as_fn_error "C compiler cannot create executables
3945 See \`config.log' for more details." "$LINENO" 5; }; }
3946 fi
3947 ac_exeext=$ac_cv_exeext
3948
3949 # Check that the compiler produces executables we can run.  If not, either
3950 # the compiler is broken, or we cross compile.
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3952 $as_echo_n "checking whether the C compiler works... " >&6; }
3953 # If not cross compiling, check that we can run a simple program.
3954 if test "$cross_compiling" != yes; then
3955   if { ac_try='./$ac_file'
3956   { { case "(($ac_try" in
3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958   *) ac_try_echo=$ac_try;;
3959 esac
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962   (eval "$ac_try") 2>&5
3963   ac_status=$?
3964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965   test $ac_status = 0; }; }; then
3966     cross_compiling=no
3967   else
3968     if test "$cross_compiling" = maybe; then
3969         cross_compiling=yes
3970     else
3971         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 as_fn_error "cannot run C compiled programs.
3974 If you meant to cross compile, use \`--host'.
3975 See \`config.log' for more details." "$LINENO" 5; }
3976     fi
3977   fi
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3980 $as_echo "yes" >&6; }
3981
3982 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3983 ac_clean_files=$ac_clean_files_save
3984 # Check that the compiler produces executables we can run.  If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3987 $as_echo_n "checking whether we are cross compiling... " >&6; }
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3989 $as_echo "$cross_compiling" >&6; }
3990
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3992 $as_echo_n "checking for suffix of executables... " >&6; }
3993 if { { ac_try="$ac_link"
3994 case "(($ac_try" in
3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996   *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000   (eval "$ac_link") 2>&5
4001   ac_status=$?
4002   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003   test $ac_status = 0; }; then :
4004   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4005 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4006 # work properly (i.e., refer to `conftest.exe'), while it won't with
4007 # `rm'.
4008 for ac_file in conftest.exe conftest conftest.*; do
4009   test -f "$ac_file" || continue
4010   case $ac_file in
4011     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4013           break;;
4014     * ) break;;
4015   esac
4016 done
4017 else
4018   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error "cannot compute suffix of executables: cannot compile and link
4021 See \`config.log' for more details." "$LINENO" 5; }
4022 fi
4023 rm -f conftest$ac_cv_exeext
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4025 $as_echo "$ac_cv_exeext" >&6; }
4026
4027 rm -f conftest.$ac_ext
4028 EXEEXT=$ac_cv_exeext
4029 ac_exeext=$EXEEXT
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4032 $as_echo_n "checking for suffix of object files... " >&6; }
4033 if test "${ac_cv_objext+set}" = set; then :
4034   $as_echo_n "(cached) " >&6
4035 else
4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4037 /* end confdefs.h.  */
4038
4039 int
4040 main ()
4041 {
4042
4043   ;
4044   return 0;
4045 }
4046 _ACEOF
4047 rm -f conftest.o conftest.obj
4048 if { { ac_try="$ac_compile"
4049 case "(($ac_try" in
4050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4051   *) ac_try_echo=$ac_try;;
4052 esac
4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4054 $as_echo "$ac_try_echo"; } >&5
4055   (eval "$ac_compile") 2>&5
4056   ac_status=$?
4057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4058   test $ac_status = 0; }; then :
4059   for ac_file in conftest.o conftest.obj conftest.*; do
4060   test -f "$ac_file" || continue;
4061   case $ac_file in
4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4063     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4064        break;;
4065   esac
4066 done
4067 else
4068   $as_echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4070
4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error "cannot compute suffix of object files: cannot compile
4074 See \`config.log' for more details." "$LINENO" 5; }
4075 fi
4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4077 fi
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4079 $as_echo "$ac_cv_objext" >&6; }
4080 OBJEXT=$ac_cv_objext
4081 ac_objext=$OBJEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4084 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4085   $as_echo_n "(cached) " >&6
4086 else
4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h.  */
4089
4090 int
4091 main ()
4092 {
4093 #ifndef __GNUC__
4094        choke me
4095 #endif
4096
4097   ;
4098   return 0;
4099 }
4100 _ACEOF
4101 if ac_fn_c_try_compile "$LINENO"; then :
4102   ac_compiler_gnu=yes
4103 else
4104   ac_compiler_gnu=no
4105 fi
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4108
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4112 if test $ac_compiler_gnu = yes; then
4113   GCC=yes
4114 else
4115   GCC=
4116 fi
4117 ac_test_CFLAGS=${CFLAGS+set}
4118 ac_save_CFLAGS=$CFLAGS
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4121 if test "${ac_cv_prog_cc_g+set}" = set; then :
4122   $as_echo_n "(cached) " >&6
4123 else
4124   ac_save_c_werror_flag=$ac_c_werror_flag
4125    ac_c_werror_flag=yes
4126    ac_cv_prog_cc_g=no
4127    CFLAGS="-g"
4128    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130
4131 int
4132 main ()
4133 {
4134
4135   ;
4136   return 0;
4137 }
4138 _ACEOF
4139 if ac_fn_c_try_compile "$LINENO"; then :
4140   ac_cv_prog_cc_g=yes
4141 else
4142   CFLAGS=""
4143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4144 /* end confdefs.h.  */
4145
4146 int
4147 main ()
4148 {
4149
4150   ;
4151   return 0;
4152 }
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155
4156 else
4157   ac_c_werror_flag=$ac_save_c_werror_flag
4158          CFLAGS="-g"
4159          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4160 /* end confdefs.h.  */
4161
4162 int
4163 main ()
4164 {
4165
4166   ;
4167   return 0;
4168 }
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171   ac_cv_prog_cc_g=yes
4172 fi
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 fi
4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4178    ac_c_werror_flag=$ac_save_c_werror_flag
4179 fi
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
4182 if test "$ac_test_CFLAGS" = set; then
4183   CFLAGS=$ac_save_CFLAGS
4184 elif test $ac_cv_prog_cc_g = yes; then
4185   if test "$GCC" = yes; then
4186     CFLAGS="-g -O2"
4187   else
4188     CFLAGS="-g"
4189   fi
4190 else
4191   if test "$GCC" = yes; then
4192     CFLAGS="-O2"
4193   else
4194     CFLAGS=
4195   fi
4196 fi
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4199 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4200   $as_echo_n "(cached) " >&6
4201 else
4202   ac_cv_prog_cc_c89=no
4203 ac_save_CC=$CC
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h.  */
4206 #include <stdarg.h>
4207 #include <stdio.h>
4208 #include <sys/types.h>
4209 #include <sys/stat.h>
4210 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4211 struct buf { int x; };
4212 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4213 static char *e (p, i)
4214      char **p;
4215      int i;
4216 {
4217   return p[i];
4218 }
4219 static char *f (char * (*g) (char **, int), char **p, ...)
4220 {
4221   char *s;
4222   va_list v;
4223   va_start (v,p);
4224   s = g (p, va_arg (v,int));
4225   va_end (v);
4226   return s;
4227 }
4228
4229 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4230    function prototypes and stuff, but not '\xHH' hex character constants.
4231    These don't provoke an error unfortunately, instead are silently treated
4232    as 'x'.  The following induces an error, until -std is added to get
4233    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4234    array size at least.  It's necessary to write '\x00'==0 to get something
4235    that's true only with -std.  */
4236 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4237
4238 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4239    inside strings and character constants.  */
4240 #define FOO(x) 'x'
4241 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4242
4243 int test (int i, double x);
4244 struct s1 {int (*f) (int a);};
4245 struct s2 {int (*f) (double a);};
4246 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4247 int argc;
4248 char **argv;
4249 int
4250 main ()
4251 {
4252 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4253   ;
4254   return 0;
4255 }
4256 _ACEOF
4257 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4258         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4259 do
4260   CC="$ac_save_CC $ac_arg"
4261   if ac_fn_c_try_compile "$LINENO"; then :
4262   ac_cv_prog_cc_c89=$ac_arg
4263 fi
4264 rm -f core conftest.err conftest.$ac_objext
4265   test "x$ac_cv_prog_cc_c89" != "xno" && break
4266 done
4267 rm -f conftest.$ac_ext
4268 CC=$ac_save_CC
4269
4270 fi
4271 # AC_CACHE_VAL
4272 case "x$ac_cv_prog_cc_c89" in
4273   x)
4274     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4275 $as_echo "none needed" >&6; } ;;
4276   xno)
4277     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4278 $as_echo "unsupported" >&6; } ;;
4279   *)
4280     CC="$CC $ac_cv_prog_cc_c89"
4281     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4282 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4283 esac
4284 if test "x$ac_cv_prog_cc_c89" != xno; then :
4285
4286 fi
4287
4288 ac_ext=c
4289 ac_cpp='$CPP $CPPFLAGS'
4290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4293
4294 ac_ext=cpp
4295 ac_cpp='$CXXCPP $CPPFLAGS'
4296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4299 if test -z "$CXX"; then
4300   if test -n "$CCC"; then
4301     CXX=$CCC
4302   else
4303     if test -n "$ac_tool_prefix"; then
4304   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4305   do
4306     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if test "${ac_cv_prog_CXX+set}" = set; then :
4311   $as_echo_n "(cached) " >&6
4312 else
4313   if test -n "$CXX"; then
4314   ac_cv_prog_CXX="$CXX" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319   IFS=$as_save_IFS
4320   test -z "$as_dir" && as_dir=.
4321     for ac_exec_ext in '' $ac_executable_extensions; do
4322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325     break 2
4326   fi
4327 done
4328   done
4329 IFS=$as_save_IFS
4330
4331 fi
4332 fi
4333 CXX=$ac_cv_prog_CXX
4334 if test -n "$CXX"; then
4335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4336 $as_echo "$CXX" >&6; }
4337 else
4338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4340 fi
4341
4342
4343     test -n "$CXX" && break
4344   done
4345 fi
4346 if test -z "$CXX"; then
4347   ac_ct_CXX=$CXX
4348   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 do
4350   # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy $ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4355   $as_echo_n "(cached) " >&6
4356 else
4357   if test -n "$ac_ct_CXX"; then
4358   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363   IFS=$as_save_IFS
4364   test -z "$as_dir" && as_dir=.
4365     for ac_exec_ext in '' $ac_executable_extensions; do
4366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367     ac_cv_prog_ac_ct_CXX="$ac_prog"
4368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369     break 2
4370   fi
4371 done
4372   done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4378 if test -n "$ac_ct_CXX"; then
4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4380 $as_echo "$ac_ct_CXX" >&6; }
4381 else
4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387   test -n "$ac_ct_CXX" && break
4388 done
4389
4390   if test "x$ac_ct_CXX" = x; then
4391     CXX="g++"
4392   else
4393     case $cross_compiling:$ac_tool_warned in
4394 yes:)
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned=yes ;;
4398 esac
4399     CXX=$ac_ct_CXX
4400   fi
4401 fi
4402
4403   fi
4404 fi
4405 # Provide some information about the compiler.
4406 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4407 set X $ac_compile
4408 ac_compiler=$2
4409 for ac_option in --version -v -V -qversion; do
4410   { { ac_try="$ac_compiler $ac_option >&5"
4411 case "(($ac_try" in
4412   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413   *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4418   ac_status=$?
4419   if test -s conftest.err; then
4420     sed '10a\
4421 ... rest of stderr output deleted ...
4422          10q' conftest.err >conftest.er1
4423     cat conftest.er1 >&5
4424     rm -f conftest.er1 conftest.err
4425   fi
4426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427   test $ac_status = 0; }
4428 done
4429
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4431 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4432 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4433   $as_echo_n "(cached) " >&6
4434 else
4435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h.  */
4437
4438 int
4439 main ()
4440 {
4441 #ifndef __GNUC__
4442        choke me
4443 #endif
4444
4445   ;
4446   return 0;
4447 }
4448 _ACEOF
4449 if ac_fn_cxx_try_compile "$LINENO"; then :
4450   ac_compiler_gnu=yes
4451 else
4452   ac_compiler_gnu=no
4453 fi
4454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4455 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4456
4457 fi
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4459 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4460 if test $ac_compiler_gnu = yes; then
4461   GXX=yes
4462 else
4463   GXX=
4464 fi
4465 ac_test_CXXFLAGS=${CXXFLAGS+set}
4466 ac_save_CXXFLAGS=$CXXFLAGS
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4468 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4469 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4470   $as_echo_n "(cached) " >&6
4471 else
4472   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4473    ac_cxx_werror_flag=yes
4474    ac_cv_prog_cxx_g=no
4475    CXXFLAGS="-g"
4476    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4477 /* end confdefs.h.  */
4478
4479 int
4480 main ()
4481 {
4482
4483   ;
4484   return 0;
4485 }
4486 _ACEOF
4487 if ac_fn_cxx_try_compile "$LINENO"; then :
4488   ac_cv_prog_cxx_g=yes
4489 else
4490   CXXFLAGS=""
4491       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h.  */
4493
4494 int
4495 main ()
4496 {
4497
4498   ;
4499   return 0;
4500 }
4501 _ACEOF
4502 if ac_fn_cxx_try_compile "$LINENO"; then :
4503
4504 else
4505   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4506          CXXFLAGS="-g"
4507          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h.  */
4509
4510 int
4511 main ()
4512 {
4513
4514   ;
4515   return 0;
4516 }
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519   ac_cv_prog_cxx_g=yes
4520 fi
4521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4522 fi
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 fi
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4527 fi
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4529 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4530 if test "$ac_test_CXXFLAGS" = set; then
4531   CXXFLAGS=$ac_save_CXXFLAGS
4532 elif test $ac_cv_prog_cxx_g = yes; then
4533   if test "$GXX" = yes; then
4534     CXXFLAGS="-g -O2"
4535   else
4536     CXXFLAGS="-g"
4537   fi
4538 else
4539   if test "$GXX" = yes; then
4540     CXXFLAGS="-O2"
4541   else
4542     CXXFLAGS=
4543   fi
4544 fi
4545 ac_ext=c
4546 ac_cpp='$CPP $CPPFLAGS'
4547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4550
4551 CXXFLAGS="$save_CXXFLAGS"
4552
4553 # Runs configure.host, and assorted other critical bits.  Sets
4554 # up critical shell variables.
4555
4556 ac_ext=c
4557 ac_cpp='$CPP $CPPFLAGS'
4558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4562 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4563 # On Suns, sometimes $CPP names a directory.
4564 if test -n "$CPP" && test -d "$CPP"; then
4565   CPP=
4566 fi
4567 if test -z "$CPP"; then
4568   if test "${ac_cv_prog_CPP+set}" = set; then :
4569   $as_echo_n "(cached) " >&6
4570 else
4571       # Double quotes because CPP needs to be expanded
4572     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4573     do
4574       ac_preproc_ok=false
4575 for ac_c_preproc_warn_flag in '' yes
4576 do
4577   # Use a header file that comes with gcc, so configuring glibc
4578   # with a fresh cross-compiler works.
4579   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4580   # <limits.h> exists even on freestanding compilers.
4581   # On the NeXT, cc -E runs the code through the compiler's parser,
4582   # not just through cpp. "Syntax error" is here to catch this case.
4583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h.  */
4585 #ifdef __STDC__
4586 # include <limits.h>
4587 #else
4588 # include <assert.h>
4589 #endif
4590                      Syntax error
4591 _ACEOF
4592 if ac_fn_c_try_cpp "$LINENO"; then :
4593
4594 else
4595   # Broken: fails on valid input.
4596 continue
4597 fi
4598 rm -f conftest.err conftest.$ac_ext
4599
4600   # OK, works on sane cases.  Now check whether nonexistent headers
4601   # can be detected and how.
4602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h.  */
4604 #include <ac_nonexistent.h>
4605 _ACEOF
4606 if ac_fn_c_try_cpp "$LINENO"; then :
4607   # Broken: success on invalid input.
4608 continue
4609 else
4610   # Passes both tests.
4611 ac_preproc_ok=:
4612 break
4613 fi
4614 rm -f conftest.err conftest.$ac_ext
4615
4616 done
4617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4618 rm -f conftest.err conftest.$ac_ext
4619 if $ac_preproc_ok; then :
4620   break
4621 fi
4622
4623     done
4624     ac_cv_prog_CPP=$CPP
4625
4626 fi
4627   CPP=$ac_cv_prog_CPP
4628 else
4629   ac_cv_prog_CPP=$CPP
4630 fi
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4632 $as_echo "$CPP" >&6; }
4633 ac_preproc_ok=false
4634 for ac_c_preproc_warn_flag in '' yes
4635 do
4636   # Use a header file that comes with gcc, so configuring glibc
4637   # with a fresh cross-compiler works.
4638   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4639   # <limits.h> exists even on freestanding compilers.
4640   # On the NeXT, cc -E runs the code through the compiler's parser,
4641   # not just through cpp. "Syntax error" is here to catch this case.
4642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h.  */
4644 #ifdef __STDC__
4645 # include <limits.h>
4646 #else
4647 # include <assert.h>
4648 #endif
4649                      Syntax error
4650 _ACEOF
4651 if ac_fn_c_try_cpp "$LINENO"; then :
4652
4653 else
4654   # Broken: fails on valid input.
4655 continue
4656 fi
4657 rm -f conftest.err conftest.$ac_ext
4658
4659   # OK, works on sane cases.  Now check whether nonexistent headers
4660   # can be detected and how.
4661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662 /* end confdefs.h.  */
4663 #include <ac_nonexistent.h>
4664 _ACEOF
4665 if ac_fn_c_try_cpp "$LINENO"; then :
4666   # Broken: success on invalid input.
4667 continue
4668 else
4669   # Passes both tests.
4670 ac_preproc_ok=:
4671 break
4672 fi
4673 rm -f conftest.err conftest.$ac_ext
4674
4675 done
4676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4677 rm -f conftest.err conftest.$ac_ext
4678 if $ac_preproc_ok; then :
4679
4680 else
4681   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4683 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4684 See \`config.log' for more details." "$LINENO" 5; }
4685 fi
4686
4687 ac_ext=c
4688 ac_cpp='$CPP $CPPFLAGS'
4689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4692
4693
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4695 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4696 if test "${ac_cv_path_GREP+set}" = set; then :
4697   $as_echo_n "(cached) " >&6
4698 else
4699   if test -z "$GREP"; then
4700   ac_path_GREP_found=false
4701   # Loop through the user's path and test for each of PROGNAME-LIST
4702   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4703 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4704 do
4705   IFS=$as_save_IFS
4706   test -z "$as_dir" && as_dir=.
4707     for ac_prog in grep ggrep; do
4708     for ac_exec_ext in '' $ac_executable_extensions; do
4709       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4710       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4711 # Check for GNU ac_path_GREP and select it if it is found.
4712   # Check for GNU $ac_path_GREP
4713 case `"$ac_path_GREP" --version 2>&1` in
4714 *GNU*)
4715   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4716 *)
4717   ac_count=0
4718   $as_echo_n 0123456789 >"conftest.in"
4719   while :
4720   do
4721     cat "conftest.in" "conftest.in" >"conftest.tmp"
4722     mv "conftest.tmp" "conftest.in"
4723     cp "conftest.in" "conftest.nl"
4724     $as_echo 'GREP' >> "conftest.nl"
4725     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4726     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4727     as_fn_arith $ac_count + 1 && ac_count=$as_val
4728     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4729       # Best one so far, save it but keep looking for a better one
4730       ac_cv_path_GREP="$ac_path_GREP"
4731       ac_path_GREP_max=$ac_count
4732     fi
4733     # 10*(2^10) chars as input seems more than enough
4734     test $ac_count -gt 10 && break
4735   done
4736   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4737 esac
4738
4739       $ac_path_GREP_found && break 3
4740     done
4741   done
4742   done
4743 IFS=$as_save_IFS
4744   if test -z "$ac_cv_path_GREP"; then
4745     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4746   fi
4747 else
4748   ac_cv_path_GREP=$GREP
4749 fi
4750
4751 fi
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4753 $as_echo "$ac_cv_path_GREP" >&6; }
4754  GREP="$ac_cv_path_GREP"
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4758 $as_echo_n "checking for egrep... " >&6; }
4759 if test "${ac_cv_path_EGREP+set}" = set; then :
4760   $as_echo_n "(cached) " >&6
4761 else
4762   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4763    then ac_cv_path_EGREP="$GREP -E"
4764    else
4765      if test -z "$EGREP"; then
4766   ac_path_EGREP_found=false
4767   # Loop through the user's path and test for each of PROGNAME-LIST
4768   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4769 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4770 do
4771   IFS=$as_save_IFS
4772   test -z "$as_dir" && as_dir=.
4773     for ac_prog in egrep; do
4774     for ac_exec_ext in '' $ac_executable_extensions; do
4775       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4776       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4777 # Check for GNU ac_path_EGREP and select it if it is found.
4778   # Check for GNU $ac_path_EGREP
4779 case `"$ac_path_EGREP" --version 2>&1` in
4780 *GNU*)
4781   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4782 *)
4783   ac_count=0
4784   $as_echo_n 0123456789 >"conftest.in"
4785   while :
4786   do
4787     cat "conftest.in" "conftest.in" >"conftest.tmp"
4788     mv "conftest.tmp" "conftest.in"
4789     cp "conftest.in" "conftest.nl"
4790     $as_echo 'EGREP' >> "conftest.nl"
4791     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4792     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4793     as_fn_arith $ac_count + 1 && ac_count=$as_val
4794     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4795       # Best one so far, save it but keep looking for a better one
4796       ac_cv_path_EGREP="$ac_path_EGREP"
4797       ac_path_EGREP_max=$ac_count
4798     fi
4799     # 10*(2^10) chars as input seems more than enough
4800     test $ac_count -gt 10 && break
4801   done
4802   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4803 esac
4804
4805       $ac_path_EGREP_found && break 3
4806     done
4807   done
4808   done
4809 IFS=$as_save_IFS
4810   if test -z "$ac_cv_path_EGREP"; then
4811     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4812   fi
4813 else
4814   ac_cv_path_EGREP=$EGREP
4815 fi
4816
4817    fi
4818 fi
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4820 $as_echo "$ac_cv_path_EGREP" >&6; }
4821  EGREP="$ac_cv_path_EGREP"
4822
4823
4824
4825   # Keep these sync'd with the list in Makefile.am.  The first provides an
4826   # expandable list at autoconf time; the second provides an expandable list
4827   # (i.e., shell variable) at configure time.
4828
4829   SUBDIRS='include libsupc++ python src doc po testsuite'
4830
4831   # These need to be absolute paths, yet at the same time need to
4832   # canonicalize only relative paths, because then amd will not unmount
4833   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4834   glibcxx_builddir=`${PWDCMD-pwd}`
4835   case $srcdir in
4836     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4837     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4838   esac
4839   toplevel_srcdir=${glibcxx_srcdir}/..
4840
4841
4842
4843
4844   # We use these options to decide which functions to include.  They are
4845   # set from the top level.
4846
4847 # Check whether --with-target-subdir was given.
4848 if test "${with_target_subdir+set}" = set; then :
4849   withval=$with_target_subdir;
4850 fi
4851
4852
4853
4854 # Check whether --with-cross-host was given.
4855 if test "${with_cross_host+set}" = set; then :
4856   withval=$with_cross_host;
4857 fi
4858
4859
4860
4861 # Check whether --with-newlib was given.
4862 if test "${with_newlib+set}" = set; then :
4863   withval=$with_newlib;
4864 fi
4865
4866
4867   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4868   # available).  Uncomment the next line to force a particular method.
4869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4870 $as_echo_n "checking whether ln -s works... " >&6; }
4871 LN_S=$as_ln_s
4872 if test "$LN_S" = "ln -s"; then
4873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 else
4876   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4877 $as_echo "no, using $LN_S" >&6; }
4878 fi
4879
4880   #LN_S='cp -p'
4881
4882   if test -n "$ac_tool_prefix"; then
4883   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4884 set dummy ${ac_tool_prefix}as; ac_word=$2
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4886 $as_echo_n "checking for $ac_word... " >&6; }
4887 if test "${ac_cv_prog_AS+set}" = set; then :
4888   $as_echo_n "(cached) " >&6
4889 else
4890   if test -n "$AS"; then
4891   ac_cv_prog_AS="$AS" # Let the user override the test.
4892 else
4893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894 for as_dir in $PATH
4895 do
4896   IFS=$as_save_IFS
4897   test -z "$as_dir" && as_dir=.
4898     for ac_exec_ext in '' $ac_executable_extensions; do
4899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4900     ac_cv_prog_AS="${ac_tool_prefix}as"
4901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902     break 2
4903   fi
4904 done
4905   done
4906 IFS=$as_save_IFS
4907
4908 fi
4909 fi
4910 AS=$ac_cv_prog_AS
4911 if test -n "$AS"; then
4912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4913 $as_echo "$AS" >&6; }
4914 else
4915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 $as_echo "no" >&6; }
4917 fi
4918
4919
4920 fi
4921 if test -z "$ac_cv_prog_AS"; then
4922   ac_ct_AS=$AS
4923   # Extract the first word of "as", so it can be a program name with args.
4924 set dummy as; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4928   $as_echo_n "(cached) " >&6
4929 else
4930   if test -n "$ac_ct_AS"; then
4931   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4935 do
4936   IFS=$as_save_IFS
4937   test -z "$as_dir" && as_dir=.
4938     for ac_exec_ext in '' $ac_executable_extensions; do
4939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4940     ac_cv_prog_ac_ct_AS="as"
4941     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942     break 2
4943   fi
4944 done
4945   done
4946 IFS=$as_save_IFS
4947
4948 fi
4949 fi
4950 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4953 $as_echo "$ac_ct_AS" >&6; }
4954 else
4955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 fi
4958
4959   if test "x$ac_ct_AS" = x; then
4960     AS=""
4961   else
4962     case $cross_compiling:$ac_tool_warned in
4963 yes:)
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4966 ac_tool_warned=yes ;;
4967 esac
4968     AS=$ac_ct_AS
4969   fi
4970 else
4971   AS="$ac_cv_prog_AS"
4972 fi
4973
4974   if test -n "$ac_tool_prefix"; then
4975   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4976 set dummy ${ac_tool_prefix}ar; ac_word=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if test "${ac_cv_prog_AR+set}" = set; then :
4980   $as_echo_n "(cached) " >&6
4981 else
4982   if test -n "$AR"; then
4983   ac_cv_prog_AR="$AR" # Let the user override the test.
4984 else
4985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 for as_dir in $PATH
4987 do
4988   IFS=$as_save_IFS
4989   test -z "$as_dir" && as_dir=.
4990     for ac_exec_ext in '' $ac_executable_extensions; do
4991   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4992     ac_cv_prog_AR="${ac_tool_prefix}ar"
4993     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994     break 2
4995   fi
4996 done
4997   done
4998 IFS=$as_save_IFS
4999
5000 fi
5001 fi
5002 AR=$ac_cv_prog_AR
5003 if test -n "$AR"; then
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5005 $as_echo "$AR" >&6; }
5006 else
5007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 fi
5010
5011
5012 fi
5013 if test -z "$ac_cv_prog_AR"; then
5014   ac_ct_AR=$AR
5015   # Extract the first word of "ar", so it can be a program name with args.
5016 set dummy ar; ac_word=$2
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5018 $as_echo_n "checking for $ac_word... " >&6; }
5019 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5020   $as_echo_n "(cached) " >&6
5021 else
5022   if test -n "$ac_ct_AR"; then
5023   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5024 else
5025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5026 for as_dir in $PATH
5027 do
5028   IFS=$as_save_IFS
5029   test -z "$as_dir" && as_dir=.
5030     for ac_exec_ext in '' $ac_executable_extensions; do
5031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5032     ac_cv_prog_ac_ct_AR="ar"
5033     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034     break 2
5035   fi
5036 done
5037   done
5038 IFS=$as_save_IFS
5039
5040 fi
5041 fi
5042 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5043 if test -n "$ac_ct_AR"; then
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5045 $as_echo "$ac_ct_AR" >&6; }
5046 else
5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5048 $as_echo "no" >&6; }
5049 fi
5050
5051   if test "x$ac_ct_AR" = x; then
5052     AR=""
5053   else
5054     case $cross_compiling:$ac_tool_warned in
5055 yes:)
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5057 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5058 ac_tool_warned=yes ;;
5059 esac
5060     AR=$ac_ct_AR
5061   fi
5062 else
5063   AR="$ac_cv_prog_AR"
5064 fi
5065
5066   if test -n "$ac_tool_prefix"; then
5067   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5072   $as_echo_n "(cached) " >&6
5073 else
5074   if test -n "$RANLIB"; then
5075   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5079 do
5080   IFS=$as_save_IFS
5081   test -z "$as_dir" && as_dir=.
5082     for ac_exec_ext in '' $ac_executable_extensions; do
5083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5084     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5085     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086     break 2
5087   fi
5088 done
5089   done
5090 IFS=$as_save_IFS
5091
5092 fi
5093 fi
5094 RANLIB=$ac_cv_prog_RANLIB
5095 if test -n "$RANLIB"; then
5096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5097 $as_echo "$RANLIB" >&6; }
5098 else
5099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5101 fi
5102
5103
5104 fi
5105 if test -z "$ac_cv_prog_RANLIB"; then
5106   ac_ct_RANLIB=$RANLIB
5107   # Extract the first word of "ranlib", so it can be a program name with args.
5108 set dummy ranlib; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5112   $as_echo_n "(cached) " >&6
5113 else
5114   if test -n "$ac_ct_RANLIB"; then
5115   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5119 do
5120   IFS=$as_save_IFS
5121   test -z "$as_dir" && as_dir=.
5122     for ac_exec_ext in '' $ac_executable_extensions; do
5123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5124     ac_cv_prog_ac_ct_RANLIB="ranlib"
5125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126     break 2
5127   fi
5128 done
5129   done
5130 IFS=$as_save_IFS
5131
5132 fi
5133 fi
5134 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5135 if test -n "$ac_ct_RANLIB"; then
5136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5137 $as_echo "$ac_ct_RANLIB" >&6; }
5138 else
5139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5141 fi
5142
5143   if test "x$ac_ct_RANLIB" = x; then
5144     RANLIB="ranlib-not-found-in-path-error"
5145   else
5146     case $cross_compiling:$ac_tool_warned in
5147 yes:)
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned=yes ;;
5151 esac
5152     RANLIB=$ac_ct_RANLIB
5153   fi
5154 else
5155   RANLIB="$ac_cv_prog_RANLIB"
5156 fi
5157
5158
5159
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5161 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5162     # Check whether --enable-maintainer-mode was given.
5163 if test "${enable_maintainer_mode+set}" = set; then :
5164   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5165 else
5166   USE_MAINTAINER_MODE=no
5167 fi
5168
5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5170 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5171    if test $USE_MAINTAINER_MODE = yes; then
5172   MAINTAINER_MODE_TRUE=
5173   MAINTAINER_MODE_FALSE='#'
5174 else
5175   MAINTAINER_MODE_TRUE='#'
5176   MAINTAINER_MODE_FALSE=
5177 fi
5178
5179   MAINT=$MAINTAINER_MODE_TRUE
5180
5181
5182
5183   # Set up safe default values for all subsequent AM_CONDITIONAL tests
5184   # which are themselves conditionally expanded.
5185   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5186   ## other macros from doing the same.  This should be automated.)  -pme
5187
5188   # Check for uClibc since Linux platforms use different configuration
5189   # directories depending on the C library in use.
5190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5191 /* end confdefs.h.  */
5192
5193   #include <stdio.h>
5194   #if __UCLIBC__
5195     _using_uclibc
5196   #endif
5197
5198 _ACEOF
5199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5200   $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5201   uclibc=yes
5202 else
5203   uclibc=no
5204 fi
5205 rm -f conftest*
5206
5207
5208   # Find platform-specific directories containing configuration info.
5209   # Also possibly modify flags used elsewhere, as needed by the platform.
5210
5211   . $glibcxx_srcdir/configure.host
5212   { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5213 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5215 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5216
5217
5218
5219 if test "x${with_newlib}" != "xyes"; then
5220   enable_dlopen=yes
5221
5222
5223
5224 fi
5225 case `pwd` in
5226   *\ * | *\     *)
5227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5228 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5229 esac
5230
5231
5232
5233 macro_version='2.2.7a'
5234 macro_revision='1.3134'
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248 ltmain="$ac_aux_dir/ltmain.sh"
5249
5250 # Backslashify metacharacters that are still active within
5251 # double-quoted strings.
5252 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5253
5254 # Same as above, but do not quote variable references.
5255 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5256
5257 # Sed substitution to delay expansion of an escaped shell variable in a
5258 # double_quote_subst'ed string.
5259 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5260
5261 # Sed substitution to delay expansion of an escaped single quote.
5262 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5263
5264 # Sed substitution to avoid accidental globbing in evaled expressions
5265 no_glob_subst='s/\*/\\\*/g'
5266
5267 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5268 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5270
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5272 $as_echo_n "checking how to print strings... " >&6; }
5273 # Test print first, because it will be a builtin if present.
5274 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5275    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5276   ECHO='print -r --'
5277 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5278   ECHO='printf %s\n'
5279 else
5280   # Use this function as a fallback that always works.
5281   func_fallback_echo ()
5282   {
5283     eval 'cat <<_LTECHO_EOF
5284 $1
5285 _LTECHO_EOF'
5286   }
5287   ECHO='func_fallback_echo'
5288 fi
5289
5290 # func_echo_all arg...
5291 # Invoke $ECHO with all args, space-separated.
5292 func_echo_all ()
5293 {
5294     $ECHO ""
5295 }
5296
5297 case "$ECHO" in
5298   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5299 $as_echo "printf" >&6; } ;;
5300   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5301 $as_echo "print -r" >&6; } ;;
5302   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5303 $as_echo "cat" >&6; } ;;
5304 esac
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5320 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5321 if test "${ac_cv_path_SED+set}" = set; then :
5322   $as_echo_n "(cached) " >&6
5323 else
5324             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5325      for ac_i in 1 2 3 4 5 6 7; do
5326        ac_script="$ac_script$as_nl$ac_script"
5327      done
5328      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5329      { ac_script=; unset ac_script;}
5330      if test -z "$SED"; then
5331   ac_path_SED_found=false
5332   # Loop through the user's path and test for each of PROGNAME-LIST
5333   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5334 for as_dir in $PATH
5335 do
5336   IFS=$as_save_IFS
5337   test -z "$as_dir" && as_dir=.
5338     for ac_prog in sed gsed; do
5339     for ac_exec_ext in '' $ac_executable_extensions; do
5340       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5341       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5342 # Check for GNU ac_path_SED and select it if it is found.
5343   # Check for GNU $ac_path_SED
5344 case `"$ac_path_SED" --version 2>&1` in
5345 *GNU*)
5346   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5347 *)
5348   ac_count=0
5349   $as_echo_n 0123456789 >"conftest.in"
5350   while :
5351   do
5352     cat "conftest.in" "conftest.in" >"conftest.tmp"
5353     mv "conftest.tmp" "conftest.in"
5354     cp "conftest.in" "conftest.nl"
5355     $as_echo '' >> "conftest.nl"
5356     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5357     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5358     as_fn_arith $ac_count + 1 && ac_count=$as_val
5359     if test $ac_count -gt ${ac_path_SED_max-0}; then
5360       # Best one so far, save it but keep looking for a better one
5361       ac_cv_path_SED="$ac_path_SED"
5362       ac_path_SED_max=$ac_count
5363     fi
5364     # 10*(2^10) chars as input seems more than enough
5365     test $ac_count -gt 10 && break
5366   done
5367   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5368 esac
5369
5370       $ac_path_SED_found && break 3
5371     done
5372   done
5373   done
5374 IFS=$as_save_IFS
5375   if test -z "$ac_cv_path_SED"; then
5376     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5377   fi
5378 else
5379   ac_cv_path_SED=$SED
5380 fi
5381
5382 fi
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5384 $as_echo "$ac_cv_path_SED" >&6; }
5385  SED="$ac_cv_path_SED"
5386   rm -f conftest.sed
5387
5388 test -z "$SED" && SED=sed
5389 Xsed="$SED -e 1s/^X//"
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5402 $as_echo_n "checking for fgrep... " >&6; }
5403 if test "${ac_cv_path_FGREP+set}" = set; then :
5404   $as_echo_n "(cached) " >&6
5405 else
5406   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5407    then ac_cv_path_FGREP="$GREP -F"
5408    else
5409      if test -z "$FGREP"; then
5410   ac_path_FGREP_found=false
5411   # Loop through the user's path and test for each of PROGNAME-LIST
5412   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5414 do
5415   IFS=$as_save_IFS
5416   test -z "$as_dir" && as_dir=.
5417     for ac_prog in fgrep; do
5418     for ac_exec_ext in '' $ac_executable_extensions; do
5419       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5420       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5421 # Check for GNU ac_path_FGREP and select it if it is found.
5422   # Check for GNU $ac_path_FGREP
5423 case `"$ac_path_FGREP" --version 2>&1` in
5424 *GNU*)
5425   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5426 *)
5427   ac_count=0
5428   $as_echo_n 0123456789 >"conftest.in"
5429   while :
5430   do
5431     cat "conftest.in" "conftest.in" >"conftest.tmp"
5432     mv "conftest.tmp" "conftest.in"
5433     cp "conftest.in" "conftest.nl"
5434     $as_echo 'FGREP' >> "conftest.nl"
5435     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437     as_fn_arith $ac_count + 1 && ac_count=$as_val
5438     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5439       # Best one so far, save it but keep looking for a better one
5440       ac_cv_path_FGREP="$ac_path_FGREP"
5441       ac_path_FGREP_max=$ac_count
5442     fi
5443     # 10*(2^10) chars as input seems more than enough
5444     test $ac_count -gt 10 && break
5445   done
5446   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449       $ac_path_FGREP_found && break 3
5450     done
5451   done
5452   done
5453 IFS=$as_save_IFS
5454   if test -z "$ac_cv_path_FGREP"; then
5455     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5456   fi
5457 else
5458   ac_cv_path_FGREP=$FGREP
5459 fi
5460
5461    fi
5462 fi
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5464 $as_echo "$ac_cv_path_FGREP" >&6; }
5465  FGREP="$ac_cv_path_FGREP"
5466
5467
5468 test -z "$GREP" && GREP=grep
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488 # Check whether --with-gnu-ld was given.
5489 if test "${with_gnu_ld+set}" = set; then :
5490   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5491 else
5492   with_gnu_ld=no
5493 fi
5494
5495 ac_prog=ld
5496 if test "$GCC" = yes; then
5497   # Check if gcc -print-prog-name=ld gives a path.
5498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5499 $as_echo_n "checking for ld used by $CC... " >&6; }
5500   case $host in
5501   *-*-mingw*)
5502     # gcc leaves a trailing carriage return which upsets mingw
5503     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5504   *)
5505     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5506   esac
5507   case $ac_prog in
5508     # Accept absolute paths.
5509     [\\/]* | ?:[\\/]*)
5510       re_direlt='/[^/][^/]*/\.\./'
5511       # Canonicalize the pathname of ld
5512       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5513       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5514         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5515       done
5516       test -z "$LD" && LD="$ac_prog"
5517       ;;
5518   "")
5519     # If it fails, then pretend we aren't using GCC.
5520     ac_prog=ld
5521     ;;
5522   *)
5523     # If it is relative, then search for the first ld in PATH.
5524     with_gnu_ld=unknown
5525     ;;
5526   esac
5527 elif test "$with_gnu_ld" = yes; then
5528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5529 $as_echo_n "checking for GNU ld... " >&6; }
5530 else
5531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5532 $as_echo_n "checking for non-GNU ld... " >&6; }
5533 fi
5534 if test "${lt_cv_path_LD+set}" = set; then :
5535   $as_echo_n "(cached) " >&6
5536 else
5537   if test -z "$LD"; then
5538   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5539   for ac_dir in $PATH; do
5540     IFS="$lt_save_ifs"
5541     test -z "$ac_dir" && ac_dir=.
5542     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5543       lt_cv_path_LD="$ac_dir/$ac_prog"
5544       # Check to see if the program is GNU ld.  I'd rather use --version,
5545       # but apparently some variants of GNU ld only accept -v.
5546       # Break only if it was the GNU/non-GNU ld that we prefer.
5547       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5548       *GNU* | *'with BFD'*)
5549         test "$with_gnu_ld" != no && break
5550         ;;
5551       *)
5552         test "$with_gnu_ld" != yes && break
5553         ;;
5554       esac
5555     fi
5556   done
5557   IFS="$lt_save_ifs"
5558 else
5559   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5560 fi
5561 fi
5562
5563 LD="$lt_cv_path_LD"
5564 if test -n "$LD"; then
5565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5566 $as_echo "$LD" >&6; }
5567 else
5568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569 $as_echo "no" >&6; }
5570 fi
5571 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5573 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5574 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5575   $as_echo_n "(cached) " >&6
5576 else
5577   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5578 case `$LD -v 2>&1 </dev/null` in
5579 *GNU* | *'with BFD'*)
5580   lt_cv_prog_gnu_ld=yes
5581   ;;
5582 *)
5583   lt_cv_prog_gnu_ld=no
5584   ;;
5585 esac
5586 fi
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5588 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5589 with_gnu_ld=$lt_cv_prog_gnu_ld
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5600 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5601 if test "${lt_cv_path_NM+set}" = set; then :
5602   $as_echo_n "(cached) " >&6
5603 else
5604   if test -n "$NM"; then
5605   # Let the user override the test.
5606   lt_cv_path_NM="$NM"
5607 else
5608   lt_nm_to_check="${ac_tool_prefix}nm"
5609   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5610     lt_nm_to_check="$lt_nm_to_check nm"
5611   fi
5612   for lt_tmp_nm in $lt_nm_to_check; do
5613     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5614     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5615       IFS="$lt_save_ifs"
5616       test -z "$ac_dir" && ac_dir=.
5617       tmp_nm="$ac_dir/$lt_tmp_nm"
5618       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5619         # Check to see if the nm accepts a BSD-compat flag.
5620         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5621         #   nm: unknown option "B" ignored
5622         # Tru64's nm complains that /dev/null is an invalid object file
5623         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5624         */dev/null* | *'Invalid file or object type'*)
5625           lt_cv_path_NM="$tmp_nm -B"
5626           break
5627           ;;
5628         *)
5629           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5630           */dev/null*)
5631             lt_cv_path_NM="$tmp_nm -p"
5632             break
5633             ;;
5634           *)
5635             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5636             continue # so that we can try to find one that supports BSD flags
5637             ;;
5638           esac
5639           ;;
5640         esac
5641       fi
5642     done
5643     IFS="$lt_save_ifs"
5644   done
5645   : ${lt_cv_path_NM=no}
5646 fi
5647 fi
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5649 $as_echo "$lt_cv_path_NM" >&6; }
5650 if test "$lt_cv_path_NM" != "no"; then
5651   NM="$lt_cv_path_NM"
5652 else
5653   # Didn't find any BSD compatible name lister, look for dumpbin.
5654   if test -n "$DUMPBIN"; then :
5655     # Let the user override the test.
5656   else
5657     if test -n "$ac_tool_prefix"; then
5658   for ac_prog in dumpbin "link -dump"
5659   do
5660     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5663 $as_echo_n "checking for $ac_word... " >&6; }
5664 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   if test -n "$DUMPBIN"; then
5668   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5672 do
5673   IFS=$as_save_IFS
5674   test -z "$as_dir" && as_dir=.
5675     for ac_exec_ext in '' $ac_executable_extensions; do
5676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5678     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5679     break 2
5680   fi
5681 done
5682   done
5683 IFS=$as_save_IFS
5684
5685 fi
5686 fi
5687 DUMPBIN=$ac_cv_prog_DUMPBIN
5688 if test -n "$DUMPBIN"; then
5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5690 $as_echo "$DUMPBIN" >&6; }
5691 else
5692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5694 fi
5695
5696
5697     test -n "$DUMPBIN" && break
5698   done
5699 fi
5700 if test -z "$DUMPBIN"; then
5701   ac_ct_DUMPBIN=$DUMPBIN
5702   for ac_prog in dumpbin "link -dump"
5703 do
5704   # Extract the first word of "$ac_prog", so it can be a program name with args.
5705 set dummy $ac_prog; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5709   $as_echo_n "(cached) " >&6
5710 else
5711   if test -n "$ac_ct_DUMPBIN"; then
5712   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5716 do
5717   IFS=$as_save_IFS
5718   test -z "$as_dir" && as_dir=.
5719     for ac_exec_ext in '' $ac_executable_extensions; do
5720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723     break 2
5724   fi
5725 done
5726   done
5727 IFS=$as_save_IFS
5728
5729 fi
5730 fi
5731 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5732 if test -n "$ac_ct_DUMPBIN"; then
5733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5734 $as_echo "$ac_ct_DUMPBIN" >&6; }
5735 else
5736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5738 fi
5739
5740
5741   test -n "$ac_ct_DUMPBIN" && break
5742 done
5743
5744   if test "x$ac_ct_DUMPBIN" = x; then
5745     DUMPBIN=":"
5746   else
5747     case $cross_compiling:$ac_tool_warned in
5748 yes:)
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5751 ac_tool_warned=yes ;;
5752 esac
5753     DUMPBIN=$ac_ct_DUMPBIN
5754   fi
5755 fi
5756
5757     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5758     *COFF*)
5759       DUMPBIN="$DUMPBIN -symbols"
5760       ;;
5761     *)
5762       DUMPBIN=:
5763       ;;
5764     esac
5765   fi
5766
5767   if test "$DUMPBIN" != ":"; then
5768     NM="$DUMPBIN"
5769   fi
5770 fi
5771 test -z "$NM" && NM=nm
5772
5773
5774
5775
5776
5777
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5779 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5780 if test "${lt_cv_nm_interface+set}" = set; then :
5781   $as_echo_n "(cached) " >&6
5782 else
5783   lt_cv_nm_interface="BSD nm"
5784   echo "int some_variable = 0;" > conftest.$ac_ext
5785   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5786   (eval "$ac_compile" 2>conftest.err)
5787   cat conftest.err >&5
5788   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5789   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5790   cat conftest.err >&5
5791   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5792   cat conftest.out >&5
5793   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5794     lt_cv_nm_interface="MS dumpbin"
5795   fi
5796   rm -f conftest*
5797 fi
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5799 $as_echo "$lt_cv_nm_interface" >&6; }
5800
5801 # find the maximum length of command line arguments
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5803 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5804 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5805   $as_echo_n "(cached) " >&6
5806 else
5807     i=0
5808   teststring="ABCD"
5809
5810   case $build_os in
5811   msdosdjgpp*)
5812     # On DJGPP, this test can blow up pretty badly due to problems in libc
5813     # (any single argument exceeding 2000 bytes causes a buffer overrun
5814     # during glob expansion).  Even if it were fixed, the result of this
5815     # check would be larger than it should be.
5816     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5817     ;;
5818
5819   gnu*)
5820     # Under GNU Hurd, this test is not required because there is
5821     # no limit to the length of command line arguments.
5822     # Libtool will interpret -1 as no limit whatsoever
5823     lt_cv_sys_max_cmd_len=-1;
5824     ;;
5825
5826   cygwin* | mingw* | cegcc*)
5827     # On Win9x/ME, this test blows up -- it succeeds, but takes
5828     # about 5 minutes as the teststring grows exponentially.
5829     # Worse, since 9x/ME are not pre-emptively multitasking,
5830     # you end up with a "frozen" computer, even though with patience
5831     # the test eventually succeeds (with a max line length of 256k).
5832     # Instead, let's just punt: use the minimum linelength reported by
5833     # all of the supported platforms: 8192 (on NT/2K/XP).
5834     lt_cv_sys_max_cmd_len=8192;
5835     ;;
5836
5837   mint*)
5838     # On MiNT this can take a long time and run out of memory.
5839     lt_cv_sys_max_cmd_len=8192;
5840     ;;
5841
5842   amigaos*)
5843     # On AmigaOS with pdksh, this test takes hours, literally.
5844     # So we just punt and use a minimum line length of 8192.
5845     lt_cv_sys_max_cmd_len=8192;
5846     ;;
5847
5848   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5849     # This has been around since 386BSD, at least.  Likely further.
5850     if test -x /sbin/sysctl; then
5851       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5852     elif test -x /usr/sbin/sysctl; then
5853       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5854     else
5855       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5856     fi
5857     # And add a safety zone
5858     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5859     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5860     ;;
5861
5862   interix*)
5863     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5864     lt_cv_sys_max_cmd_len=196608
5865     ;;
5866
5867   osf*)
5868     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5869     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5870     # nice to cause kernel panics so lets avoid the loop below.
5871     # First set a reasonable default.
5872     lt_cv_sys_max_cmd_len=16384
5873     #
5874     if test -x /sbin/sysconfig; then
5875       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5876         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5877       esac
5878     fi
5879     ;;
5880   sco3.2v5*)
5881     lt_cv_sys_max_cmd_len=102400
5882     ;;
5883   sysv5* | sco5v6* | sysv4.2uw2*)
5884     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5885     if test -n "$kargmax"; then
5886       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5887     else
5888       lt_cv_sys_max_cmd_len=32768
5889     fi
5890     ;;
5891   *)
5892     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5893     if test -n "$lt_cv_sys_max_cmd_len"; then
5894       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5895       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5896     else
5897       # Make teststring a little bigger before we do anything with it.
5898       # a 1K string should be a reasonable start.
5899       for i in 1 2 3 4 5 6 7 8 ; do
5900         teststring=$teststring$teststring
5901       done
5902       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5903       # If test is not a shell built-in, we'll probably end up computing a
5904       # maximum length that is only half of the actual maximum length, but
5905       # we can't tell.
5906       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5907                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5908               test $i != 17 # 1/2 MB should be enough
5909       do
5910         i=`expr $i + 1`
5911         teststring=$teststring$teststring
5912       done
5913       # Only check the string length outside the loop.
5914       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5915       teststring=
5916       # Add a significant safety factor because C++ compilers can tack on
5917       # massive amounts of additional arguments before passing them to the
5918       # linker.  It appears as though 1/2 is a usable value.
5919       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5920     fi
5921     ;;
5922   esac
5923
5924 fi
5925
5926 if test -n $lt_cv_sys_max_cmd_len ; then
5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5928 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5929 else
5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5931 $as_echo "none" >&6; }
5932 fi
5933 max_cmd_len=$lt_cv_sys_max_cmd_len
5934
5935
5936
5937
5938
5939
5940 : ${CP="cp -f"}
5941 : ${MV="mv -f"}
5942 : ${RM="rm -f"}
5943
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5945 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5946 # Try some XSI features
5947 xsi_shell=no
5948 ( _lt_dummy="a/b/c"
5949   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5950       = c,a/b,, \
5951     && eval 'test $(( 1 + 1 )) -eq 2 \
5952     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5953   && xsi_shell=yes
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5955 $as_echo "$xsi_shell" >&6; }
5956
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5959 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5960 lt_shell_append=no
5961 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5962     >/dev/null 2>&1 \
5963   && lt_shell_append=yes
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5965 $as_echo "$lt_shell_append" >&6; }
5966
5967
5968 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5969   lt_unset=unset
5970 else
5971   lt_unset=false
5972 fi
5973
5974
5975
5976
5977
5978 # test EBCDIC or ASCII
5979 case `echo X|tr X '\101'` in
5980  A) # ASCII based system
5981     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5982   lt_SP2NL='tr \040 \012'
5983   lt_NL2SP='tr \015\012 \040\040'
5984   ;;
5985  *) # EBCDIC based system
5986   lt_SP2NL='tr \100 \n'
5987   lt_NL2SP='tr \r\n \100\100'
5988   ;;
5989 esac
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6000 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6001 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6002   $as_echo_n "(cached) " >&6
6003 else
6004   lt_cv_ld_reload_flag='-r'
6005 fi
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6007 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6008 reload_flag=$lt_cv_ld_reload_flag
6009 case $reload_flag in
6010 "" | " "*) ;;
6011 *) reload_flag=" $reload_flag" ;;
6012 esac
6013 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6014 case $host_os in
6015   darwin*)
6016     if test "$GCC" = yes; then
6017       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6018     else
6019       reload_cmds='$LD$reload_flag -o $output$reload_objs'
6020     fi
6021     ;;
6022 esac
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032 if test -n "$ac_tool_prefix"; then
6033   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6034 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6036 $as_echo_n "checking for $ac_word... " >&6; }
6037 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6038   $as_echo_n "(cached) " >&6
6039 else
6040   if test -n "$OBJDUMP"; then
6041   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6042 else
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH
6045 do
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048     for ac_exec_ext in '' $ac_executable_extensions; do
6049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6050     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6052     break 2
6053   fi
6054 done
6055   done
6056 IFS=$as_save_IFS
6057
6058 fi
6059 fi
6060 OBJDUMP=$ac_cv_prog_OBJDUMP
6061 if test -n "$OBJDUMP"; then
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6063 $as_echo "$OBJDUMP" >&6; }
6064 else
6065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6066 $as_echo "no" >&6; }
6067 fi
6068
6069
6070 fi
6071 if test -z "$ac_cv_prog_OBJDUMP"; then
6072   ac_ct_OBJDUMP=$OBJDUMP
6073   # Extract the first word of "objdump", so it can be a program name with args.
6074 set dummy objdump; ac_word=$2
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6076 $as_echo_n "checking for $ac_word... " >&6; }
6077 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6078   $as_echo_n "(cached) " >&6
6079 else
6080   if test -n "$ac_ct_OBJDUMP"; then
6081   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6082 else
6083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6084 for as_dir in $PATH
6085 do
6086   IFS=$as_save_IFS
6087   test -z "$as_dir" && as_dir=.
6088     for ac_exec_ext in '' $ac_executable_extensions; do
6089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6090     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092     break 2
6093   fi
6094 done
6095   done
6096 IFS=$as_save_IFS
6097
6098 fi
6099 fi
6100 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6101 if test -n "$ac_ct_OBJDUMP"; then
6102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6103 $as_echo "$ac_ct_OBJDUMP" >&6; }
6104 else
6105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6106 $as_echo "no" >&6; }
6107 fi
6108
6109   if test "x$ac_ct_OBJDUMP" = x; then
6110     OBJDUMP="false"
6111   else
6112     case $cross_compiling:$ac_tool_warned in
6113 yes:)
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6116 ac_tool_warned=yes ;;
6117 esac
6118     OBJDUMP=$ac_ct_OBJDUMP
6119   fi
6120 else
6121   OBJDUMP="$ac_cv_prog_OBJDUMP"
6122 fi
6123
6124 test -z "$OBJDUMP" && OBJDUMP=objdump
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6135 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6136 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6137   $as_echo_n "(cached) " >&6
6138 else
6139   lt_cv_file_magic_cmd='$MAGIC_CMD'
6140 lt_cv_file_magic_test_file=
6141 lt_cv_deplibs_check_method='unknown'
6142 # Need to set the preceding variable on all platforms that support
6143 # interlibrary dependencies.
6144 # 'none' -- dependencies not supported.
6145 # `unknown' -- same as none, but documents that we really don't know.
6146 # 'pass_all' -- all dependencies passed with no checks.
6147 # 'test_compile' -- check by making test program.
6148 # 'file_magic [[regex]]' -- check by looking for files in library path
6149 # which responds to the $file_magic_cmd with a given extended regex.
6150 # If you have `file' or equivalent on your system and you're not sure
6151 # whether `pass_all' will *always* work, you probably want this one.
6152
6153 case $host_os in
6154 aix[4-9]*)
6155   lt_cv_deplibs_check_method=pass_all
6156   ;;
6157
6158 beos*)
6159   lt_cv_deplibs_check_method=pass_all
6160   ;;
6161
6162 bsdi[45]*)
6163   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6164   lt_cv_file_magic_cmd='/usr/bin/file -L'
6165   lt_cv_file_magic_test_file=/shlib/libc.so
6166   ;;
6167
6168 cygwin*)
6169   # func_win32_libid is a shell function defined in ltmain.sh
6170   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6171   lt_cv_file_magic_cmd='func_win32_libid'
6172   ;;
6173
6174 mingw* | pw32*)
6175   # Base MSYS/MinGW do not provide the 'file' command needed by
6176   # func_win32_libid shell function, so use a weaker test based on 'objdump',
6177   # unless we find 'file', for example because we are cross-compiling.
6178   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6179   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6180     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6181     lt_cv_file_magic_cmd='func_win32_libid'
6182   else
6183     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6184     lt_cv_file_magic_cmd='$OBJDUMP -f'
6185   fi
6186   ;;
6187
6188 cegcc*)
6189   # use the weaker test based on 'objdump'. See mingw*.
6190   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6191   lt_cv_file_magic_cmd='$OBJDUMP -f'
6192   ;;
6193
6194 darwin* | rhapsody*)
6195   lt_cv_deplibs_check_method=pass_all
6196   ;;
6197
6198 freebsd* | dragonfly*)
6199   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6200     case $host_cpu in
6201     i*86 )
6202       # Not sure whether the presence of OpenBSD here was a mistake.
6203       # Let's accept both of them until this is cleared up.
6204       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6205       lt_cv_file_magic_cmd=/usr/bin/file
6206       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6207       ;;
6208     esac
6209   else
6210     lt_cv_deplibs_check_method=pass_all
6211   fi
6212   ;;
6213
6214 gnu*)
6215   lt_cv_deplibs_check_method=pass_all
6216   ;;
6217
6218 haiku*)
6219   lt_cv_deplibs_check_method=pass_all
6220   ;;
6221
6222 hpux10.20* | hpux11*)
6223   lt_cv_file_magic_cmd=/usr/bin/file
6224   case $host_cpu in
6225   ia64*)
6226     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6227     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6228     ;;
6229   hppa*64*)
6230     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6231     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6232     ;;
6233   *)
6234     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6235     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6236     ;;
6237   esac
6238   ;;
6239
6240 interix[3-9]*)
6241   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6242   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6243   ;;
6244
6245 irix5* | irix6* | nonstopux*)
6246   case $LD in
6247   *-32|*"-32 ") libmagic=32-bit;;
6248   *-n32|*"-n32 ") libmagic=N32;;
6249   *-64|*"-64 ") libmagic=64-bit;;
6250   *) libmagic=never-match;;
6251   esac
6252   lt_cv_deplibs_check_method=pass_all
6253   ;;
6254
6255 # This must be Linux ELF.
6256 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6257   lt_cv_deplibs_check_method=pass_all
6258   ;;
6259
6260 netbsd*)
6261   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6262     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6263   else
6264     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6265   fi
6266   ;;
6267
6268 newos6*)
6269   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6270   lt_cv_file_magic_cmd=/usr/bin/file
6271   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6272   ;;
6273
6274 *nto* | *qnx*)
6275   lt_cv_deplibs_check_method=pass_all
6276   ;;
6277
6278 openbsd*)
6279   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6280     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6281   else
6282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6283   fi
6284   ;;
6285
6286 osf3* | osf4* | osf5*)
6287   lt_cv_deplibs_check_method=pass_all
6288   ;;
6289
6290 rdos*)
6291   lt_cv_deplibs_check_method=pass_all
6292   ;;
6293
6294 solaris*)
6295   lt_cv_deplibs_check_method=pass_all
6296   ;;
6297
6298 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6299   lt_cv_deplibs_check_method=pass_all
6300   ;;
6301
6302 sysv4 | sysv4.3*)
6303   case $host_vendor in
6304   motorola)
6305     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6306     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6307     ;;
6308   ncr)
6309     lt_cv_deplibs_check_method=pass_all
6310     ;;
6311   sequent)
6312     lt_cv_file_magic_cmd='/bin/file'
6313     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6314     ;;
6315   sni)
6316     lt_cv_file_magic_cmd='/bin/file'
6317     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6318     lt_cv_file_magic_test_file=/lib/libc.so
6319     ;;
6320   siemens)
6321     lt_cv_deplibs_check_method=pass_all
6322     ;;
6323   pc)
6324     lt_cv_deplibs_check_method=pass_all
6325     ;;
6326   esac
6327   ;;
6328
6329 tpf*)
6330   lt_cv_deplibs_check_method=pass_all
6331   ;;
6332 esac
6333
6334 fi
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6336 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6337 file_magic_cmd=$lt_cv_file_magic_cmd
6338 deplibs_check_method=$lt_cv_deplibs_check_method
6339 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352 if test -n "$ac_tool_prefix"; then
6353   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6354 set dummy ${ac_tool_prefix}ar; ac_word=$2
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6356 $as_echo_n "checking for $ac_word... " >&6; }
6357 if test "${ac_cv_prog_AR+set}" = set; then :
6358   $as_echo_n "(cached) " >&6
6359 else
6360   if test -n "$AR"; then
6361   ac_cv_prog_AR="$AR" # Let the user override the test.
6362 else
6363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6364 for as_dir in $PATH
6365 do
6366   IFS=$as_save_IFS
6367   test -z "$as_dir" && as_dir=.
6368     for ac_exec_ext in '' $ac_executable_extensions; do
6369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6370     ac_cv_prog_AR="${ac_tool_prefix}ar"
6371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372     break 2
6373   fi
6374 done
6375   done
6376 IFS=$as_save_IFS
6377
6378 fi
6379 fi
6380 AR=$ac_cv_prog_AR
6381 if test -n "$AR"; then
6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6383 $as_echo "$AR" >&6; }
6384 else
6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6386 $as_echo "no" >&6; }
6387 fi
6388
6389
6390 fi
6391 if test -z "$ac_cv_prog_AR"; then
6392   ac_ct_AR=$AR
6393   # Extract the first word of "ar", so it can be a program name with args.
6394 set dummy ar; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   if test -n "$ac_ct_AR"; then
6401   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6405 do
6406   IFS=$as_save_IFS
6407   test -z "$as_dir" && as_dir=.
6408     for ac_exec_ext in '' $ac_executable_extensions; do
6409   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6410     ac_cv_prog_ac_ct_AR="ar"
6411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412     break 2
6413   fi
6414 done
6415   done
6416 IFS=$as_save_IFS
6417
6418 fi
6419 fi
6420 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6421 if test -n "$ac_ct_AR"; then
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6423 $as_echo "$ac_ct_AR" >&6; }
6424 else
6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6427 fi
6428
6429   if test "x$ac_ct_AR" = x; then
6430     AR="false"
6431   else
6432     case $cross_compiling:$ac_tool_warned in
6433 yes:)
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436 ac_tool_warned=yes ;;
6437 esac
6438     AR=$ac_ct_AR
6439   fi
6440 else
6441   AR="$ac_cv_prog_AR"
6442 fi
6443
6444 test -z "$AR" && AR=ar
6445 test -z "$AR_FLAGS" && AR_FLAGS=cru
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457 if test -n "$ac_tool_prefix"; then
6458   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6459 set dummy ${ac_tool_prefix}strip; ac_word=$2
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461 $as_echo_n "checking for $ac_word... " >&6; }
6462 if test "${ac_cv_prog_STRIP+set}" = set; then :
6463   $as_echo_n "(cached) " >&6
6464 else
6465   if test -n "$STRIP"; then
6466   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6467 else
6468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6469 for as_dir in $PATH
6470 do
6471   IFS=$as_save_IFS
6472   test -z "$as_dir" && as_dir=.
6473     for ac_exec_ext in '' $ac_executable_extensions; do
6474   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477     break 2
6478   fi
6479 done
6480   done
6481 IFS=$as_save_IFS
6482
6483 fi
6484 fi
6485 STRIP=$ac_cv_prog_STRIP
6486 if test -n "$STRIP"; then
6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6488 $as_echo "$STRIP" >&6; }
6489 else
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491 $as_echo "no" >&6; }
6492 fi
6493
6494
6495 fi
6496 if test -z "$ac_cv_prog_STRIP"; then
6497   ac_ct_STRIP=$STRIP
6498   # Extract the first word of "strip", so it can be a program name with args.
6499 set dummy strip; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6503   $as_echo_n "(cached) " >&6
6504 else
6505   if test -n "$ac_ct_STRIP"; then
6506   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6507 else
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6509 for as_dir in $PATH
6510 do
6511   IFS=$as_save_IFS
6512   test -z "$as_dir" && as_dir=.
6513     for ac_exec_ext in '' $ac_executable_extensions; do
6514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515     ac_cv_prog_ac_ct_STRIP="strip"
6516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6517     break 2
6518   fi
6519 done
6520   done
6521 IFS=$as_save_IFS
6522
6523 fi
6524 fi
6525 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6526 if test -n "$ac_ct_STRIP"; then
6527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6528 $as_echo "$ac_ct_STRIP" >&6; }
6529 else
6530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6532 fi
6533
6534   if test "x$ac_ct_STRIP" = x; then
6535     STRIP=":"
6536   else
6537     case $cross_compiling:$ac_tool_warned in
6538 yes:)
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6541 ac_tool_warned=yes ;;
6542 esac
6543     STRIP=$ac_ct_STRIP
6544   fi
6545 else
6546   STRIP="$ac_cv_prog_STRIP"
6547 fi
6548
6549 test -z "$STRIP" && STRIP=:
6550
6551
6552
6553
6554
6555
6556 if test -n "$ac_tool_prefix"; then
6557   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6560 $as_echo_n "checking for $ac_word... " >&6; }
6561 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6562   $as_echo_n "(cached) " >&6
6563 else
6564   if test -n "$RANLIB"; then
6565   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6566 else
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 for as_dir in $PATH
6569 do
6570   IFS=$as_save_IFS
6571   test -z "$as_dir" && as_dir=.
6572     for ac_exec_ext in '' $ac_executable_extensions; do
6573   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6575     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6576     break 2
6577   fi
6578 done
6579   done
6580 IFS=$as_save_IFS
6581
6582 fi
6583 fi
6584 RANLIB=$ac_cv_prog_RANLIB
6585 if test -n "$RANLIB"; then
6586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6587 $as_echo "$RANLIB" >&6; }
6588 else
6589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6591 fi
6592
6593
6594 fi
6595 if test -z "$ac_cv_prog_RANLIB"; then
6596   ac_ct_RANLIB=$RANLIB
6597   # Extract the first word of "ranlib", so it can be a program name with args.
6598 set dummy ranlib; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6600 $as_echo_n "checking for $ac_word... " >&6; }
6601 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6602   $as_echo_n "(cached) " >&6
6603 else
6604   if test -n "$ac_ct_RANLIB"; then
6605   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6606 else
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608 for as_dir in $PATH
6609 do
6610   IFS=$as_save_IFS
6611   test -z "$as_dir" && as_dir=.
6612     for ac_exec_ext in '' $ac_executable_extensions; do
6613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6614     ac_cv_prog_ac_ct_RANLIB="ranlib"
6615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616     break 2
6617   fi
6618 done
6619   done
6620 IFS=$as_save_IFS
6621
6622 fi
6623 fi
6624 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6625 if test -n "$ac_ct_RANLIB"; then
6626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6627 $as_echo "$ac_ct_RANLIB" >&6; }
6628 else
6629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6630 $as_echo "no" >&6; }
6631 fi
6632
6633   if test "x$ac_ct_RANLIB" = x; then
6634     RANLIB=":"
6635   else
6636     case $cross_compiling:$ac_tool_warned in
6637 yes:)
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6640 ac_tool_warned=yes ;;
6641 esac
6642     RANLIB=$ac_ct_RANLIB
6643   fi
6644 else
6645   RANLIB="$ac_cv_prog_RANLIB"
6646 fi
6647
6648 test -z "$RANLIB" && RANLIB=:
6649
6650
6651
6652
6653
6654
6655 # Determine commands to create old-style static archives.
6656 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6657 old_postinstall_cmds='chmod 644 $oldlib'
6658 old_postuninstall_cmds=
6659
6660 if test -n "$RANLIB"; then
6661   case $host_os in
6662   openbsd*)
6663     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6664     ;;
6665   *)
6666     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6667     ;;
6668   esac
6669   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6670 fi
6671
6672 case $host_os in
6673   darwin*)
6674     lock_old_archive_extraction=yes ;;
6675   *)
6676     lock_old_archive_extraction=no ;;
6677 esac
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717 # If no C compiler was specified, use CC.
6718 LTCC=${LTCC-"$CC"}
6719
6720 # If no C compiler flags were specified, use CFLAGS.
6721 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6722
6723 # Allow CC to be a program name with arguments.
6724 compiler=$CC
6725
6726
6727 # Check for command to grab the raw symbol name followed by C symbol from nm.
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6729 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6730 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6731   $as_echo_n "(cached) " >&6
6732 else
6733
6734 # These are sane defaults that work on at least a few old systems.
6735 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6736
6737 # Character class describing NM global symbol codes.
6738 symcode='[BCDEGRST]'
6739
6740 # Regexp to match symbols that can be accessed directly from C.
6741 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6742
6743 # Define system-specific variables.
6744 case $host_os in
6745 aix*)
6746   symcode='[BCDT]'
6747   ;;
6748 cygwin* | mingw* | pw32* | cegcc*)
6749   symcode='[ABCDGISTW]'
6750   ;;
6751 hpux*)
6752   if test "$host_cpu" = ia64; then
6753     symcode='[ABCDEGRST]'
6754   fi
6755   ;;
6756 irix* | nonstopux*)
6757   symcode='[BCDEGRST]'
6758   ;;
6759 osf*)
6760   symcode='[BCDEGQRST]'
6761   ;;
6762 solaris*)
6763   symcode='[BDRT]'
6764   ;;
6765 sco3.2v5*)
6766   symcode='[DT]'
6767   ;;
6768 sysv4.2uw2*)
6769   symcode='[DT]'
6770   ;;
6771 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6772   symcode='[ABDT]'
6773   ;;
6774 sysv4)
6775   symcode='[DFNSTU]'
6776   ;;
6777 esac
6778
6779 # If we're using GNU nm, then use its standard symbol codes.
6780 case `$NM -V 2>&1` in
6781 *GNU* | *'with BFD'*)
6782   symcode='[ABCDGIRSTW]' ;;
6783 esac
6784
6785 # Transform an extracted symbol line into a proper C declaration.
6786 # Some systems (esp. on ia64) link data and code symbols differently,
6787 # so use this general approach.
6788 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6789
6790 # Transform an extracted symbol line into symbol name and symbol address
6791 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6792 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6793
6794 # Handle CRLF in mingw tool chain
6795 opt_cr=
6796 case $build_os in
6797 mingw*)
6798   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6799   ;;
6800 esac
6801
6802 # Try without a prefix underscore, then with it.
6803 for ac_symprfx in "" "_"; do
6804
6805   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6806   symxfrm="\\1 $ac_symprfx\\2 \\2"
6807
6808   # Write the raw and C identifiers.
6809   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6810     # Fake it for dumpbin and say T for any non-static function
6811     # and D for any global variable.
6812     # Also find C++ and __fastcall symbols from MSVC++,
6813     # which start with @ or ?.
6814     lt_cv_sys_global_symbol_pipe="$AWK '"\
6815 "     {last_section=section; section=\$ 3};"\
6816 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6817 "     \$ 0!~/External *\|/{next};"\
6818 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6819 "     {if(hide[section]) next};"\
6820 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6821 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6822 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6823 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6824 "     ' prfx=^$ac_symprfx"
6825   else
6826     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6827   fi
6828
6829   # Check to see that the pipe works correctly.
6830   pipe_works=no
6831
6832   rm -f conftest*
6833   cat > conftest.$ac_ext <<_LT_EOF
6834 #ifdef __cplusplus
6835 extern "C" {
6836 #endif
6837 char nm_test_var;
6838 void nm_test_func(void);
6839 void nm_test_func(void){}
6840 #ifdef __cplusplus
6841 }
6842 #endif
6843 int main(){nm_test_var='a';nm_test_func();return(0);}
6844 _LT_EOF
6845
6846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847   (eval $ac_compile) 2>&5
6848   ac_status=$?
6849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850   test $ac_status = 0; }; then
6851     # Now try to grab the symbols.
6852     nlist=conftest.nm
6853     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6854   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6855   ac_status=$?
6856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6857   test $ac_status = 0; } && test -s "$nlist"; then
6858       # Try sorting and uniquifying the output.
6859       if sort "$nlist" | uniq > "$nlist"T; then
6860         mv -f "$nlist"T "$nlist"
6861       else
6862         rm -f "$nlist"T
6863       fi
6864
6865       # Make sure that we snagged all the symbols we need.
6866       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6867         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6868           cat <<_LT_EOF > conftest.$ac_ext
6869 #ifdef __cplusplus
6870 extern "C" {
6871 #endif
6872
6873 _LT_EOF
6874           # Now generate the symbol file.
6875           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6876
6877           cat <<_LT_EOF >> conftest.$ac_ext
6878
6879 /* The mapping between symbol names and symbols.  */
6880 const struct {
6881   const char *name;
6882   void       *address;
6883 }
6884 lt__PROGRAM__LTX_preloaded_symbols[] =
6885 {
6886   { "@PROGRAM@", (void *) 0 },
6887 _LT_EOF
6888           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6889           cat <<\_LT_EOF >> conftest.$ac_ext
6890   {0, (void *) 0}
6891 };
6892
6893 /* This works around a problem in FreeBSD linker */
6894 #ifdef FREEBSD_WORKAROUND
6895 static const void *lt_preloaded_setup() {
6896   return lt__PROGRAM__LTX_preloaded_symbols;
6897 }
6898 #endif
6899
6900 #ifdef __cplusplus
6901 }
6902 #endif
6903 _LT_EOF
6904           # Now try linking the two files.
6905           mv conftest.$ac_objext conftstm.$ac_objext
6906           lt_save_LIBS="$LIBS"
6907           lt_save_CFLAGS="$CFLAGS"
6908           LIBS="conftstm.$ac_objext"
6909           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6910           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6911   (eval $ac_link) 2>&5
6912   ac_status=$?
6913   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6915             pipe_works=yes
6916           fi
6917           LIBS="$lt_save_LIBS"
6918           CFLAGS="$lt_save_CFLAGS"
6919         else
6920           echo "cannot find nm_test_func in $nlist" >&5
6921         fi
6922       else
6923         echo "cannot find nm_test_var in $nlist" >&5
6924       fi
6925     else
6926       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6927     fi
6928   else
6929     echo "$progname: failed program was:" >&5
6930     cat conftest.$ac_ext >&5
6931   fi
6932   rm -rf conftest* conftst*
6933
6934   # Do not use the global_symbol_pipe unless it works.
6935   if test "$pipe_works" = yes; then
6936     break
6937   else
6938     lt_cv_sys_global_symbol_pipe=
6939   fi
6940 done
6941
6942 fi
6943
6944 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6945   lt_cv_sys_global_symbol_to_cdecl=
6946 fi
6947 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6949 $as_echo "failed" >&6; }
6950 else
6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6952 $as_echo "ok" >&6; }
6953 fi
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976 # Check whether --enable-libtool-lock was given.
6977 if test "${enable_libtool_lock+set}" = set; then :
6978   enableval=$enable_libtool_lock;
6979 fi
6980
6981 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6982
6983 # Some flags need to be propagated to the compiler or linker for good
6984 # libtool support.
6985 case $host in
6986 ia64-*-hpux*)
6987   # Find out which ABI we are using.
6988   echo 'int i;' > conftest.$ac_ext
6989   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6990   (eval $ac_compile) 2>&5
6991   ac_status=$?
6992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993   test $ac_status = 0; }; then
6994     case `/usr/bin/file conftest.$ac_objext` in
6995       *ELF-32*)
6996         HPUX_IA64_MODE="32"
6997         ;;
6998       *ELF-64*)
6999         HPUX_IA64_MODE="64"
7000         ;;
7001     esac
7002   fi
7003   rm -rf conftest*
7004   ;;
7005 *-*-irix6*)
7006   # Find out which ABI we are using.
7007   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7008   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7009   (eval $ac_compile) 2>&5
7010   ac_status=$?
7011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7012   test $ac_status = 0; }; then
7013     if test "$lt_cv_prog_gnu_ld" = yes; then
7014       case `/usr/bin/file conftest.$ac_objext` in
7015         *32-bit*)
7016           LD="${LD-ld} -melf32bsmip"
7017           ;;
7018         *N32*)
7019           LD="${LD-ld} -melf32bmipn32"
7020           ;;
7021         *64-bit*)
7022           LD="${LD-ld} -melf64bmip"
7023         ;;
7024       esac
7025     else
7026       case `/usr/bin/file conftest.$ac_objext` in
7027         *32-bit*)
7028           LD="${LD-ld} -32"
7029           ;;
7030         *N32*)
7031           LD="${LD-ld} -n32"
7032           ;;
7033         *64-bit*)
7034           LD="${LD-ld} -64"
7035           ;;
7036       esac
7037     fi
7038   fi
7039   rm -rf conftest*
7040   ;;
7041
7042 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7043 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7044   # Find out which ABI we are using.
7045   echo 'int i;' > conftest.$ac_ext
7046   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7047   (eval $ac_compile) 2>&5
7048   ac_status=$?
7049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7050   test $ac_status = 0; }; then
7051     case `/usr/bin/file conftest.o` in
7052       *32-bit*)
7053         case $host in
7054           x86_64-*kfreebsd*-gnu)
7055             LD="${LD-ld} -m elf_i386_fbsd"
7056             ;;
7057           x86_64-*linux*)
7058             LD="${LD-ld} -m elf_i386"
7059             ;;
7060           ppc64-*linux*|powerpc64-*linux*)
7061             LD="${LD-ld} -m elf32ppclinux"
7062             ;;
7063           s390x-*linux*)
7064             LD="${LD-ld} -m elf_s390"
7065             ;;
7066           sparc64-*linux*)
7067             LD="${LD-ld} -m elf32_sparc"
7068             ;;
7069         esac
7070         ;;
7071       *64-bit*)
7072         case $host in
7073           x86_64-*kfreebsd*-gnu)
7074             LD="${LD-ld} -m elf_x86_64_fbsd"
7075             ;;
7076           x86_64-*linux*)
7077             LD="${LD-ld} -m elf_x86_64"
7078             ;;
7079           ppc*-*linux*|powerpc*-*linux*)
7080             LD="${LD-ld} -m elf64ppc"
7081             ;;
7082           s390*-*linux*|s390*-*tpf*)
7083             LD="${LD-ld} -m elf64_s390"
7084             ;;
7085           sparc*-*linux*)
7086             LD="${LD-ld} -m elf64_sparc"
7087             ;;
7088         esac
7089         ;;
7090     esac
7091   fi
7092   rm -rf conftest*
7093   ;;
7094
7095 *-*-sco3.2v5*)
7096   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7097   SAVE_CFLAGS="$CFLAGS"
7098   CFLAGS="$CFLAGS -belf"
7099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7100 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7101 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7102   $as_echo_n "(cached) " >&6
7103 else
7104   ac_ext=c
7105 ac_cpp='$CPP $CPPFLAGS'
7106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7109
7110      if test x$gcc_no_link = xyes; then
7111   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7112 fi
7113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h.  */
7115
7116 int
7117 main ()
7118 {
7119
7120   ;
7121   return 0;
7122 }
7123 _ACEOF
7124 if ac_fn_c_try_link "$LINENO"; then :
7125   lt_cv_cc_needs_belf=yes
7126 else
7127   lt_cv_cc_needs_belf=no
7128 fi
7129 rm -f core conftest.err conftest.$ac_objext \
7130     conftest$ac_exeext conftest.$ac_ext
7131      ac_ext=c
7132 ac_cpp='$CPP $CPPFLAGS'
7133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7136
7137 fi
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7139 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7140   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7141     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7142     CFLAGS="$SAVE_CFLAGS"
7143   fi
7144   ;;
7145 sparc*-*solaris*)
7146   # Find out which ABI we are using.
7147   echo 'int i;' > conftest.$ac_ext
7148   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7149   (eval $ac_compile) 2>&5
7150   ac_status=$?
7151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7152   test $ac_status = 0; }; then
7153     case `/usr/bin/file conftest.o` in
7154     *64-bit*)
7155       case $lt_cv_prog_gnu_ld in
7156       yes*) LD="${LD-ld} -m elf64_sparc" ;;
7157       *)
7158         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7159           LD="${LD-ld} -64"
7160         fi
7161         ;;
7162       esac
7163       ;;
7164     esac
7165   fi
7166   rm -rf conftest*
7167   ;;
7168 esac
7169
7170 need_locks="$enable_libtool_lock"
7171
7172
7173   case $host_os in
7174     rhapsody* | darwin*)
7175     if test -n "$ac_tool_prefix"; then
7176   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7177 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7179 $as_echo_n "checking for $ac_word... " >&6; }
7180 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7181   $as_echo_n "(cached) " >&6
7182 else
7183   if test -n "$DSYMUTIL"; then
7184   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7185 else
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 for as_dir in $PATH
7188 do
7189   IFS=$as_save_IFS
7190   test -z "$as_dir" && as_dir=.
7191     for ac_exec_ext in '' $ac_executable_extensions; do
7192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7193     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7195     break 2
7196   fi
7197 done
7198   done
7199 IFS=$as_save_IFS
7200
7201 fi
7202 fi
7203 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7204 if test -n "$DSYMUTIL"; then
7205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7206 $as_echo "$DSYMUTIL" >&6; }
7207 else
7208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7209 $as_echo "no" >&6; }
7210 fi
7211
7212
7213 fi
7214 if test -z "$ac_cv_prog_DSYMUTIL"; then
7215   ac_ct_DSYMUTIL=$DSYMUTIL
7216   # Extract the first word of "dsymutil", so it can be a program name with args.
7217 set dummy dsymutil; ac_word=$2
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7219 $as_echo_n "checking for $ac_word... " >&6; }
7220 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7221   $as_echo_n "(cached) " >&6
7222 else
7223   if test -n "$ac_ct_DSYMUTIL"; then
7224   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7225 else
7226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 for as_dir in $PATH
7228 do
7229   IFS=$as_save_IFS
7230   test -z "$as_dir" && as_dir=.
7231     for ac_exec_ext in '' $ac_executable_extensions; do
7232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7233     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7235     break 2
7236   fi
7237 done
7238   done
7239 IFS=$as_save_IFS
7240
7241 fi
7242 fi
7243 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7244 if test -n "$ac_ct_DSYMUTIL"; then
7245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7246 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7247 else
7248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7249 $as_echo "no" >&6; }
7250 fi
7251
7252   if test "x$ac_ct_DSYMUTIL" = x; then
7253     DSYMUTIL=":"
7254   else
7255     case $cross_compiling:$ac_tool_warned in
7256 yes:)
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7259 ac_tool_warned=yes ;;
7260 esac
7261     DSYMUTIL=$ac_ct_DSYMUTIL
7262   fi
7263 else
7264   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7265 fi
7266
7267     if test -n "$ac_tool_prefix"; then
7268   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7273   $as_echo_n "(cached) " >&6
7274 else
7275   if test -n "$NMEDIT"; then
7276   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281   IFS=$as_save_IFS
7282   test -z "$as_dir" && as_dir=.
7283     for ac_exec_ext in '' $ac_executable_extensions; do
7284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287     break 2
7288   fi
7289 done
7290   done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 NMEDIT=$ac_cv_prog_NMEDIT
7296 if test -n "$NMEDIT"; then
7297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7298 $as_echo "$NMEDIT" >&6; }
7299 else
7300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304
7305 fi
7306 if test -z "$ac_cv_prog_NMEDIT"; then
7307   ac_ct_NMEDIT=$NMEDIT
7308   # Extract the first word of "nmedit", so it can be a program name with args.
7309 set dummy nmedit; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7313   $as_echo_n "(cached) " >&6
7314 else
7315   if test -n "$ac_ct_NMEDIT"; then
7316   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7320 do
7321   IFS=$as_save_IFS
7322   test -z "$as_dir" && as_dir=.
7323     for ac_exec_ext in '' $ac_executable_extensions; do
7324   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327     break 2
7328   fi
7329 done
7330   done
7331 IFS=$as_save_IFS
7332
7333 fi
7334 fi
7335 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7336 if test -n "$ac_ct_NMEDIT"; then
7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7338 $as_echo "$ac_ct_NMEDIT" >&6; }
7339 else
7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7342 fi
7343
7344   if test "x$ac_ct_NMEDIT" = x; then
7345     NMEDIT=":"
7346   else
7347     case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353     NMEDIT=$ac_ct_NMEDIT
7354   fi
7355 else
7356   NMEDIT="$ac_cv_prog_NMEDIT"
7357 fi
7358
7359     if test -n "$ac_tool_prefix"; then
7360   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_LIPO+set}" = set; then :
7365   $as_echo_n "(cached) " >&6
7366 else
7367   if test -n "$LIPO"; then
7368   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373   IFS=$as_save_IFS
7374   test -z "$as_dir" && as_dir=.
7375     for ac_exec_ext in '' $ac_executable_extensions; do
7376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379     break 2
7380   fi
7381 done
7382   done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 LIPO=$ac_cv_prog_LIPO
7388 if test -n "$LIPO"; then
7389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7390 $as_echo "$LIPO" >&6; }
7391 else
7392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396
7397 fi
7398 if test -z "$ac_cv_prog_LIPO"; then
7399   ac_ct_LIPO=$LIPO
7400   # Extract the first word of "lipo", so it can be a program name with args.
7401 set dummy lipo; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7405   $as_echo_n "(cached) " >&6
7406 else
7407   if test -n "$ac_ct_LIPO"; then
7408   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413   IFS=$as_save_IFS
7414   test -z "$as_dir" && as_dir=.
7415     for ac_exec_ext in '' $ac_executable_extensions; do
7416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417     ac_cv_prog_ac_ct_LIPO="lipo"
7418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419     break 2
7420   fi
7421 done
7422   done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7428 if test -n "$ac_ct_LIPO"; then
7429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7430 $as_echo "$ac_ct_LIPO" >&6; }
7431 else
7432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436   if test "x$ac_ct_LIPO" = x; then
7437     LIPO=":"
7438   else
7439     case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445     LIPO=$ac_ct_LIPO
7446   fi
7447 else
7448   LIPO="$ac_cv_prog_LIPO"
7449 fi
7450
7451     if test -n "$ac_tool_prefix"; then
7452   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}otool; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7457   $as_echo_n "(cached) " >&6
7458 else
7459   if test -n "$OTOOL"; then
7460   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465   IFS=$as_save_IFS
7466   test -z "$as_dir" && as_dir=.
7467     for ac_exec_ext in '' $ac_executable_extensions; do
7468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471     break 2
7472   fi
7473 done
7474   done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 OTOOL=$ac_cv_prog_OTOOL
7480 if test -n "$OTOOL"; then
7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7482 $as_echo "$OTOOL" >&6; }
7483 else
7484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488
7489 fi
7490 if test -z "$ac_cv_prog_OTOOL"; then
7491   ac_ct_OTOOL=$OTOOL
7492   # Extract the first word of "otool", so it can be a program name with args.
7493 set dummy otool; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7497   $as_echo_n "(cached) " >&6
7498 else
7499   if test -n "$ac_ct_OTOOL"; then
7500   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7504 do
7505   IFS=$as_save_IFS
7506   test -z "$as_dir" && as_dir=.
7507     for ac_exec_ext in '' $ac_executable_extensions; do
7508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509     ac_cv_prog_ac_ct_OTOOL="otool"
7510     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511     break 2
7512   fi
7513 done
7514   done
7515 IFS=$as_save_IFS
7516
7517 fi
7518 fi
7519 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7520 if test -n "$ac_ct_OTOOL"; then
7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7522 $as_echo "$ac_ct_OTOOL" >&6; }
7523 else
7524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 fi
7527
7528   if test "x$ac_ct_OTOOL" = x; then
7529     OTOOL=":"
7530   else
7531     case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537     OTOOL=$ac_ct_OTOOL
7538   fi
7539 else
7540   OTOOL="$ac_cv_prog_OTOOL"
7541 fi
7542
7543     if test -n "$ac_tool_prefix"; then
7544   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7549   $as_echo_n "(cached) " >&6
7550 else
7551   if test -n "$OTOOL64"; then
7552   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557   IFS=$as_save_IFS
7558   test -z "$as_dir" && as_dir=.
7559     for ac_exec_ext in '' $ac_executable_extensions; do
7560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563     break 2
7564   fi
7565 done
7566   done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 OTOOL64=$ac_cv_prog_OTOOL64
7572 if test -n "$OTOOL64"; then
7573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7574 $as_echo "$OTOOL64" >&6; }
7575 else
7576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580
7581 fi
7582 if test -z "$ac_cv_prog_OTOOL64"; then
7583   ac_ct_OTOOL64=$OTOOL64
7584   # Extract the first word of "otool64", so it can be a program name with args.
7585 set dummy otool64; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7589   $as_echo_n "(cached) " >&6
7590 else
7591   if test -n "$ac_ct_OTOOL64"; then
7592   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597   IFS=$as_save_IFS
7598   test -z "$as_dir" && as_dir=.
7599     for ac_exec_ext in '' $ac_executable_extensions; do
7600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601     ac_cv_prog_ac_ct_OTOOL64="otool64"
7602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603     break 2
7604   fi
7605 done
7606   done
7607 IFS=$as_save_IFS
7608
7609 fi
7610 fi
7611 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7612 if test -n "$ac_ct_OTOOL64"; then
7613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7614 $as_echo "$ac_ct_OTOOL64" >&6; }
7615 else
7616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7618 fi
7619
7620   if test "x$ac_ct_OTOOL64" = x; then
7621     OTOOL64=":"
7622   else
7623     case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629     OTOOL64=$ac_ct_OTOOL64
7630   fi
7631 else
7632   OTOOL64="$ac_cv_prog_OTOOL64"
7633 fi
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7662 $as_echo_n "checking for -single_module linker flag... " >&6; }
7663 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7664   $as_echo_n "(cached) " >&6
7665 else
7666   lt_cv_apple_cc_single_mod=no
7667       if test -z "${LT_MULTI_MODULE}"; then
7668         # By default we will add the -single_module flag. You can override
7669         # by either setting the environment variable LT_MULTI_MODULE
7670         # non-empty at configure time, or by adding -multi_module to the
7671         # link flags.
7672         rm -rf libconftest.dylib*
7673         echo "int foo(void){return 1;}" > conftest.c
7674         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7675 -dynamiclib -Wl,-single_module conftest.c" >&5
7676         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7677           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7678         _lt_result=$?
7679         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7680           lt_cv_apple_cc_single_mod=yes
7681         else
7682           cat conftest.err >&5
7683         fi
7684         rm -rf libconftest.dylib*
7685         rm -f conftest.*
7686       fi
7687 fi
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7689 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7690     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7691 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7692 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7693   $as_echo_n "(cached) " >&6
7694 else
7695   lt_cv_ld_exported_symbols_list=no
7696       save_LDFLAGS=$LDFLAGS
7697       echo "_main" > conftest.sym
7698       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7699       if test x$gcc_no_link = xyes; then
7700   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7701 fi
7702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h.  */
7704
7705 int
7706 main ()
7707 {
7708
7709   ;
7710   return 0;
7711 }
7712 _ACEOF
7713 if ac_fn_c_try_link "$LINENO"; then :
7714   lt_cv_ld_exported_symbols_list=yes
7715 else
7716   lt_cv_ld_exported_symbols_list=no
7717 fi
7718 rm -f core conftest.err conftest.$ac_objext \
7719     conftest$ac_exeext conftest.$ac_ext
7720         LDFLAGS="$save_LDFLAGS"
7721
7722 fi
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7724 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7726 $as_echo_n "checking for -force_load linker flag... " >&6; }
7727 if test "${lt_cv_ld_force_load+set}" = set; then :
7728   $as_echo_n "(cached) " >&6
7729 else
7730   lt_cv_ld_force_load=no
7731       cat > conftest.c << _LT_EOF
7732 int forced_loaded() { return 2;}
7733 _LT_EOF
7734       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7735       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7736       echo "$AR cru libconftest.a conftest.o" >&5
7737       $AR cru libconftest.a conftest.o 2>&5
7738       cat > conftest.c << _LT_EOF
7739 int main() { return 0;}
7740 _LT_EOF
7741       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7742       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7743       _lt_result=$?
7744       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7745         lt_cv_ld_force_load=yes
7746       else
7747         cat conftest.err >&5
7748       fi
7749         rm -f conftest.err libconftest.a conftest conftest.c
7750         rm -rf conftest.dSYM
7751
7752 fi
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7754 $as_echo "$lt_cv_ld_force_load" >&6; }
7755     case $host_os in
7756     rhapsody* | darwin1.[012])
7757       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7758     darwin1.*)
7759       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7760     darwin*) # darwin 5.x on
7761       # if running on 10.5 or later, the deployment target defaults
7762       # to the OS version, if on x86, and 10.4, the deployment
7763       # target defaults to 10.4. Don't you love it?
7764       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7765         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7766           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7767         10.[012]*)
7768           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7769         10.*)
7770           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7771       esac
7772     ;;
7773   esac
7774     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7775       _lt_dar_single_mod='$single_module'
7776     fi
7777     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7778       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7779     else
7780       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7781     fi
7782     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7783       _lt_dsymutil='~$DSYMUTIL $lib || :'
7784     else
7785       _lt_dsymutil=
7786     fi
7787     ;;
7788   esac
7789
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7791 $as_echo_n "checking for ANSI C header files... " >&6; }
7792 if test "${ac_cv_header_stdc+set}" = set; then :
7793   $as_echo_n "(cached) " >&6
7794 else
7795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7796 /* end confdefs.h.  */
7797 #include <stdlib.h>
7798 #include <stdarg.h>
7799 #include <string.h>
7800 #include <float.h>
7801
7802 int
7803 main ()
7804 {
7805
7806   ;
7807   return 0;
7808 }
7809 _ACEOF
7810 if ac_fn_c_try_compile "$LINENO"; then :
7811   ac_cv_header_stdc=yes
7812 else
7813   ac_cv_header_stdc=no
7814 fi
7815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7816
7817 if test $ac_cv_header_stdc = yes; then
7818   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7820 /* end confdefs.h.  */
7821 #include <string.h>
7822
7823 _ACEOF
7824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7825   $EGREP "memchr" >/dev/null 2>&1; then :
7826
7827 else
7828   ac_cv_header_stdc=no
7829 fi
7830 rm -f conftest*
7831
7832 fi
7833
7834 if test $ac_cv_header_stdc = yes; then
7835   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7837 /* end confdefs.h.  */
7838 #include <stdlib.h>
7839
7840 _ACEOF
7841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7842   $EGREP "free" >/dev/null 2>&1; then :
7843
7844 else
7845   ac_cv_header_stdc=no
7846 fi
7847 rm -f conftest*
7848
7849 fi
7850
7851 if test $ac_cv_header_stdc = yes; then
7852   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7853   if test "$cross_compiling" = yes; then :
7854   :
7855 else
7856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7857 /* end confdefs.h.  */
7858 #include <ctype.h>
7859 #include <stdlib.h>
7860 #if ((' ' & 0x0FF) == 0x020)
7861 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7862 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7863 #else
7864 # define ISLOWER(c) \
7865                    (('a' <= (c) && (c) <= 'i') \
7866                      || ('j' <= (c) && (c) <= 'r') \
7867                      || ('s' <= (c) && (c) <= 'z'))
7868 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7869 #endif
7870
7871 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7872 int
7873 main ()
7874 {
7875   int i;
7876   for (i = 0; i < 256; i++)
7877     if (XOR (islower (i), ISLOWER (i))
7878         || toupper (i) != TOUPPER (i))
7879       return 2;
7880   return 0;
7881 }
7882 _ACEOF
7883 if ac_fn_c_try_run "$LINENO"; then :
7884
7885 else
7886   ac_cv_header_stdc=no
7887 fi
7888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7889   conftest.$ac_objext conftest.beam conftest.$ac_ext
7890 fi
7891
7892 fi
7893 fi
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7895 $as_echo "$ac_cv_header_stdc" >&6; }
7896 if test $ac_cv_header_stdc = yes; then
7897
7898 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7899
7900 fi
7901
7902 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7903 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7904                   inttypes.h stdint.h unistd.h
7905 do :
7906   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7907 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7908 "
7909 eval as_val=\$$as_ac_Header
7910    if test "x$as_val" = x""yes; then :
7911   cat >>confdefs.h <<_ACEOF
7912 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7913 _ACEOF
7914
7915 fi
7916
7917 done
7918
7919
7920 for ac_header in dlfcn.h
7921 do :
7922   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7923 "
7924 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7925   cat >>confdefs.h <<_ACEOF
7926 #define HAVE_DLFCN_H 1
7927 _ACEOF
7928
7929 fi
7930
7931 done
7932
7933
7934
7935
7936
7937
7938 # Set options
7939
7940
7941
7942
7943   enable_win32_dll=no
7944
7945
7946             # Check whether --enable-shared was given.
7947 if test "${enable_shared+set}" = set; then :
7948   enableval=$enable_shared; p=${PACKAGE-default}
7949     case $enableval in
7950     yes) enable_shared=yes ;;
7951     no) enable_shared=no ;;
7952     *)
7953       enable_shared=no
7954       # Look at the argument we got.  We use all the common list separators.
7955       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7956       for pkg in $enableval; do
7957         IFS="$lt_save_ifs"
7958         if test "X$pkg" = "X$p"; then
7959           enable_shared=yes
7960         fi
7961       done
7962       IFS="$lt_save_ifs"
7963       ;;
7964     esac
7965 else
7966   enable_shared=yes
7967 fi
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977   # Check whether --enable-static was given.
7978 if test "${enable_static+set}" = set; then :
7979   enableval=$enable_static; p=${PACKAGE-default}
7980     case $enableval in
7981     yes) enable_static=yes ;;
7982     no) enable_static=no ;;
7983     *)
7984      enable_static=no
7985       # Look at the argument we got.  We use all the common list separators.
7986       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7987       for pkg in $enableval; do
7988         IFS="$lt_save_ifs"
7989         if test "X$pkg" = "X$p"; then
7990           enable_static=yes
7991         fi
7992       done
7993       IFS="$lt_save_ifs"
7994       ;;
7995     esac
7996 else
7997   enable_static=yes
7998 fi
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009 # Check whether --with-pic was given.
8010 if test "${with_pic+set}" = set; then :
8011   withval=$with_pic; pic_mode="$withval"
8012 else
8013   pic_mode=default
8014 fi
8015
8016
8017 test -z "$pic_mode" && pic_mode=default
8018
8019
8020
8021
8022
8023
8024
8025   # Check whether --enable-fast-install was given.
8026 if test "${enable_fast_install+set}" = set; then :
8027   enableval=$enable_fast_install; p=${PACKAGE-default}
8028     case $enableval in
8029     yes) enable_fast_install=yes ;;
8030     no) enable_fast_install=no ;;
8031     *)
8032       enable_fast_install=no
8033       # Look at the argument we got.  We use all the common list separators.
8034       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035       for pkg in $enableval; do
8036         IFS="$lt_save_ifs"
8037         if test "X$pkg" = "X$p"; then
8038           enable_fast_install=yes
8039         fi
8040       done
8041       IFS="$lt_save_ifs"
8042       ;;
8043     esac
8044 else
8045   enable_fast_install=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058 # This can be used to rebuild libtool when needed
8059 LIBTOOL_DEPS="$ltmain"
8060
8061 # Always use our own libtool.
8062 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089 test -z "$LN_S" && LN_S="ln -s"
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104 if test -n "${ZSH_VERSION+set}" ; then
8105    setopt NO_GLOB_SUBST
8106 fi
8107
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8109 $as_echo_n "checking for objdir... " >&6; }
8110 if test "${lt_cv_objdir+set}" = set; then :
8111   $as_echo_n "(cached) " >&6
8112 else
8113   rm -f .libs 2>/dev/null
8114 mkdir .libs 2>/dev/null
8115 if test -d .libs; then
8116   lt_cv_objdir=.libs
8117 else
8118   # MS-DOS does not allow filenames that begin with a dot.
8119   lt_cv_objdir=_libs
8120 fi
8121 rmdir .libs 2>/dev/null
8122 fi
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8124 $as_echo "$lt_cv_objdir" >&6; }
8125 objdir=$lt_cv_objdir
8126
8127
8128
8129
8130
8131 cat >>confdefs.h <<_ACEOF
8132 #define LT_OBJDIR "$lt_cv_objdir/"
8133 _ACEOF
8134
8135
8136
8137
8138 case $host_os in
8139 aix3*)
8140   # AIX sometimes has problems with the GCC collect2 program.  For some
8141   # reason, if we set the COLLECT_NAMES environment variable, the problems
8142   # vanish in a puff of smoke.
8143   if test "X${COLLECT_NAMES+set}" != Xset; then
8144     COLLECT_NAMES=
8145     export COLLECT_NAMES
8146   fi
8147   ;;
8148 esac
8149
8150 # Global variables:
8151 ofile=libtool
8152 can_build_shared=yes
8153
8154 # All known linkers require a `.a' archive for static linking (except MSVC,
8155 # which needs '.lib').
8156 libext=a
8157
8158 with_gnu_ld="$lt_cv_prog_gnu_ld"
8159
8160 old_CC="$CC"
8161 old_CFLAGS="$CFLAGS"
8162
8163 # Set sane defaults for various variables
8164 test -z "$CC" && CC=cc
8165 test -z "$LTCC" && LTCC=$CC
8166 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8167 test -z "$LD" && LD=ld
8168 test -z "$ac_objext" && ac_objext=o
8169
8170 for cc_temp in $compiler""; do
8171   case $cc_temp in
8172     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8173     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8174     \-*) ;;
8175     *) break;;
8176   esac
8177 done
8178 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8179
8180
8181 # Only perform the check for file, if the check method requires it
8182 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8183 case $deplibs_check_method in
8184 file_magic*)
8185   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8186     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8187 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8188 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8189   $as_echo_n "(cached) " >&6
8190 else
8191   case $MAGIC_CMD in
8192 [\\/*] |  ?:[\\/]*)
8193   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8194   ;;
8195 *)
8196   lt_save_MAGIC_CMD="$MAGIC_CMD"
8197   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8198   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8199   for ac_dir in $ac_dummy; do
8200     IFS="$lt_save_ifs"
8201     test -z "$ac_dir" && ac_dir=.
8202     if test -f $ac_dir/${ac_tool_prefix}file; then
8203       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8204       if test -n "$file_magic_test_file"; then
8205         case $deplibs_check_method in
8206         "file_magic "*)
8207           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8208           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8209           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8210             $EGREP "$file_magic_regex" > /dev/null; then
8211             :
8212           else
8213             cat <<_LT_EOF 1>&2
8214
8215 *** Warning: the command libtool uses to detect shared libraries,
8216 *** $file_magic_cmd, produces output that libtool cannot recognize.
8217 *** The result is that libtool may fail to recognize shared libraries
8218 *** as such.  This will affect the creation of libtool libraries that
8219 *** depend on shared libraries, but programs linked with such libtool
8220 *** libraries will work regardless of this problem.  Nevertheless, you
8221 *** may want to report the problem to your system manager and/or to
8222 *** bug-libtool@gnu.org
8223
8224 _LT_EOF
8225           fi ;;
8226         esac
8227       fi
8228       break
8229     fi
8230   done
8231   IFS="$lt_save_ifs"
8232   MAGIC_CMD="$lt_save_MAGIC_CMD"
8233   ;;
8234 esac
8235 fi
8236
8237 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8238 if test -n "$MAGIC_CMD"; then
8239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8240 $as_echo "$MAGIC_CMD" >&6; }
8241 else
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8243 $as_echo "no" >&6; }
8244 fi
8245
8246
8247
8248
8249
8250 if test -z "$lt_cv_path_MAGIC_CMD"; then
8251   if test -n "$ac_tool_prefix"; then
8252     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8253 $as_echo_n "checking for file... " >&6; }
8254 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8255   $as_echo_n "(cached) " >&6
8256 else
8257   case $MAGIC_CMD in
8258 [\\/*] |  ?:[\\/]*)
8259   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8260   ;;
8261 *)
8262   lt_save_MAGIC_CMD="$MAGIC_CMD"
8263   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8264   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8265   for ac_dir in $ac_dummy; do
8266     IFS="$lt_save_ifs"
8267     test -z "$ac_dir" && ac_dir=.
8268     if test -f $ac_dir/file; then
8269       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8270       if test -n "$file_magic_test_file"; then
8271         case $deplibs_check_method in
8272         "file_magic "*)
8273           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8274           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8275           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8276             $EGREP "$file_magic_regex" > /dev/null; then
8277             :
8278           else
8279             cat <<_LT_EOF 1>&2
8280
8281 *** Warning: the command libtool uses to detect shared libraries,
8282 *** $file_magic_cmd, produces output that libtool cannot recognize.
8283 *** The result is that libtool may fail to recognize shared libraries
8284 *** as such.  This will affect the creation of libtool libraries that
8285 *** depend on shared libraries, but programs linked with such libtool
8286 *** libraries will work regardless of this problem.  Nevertheless, you
8287 *** may want to report the problem to your system manager and/or to
8288 *** bug-libtool@gnu.org
8289
8290 _LT_EOF
8291           fi ;;
8292         esac
8293       fi
8294       break
8295     fi
8296   done
8297   IFS="$lt_save_ifs"
8298   MAGIC_CMD="$lt_save_MAGIC_CMD"
8299   ;;
8300 esac
8301 fi
8302
8303 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8304 if test -n "$MAGIC_CMD"; then
8305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8306 $as_echo "$MAGIC_CMD" >&6; }
8307 else
8308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8310 fi
8311
8312
8313   else
8314     MAGIC_CMD=:
8315   fi
8316 fi
8317
8318   fi
8319   ;;
8320 esac
8321
8322 # Use C for the default configuration in the libtool script
8323
8324 lt_save_CC="$CC"
8325 ac_ext=c
8326 ac_cpp='$CPP $CPPFLAGS'
8327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8330
8331
8332 # Source file extension for C test sources.
8333 ac_ext=c
8334
8335 # Object file extension for compiled C test sources.
8336 objext=o
8337 objext=$objext
8338
8339 # Code to be used in simple compile tests
8340 lt_simple_compile_test_code="int some_variable = 0;"
8341
8342 # Code to be used in simple link tests
8343 lt_simple_link_test_code='int main(){return(0);}'
8344
8345
8346
8347
8348
8349
8350
8351 # If no C compiler was specified, use CC.
8352 LTCC=${LTCC-"$CC"}
8353
8354 # If no C compiler flags were specified, use CFLAGS.
8355 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8356
8357 # Allow CC to be a program name with arguments.
8358 compiler=$CC
8359
8360 # Save the default compiler, since it gets overwritten when the other
8361 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8362 compiler_DEFAULT=$CC
8363
8364 # save warnings/boilerplate of simple test code
8365 ac_outfile=conftest.$ac_objext
8366 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8367 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8368 _lt_compiler_boilerplate=`cat conftest.err`
8369 $RM conftest*
8370
8371 ac_outfile=conftest.$ac_objext
8372 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8373 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8374 _lt_linker_boilerplate=`cat conftest.err`
8375 $RM -r conftest*
8376
8377
8378 ## CAVEAT EMPTOR:
8379 ## There is no encapsulation within the following macros, do not change
8380 ## the running order or otherwise move them around unless you know exactly
8381 ## what you are doing...
8382 if test -n "$compiler"; then
8383
8384 lt_prog_compiler_no_builtin_flag=
8385
8386 if test "$GCC" = yes; then
8387   case $cc_basename in
8388   nvcc*)
8389     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8390   *)
8391     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8392   esac
8393
8394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8395 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8396 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8397   $as_echo_n "(cached) " >&6
8398 else
8399   lt_cv_prog_compiler_rtti_exceptions=no
8400    ac_outfile=conftest.$ac_objext
8401    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8402    lt_compiler_flag="-fno-rtti -fno-exceptions"
8403    # Insert the option either (1) after the last *FLAGS variable, or
8404    # (2) before a word containing "conftest.", or (3) at the end.
8405    # Note that $ac_compile itself does not contain backslashes and begins
8406    # with a dollar sign (not a hyphen), so the echo should work correctly.
8407    # The option is referenced via a variable to avoid confusing sed.
8408    lt_compile=`echo "$ac_compile" | $SED \
8409    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8410    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8411    -e 's:$: $lt_compiler_flag:'`
8412    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8413    (eval "$lt_compile" 2>conftest.err)
8414    ac_status=$?
8415    cat conftest.err >&5
8416    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417    if (exit $ac_status) && test -s "$ac_outfile"; then
8418      # The compiler can only warn and ignore the option if not recognized
8419      # So say no if there are warnings other than the usual output.
8420      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8421      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8422      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8423        lt_cv_prog_compiler_rtti_exceptions=yes
8424      fi
8425    fi
8426    $RM conftest*
8427
8428 fi
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8430 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8431
8432 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8433     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8434 else
8435     :
8436 fi
8437
8438 fi
8439
8440
8441
8442
8443
8444
8445   lt_prog_compiler_wl=
8446 lt_prog_compiler_pic=
8447 lt_prog_compiler_static=
8448
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8450 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8451
8452   if test "$GCC" = yes; then
8453     lt_prog_compiler_wl='-Wl,'
8454     lt_prog_compiler_static='-static'
8455
8456     case $host_os in
8457       aix*)
8458       # All AIX code is PIC.
8459       if test "$host_cpu" = ia64; then
8460         # AIX 5 now supports IA64 processor
8461         lt_prog_compiler_static='-Bstatic'
8462       fi
8463       ;;
8464
8465     amigaos*)
8466       case $host_cpu in
8467       powerpc)
8468             # see comment about AmigaOS4 .so support
8469             lt_prog_compiler_pic='-fPIC'
8470         ;;
8471       m68k)
8472             # FIXME: we need at least 68020 code to build shared libraries, but
8473             # adding the `-m68020' flag to GCC prevents building anything better,
8474             # like `-m68040'.
8475             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8476         ;;
8477       esac
8478       ;;
8479
8480     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8481       # PIC is the default for these OSes.
8482       ;;
8483
8484     mingw* | cygwin* | pw32* | os2* | cegcc*)
8485       # This hack is so that the source file can tell whether it is being
8486       # built for inclusion in a dll (and should export symbols for example).
8487       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8488       # (--disable-auto-import) libraries
8489       lt_prog_compiler_pic='-DDLL_EXPORT'
8490       ;;
8491
8492     darwin* | rhapsody*)
8493       # PIC is the default on this platform
8494       # Common symbols not allowed in MH_DYLIB files
8495       lt_prog_compiler_pic='-fno-common'
8496       ;;
8497
8498     haiku*)
8499       # PIC is the default for Haiku.
8500       # The "-static" flag exists, but is broken.
8501       lt_prog_compiler_static=
8502       ;;
8503
8504     hpux*)
8505       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8506       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8507       # sets the default TLS model and affects inlining.
8508       case $host_cpu in
8509       hppa*64*)
8510         # +Z the default
8511         ;;
8512       *)
8513         lt_prog_compiler_pic='-fPIC'
8514         ;;
8515       esac
8516       ;;
8517
8518     interix[3-9]*)
8519       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8520       # Instead, we relocate shared libraries at runtime.
8521       ;;
8522
8523     msdosdjgpp*)
8524       # Just because we use GCC doesn't mean we suddenly get shared libraries
8525       # on systems that don't support them.
8526       lt_prog_compiler_can_build_shared=no
8527       enable_shared=no
8528       ;;
8529
8530     *nto* | *qnx*)
8531       # QNX uses GNU C++, but need to define -shared option too, otherwise
8532       # it will coredump.
8533       lt_prog_compiler_pic='-fPIC -shared'
8534       ;;
8535
8536     sysv4*MP*)
8537       if test -d /usr/nec; then
8538         lt_prog_compiler_pic=-Kconform_pic
8539       fi
8540       ;;
8541
8542     *)
8543       lt_prog_compiler_pic='-fPIC'
8544       ;;
8545     esac
8546
8547     case $cc_basename in
8548     nvcc*) # Cuda Compiler Driver 2.2
8549       lt_prog_compiler_wl='-Xlinker '
8550       lt_prog_compiler_pic='-Xcompiler -fPIC'
8551       ;;
8552     esac
8553   else
8554     # PORTME Check for flag to pass linker flags through the system compiler.
8555     case $host_os in
8556     aix*)
8557       lt_prog_compiler_wl='-Wl,'
8558       if test "$host_cpu" = ia64; then
8559         # AIX 5 now supports IA64 processor
8560         lt_prog_compiler_static='-Bstatic'
8561       else
8562         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8563       fi
8564       ;;
8565
8566     mingw* | cygwin* | pw32* | os2* | cegcc*)
8567       # This hack is so that the source file can tell whether it is being
8568       # built for inclusion in a dll (and should export symbols for example).
8569       lt_prog_compiler_pic='-DDLL_EXPORT'
8570       ;;
8571
8572     hpux9* | hpux10* | hpux11*)
8573       lt_prog_compiler_wl='-Wl,'
8574       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8575       # not for PA HP-UX.
8576       case $host_cpu in
8577       hppa*64*|ia64*)
8578         # +Z the default
8579         ;;
8580       *)
8581         lt_prog_compiler_pic='+Z'
8582         ;;
8583       esac
8584       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8585       lt_prog_compiler_static='${wl}-a ${wl}archive'
8586       ;;
8587
8588     irix5* | irix6* | nonstopux*)
8589       lt_prog_compiler_wl='-Wl,'
8590       # PIC (with -KPIC) is the default.
8591       lt_prog_compiler_static='-non_shared'
8592       ;;
8593
8594     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8595       case $cc_basename in
8596       # old Intel for x86_64 which still supported -KPIC.
8597       ecc*)
8598         lt_prog_compiler_wl='-Wl,'
8599         lt_prog_compiler_pic='-KPIC'
8600         lt_prog_compiler_static='-static'
8601         ;;
8602       # icc used to be incompatible with GCC.
8603       # ICC 10 doesn't accept -KPIC any more.
8604       icc* | ifort*)
8605         lt_prog_compiler_wl='-Wl,'
8606         lt_prog_compiler_pic='-fPIC'
8607         lt_prog_compiler_static='-static'
8608         ;;
8609       # Lahey Fortran 8.1.
8610       lf95*)
8611         lt_prog_compiler_wl='-Wl,'
8612         lt_prog_compiler_pic='--shared'
8613         lt_prog_compiler_static='--static'
8614         ;;
8615       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8616         # Portland Group compilers (*not* the Pentium gcc compiler,
8617         # which looks to be a dead project)
8618         lt_prog_compiler_wl='-Wl,'
8619         lt_prog_compiler_pic='-fpic'
8620         lt_prog_compiler_static='-Bstatic'
8621         ;;
8622       ccc*)
8623         lt_prog_compiler_wl='-Wl,'
8624         # All Alpha code is PIC.
8625         lt_prog_compiler_static='-non_shared'
8626         ;;
8627       xl* | bgxl* | bgf* | mpixl*)
8628         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8629         lt_prog_compiler_wl='-Wl,'
8630         lt_prog_compiler_pic='-qpic'
8631         lt_prog_compiler_static='-qstaticlink'
8632         ;;
8633       *)
8634         case `$CC -V 2>&1 | sed 5q` in
8635         *Sun\ F* | *Sun*Fortran*)
8636           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8637           lt_prog_compiler_pic='-KPIC'
8638           lt_prog_compiler_static='-Bstatic'
8639           lt_prog_compiler_wl=''
8640           ;;
8641         *Sun\ C*)
8642           # Sun C 5.9
8643           lt_prog_compiler_pic='-KPIC'
8644           lt_prog_compiler_static='-Bstatic'
8645           lt_prog_compiler_wl='-Wl,'
8646           ;;
8647         esac
8648         ;;
8649       esac
8650       ;;
8651
8652     newsos6)
8653       lt_prog_compiler_pic='-KPIC'
8654       lt_prog_compiler_static='-Bstatic'
8655       ;;
8656
8657     *nto* | *qnx*)
8658       # QNX uses GNU C++, but need to define -shared option too, otherwise
8659       # it will coredump.
8660       lt_prog_compiler_pic='-fPIC -shared'
8661       ;;
8662
8663     osf3* | osf4* | osf5*)
8664       lt_prog_compiler_wl='-Wl,'
8665       # All OSF/1 code is PIC.
8666       lt_prog_compiler_static='-non_shared'
8667       ;;
8668
8669     rdos*)
8670       lt_prog_compiler_static='-non_shared'
8671       ;;
8672
8673     solaris*)
8674       lt_prog_compiler_pic='-KPIC'
8675       lt_prog_compiler_static='-Bstatic'
8676       case $cc_basename in
8677       f77* | f90* | f95*)
8678         lt_prog_compiler_wl='-Qoption ld ';;
8679       *)
8680         lt_prog_compiler_wl='-Wl,';;
8681       esac
8682       ;;
8683
8684     sunos4*)
8685       lt_prog_compiler_wl='-Qoption ld '
8686       lt_prog_compiler_pic='-PIC'
8687       lt_prog_compiler_static='-Bstatic'
8688       ;;
8689
8690     sysv4 | sysv4.2uw2* | sysv4.3*)
8691       lt_prog_compiler_wl='-Wl,'
8692       lt_prog_compiler_pic='-KPIC'
8693       lt_prog_compiler_static='-Bstatic'
8694       ;;
8695
8696     sysv4*MP*)
8697       if test -d /usr/nec ;then
8698         lt_prog_compiler_pic='-Kconform_pic'
8699         lt_prog_compiler_static='-Bstatic'
8700       fi
8701       ;;
8702
8703     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8704       lt_prog_compiler_wl='-Wl,'
8705       lt_prog_compiler_pic='-KPIC'
8706       lt_prog_compiler_static='-Bstatic'
8707       ;;
8708
8709     unicos*)
8710       lt_prog_compiler_wl='-Wl,'
8711       lt_prog_compiler_can_build_shared=no
8712       ;;
8713
8714     uts4*)
8715       lt_prog_compiler_pic='-pic'
8716       lt_prog_compiler_static='-Bstatic'
8717       ;;
8718
8719     *)
8720       lt_prog_compiler_can_build_shared=no
8721       ;;
8722     esac
8723   fi
8724
8725 case $host_os in
8726   # For platforms which do not support PIC, -DPIC is meaningless:
8727   *djgpp*)
8728     lt_prog_compiler_pic=
8729     ;;
8730   *)
8731     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8732     ;;
8733 esac
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8735 $as_echo "$lt_prog_compiler_pic" >&6; }
8736
8737
8738
8739
8740
8741
8742 #
8743 # Check to make sure the PIC flag actually works.
8744 #
8745 if test -n "$lt_prog_compiler_pic"; then
8746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8747 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8748 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8749   $as_echo_n "(cached) " >&6
8750 else
8751   lt_cv_prog_compiler_pic_works=no
8752    ac_outfile=conftest.$ac_objext
8753    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8754    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8755    # Insert the option either (1) after the last *FLAGS variable, or
8756    # (2) before a word containing "conftest.", or (3) at the end.
8757    # Note that $ac_compile itself does not contain backslashes and begins
8758    # with a dollar sign (not a hyphen), so the echo should work correctly.
8759    # The option is referenced via a variable to avoid confusing sed.
8760    lt_compile=`echo "$ac_compile" | $SED \
8761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8763    -e 's:$: $lt_compiler_flag:'`
8764    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8765    (eval "$lt_compile" 2>conftest.err)
8766    ac_status=$?
8767    cat conftest.err >&5
8768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8769    if (exit $ac_status) && test -s "$ac_outfile"; then
8770      # The compiler can only warn and ignore the option if not recognized
8771      # So say no if there are warnings other than the usual output.
8772      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8773      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8774      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8775        lt_cv_prog_compiler_pic_works=yes
8776      fi
8777    fi
8778    $RM conftest*
8779
8780 fi
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8782 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8783
8784 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8785     case $lt_prog_compiler_pic in
8786      "" | " "*) ;;
8787      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8788      esac
8789 else
8790     lt_prog_compiler_pic=
8791      lt_prog_compiler_can_build_shared=no
8792 fi
8793
8794 fi
8795
8796
8797
8798
8799
8800
8801 #
8802 # Check to make sure the static flag actually works.
8803 #
8804 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8806 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8807 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8808   $as_echo_n "(cached) " >&6
8809 else
8810   lt_cv_prog_compiler_static_works=no
8811    save_LDFLAGS="$LDFLAGS"
8812    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8813    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8814    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8815      # The linker can only warn and ignore the option if not recognized
8816      # So say no if there are warnings
8817      if test -s conftest.err; then
8818        # Append any errors to the config.log.
8819        cat conftest.err 1>&5
8820        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8821        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8822        if diff conftest.exp conftest.er2 >/dev/null; then
8823          lt_cv_prog_compiler_static_works=yes
8824        fi
8825      else
8826        lt_cv_prog_compiler_static_works=yes
8827      fi
8828    fi
8829    $RM -r conftest*
8830    LDFLAGS="$save_LDFLAGS"
8831
8832 fi
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8834 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8835
8836 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8837     :
8838 else
8839     lt_prog_compiler_static=
8840 fi
8841
8842
8843
8844
8845
8846
8847
8848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8849 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8850 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8851   $as_echo_n "(cached) " >&6
8852 else
8853   lt_cv_prog_compiler_c_o=no
8854    $RM -r conftest 2>/dev/null
8855    mkdir conftest
8856    cd conftest
8857    mkdir out
8858    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8859
8860    lt_compiler_flag="-o out/conftest2.$ac_objext"
8861    # Insert the option either (1) after the last *FLAGS variable, or
8862    # (2) before a word containing "conftest.", or (3) at the end.
8863    # Note that $ac_compile itself does not contain backslashes and begins
8864    # with a dollar sign (not a hyphen), so the echo should work correctly.
8865    lt_compile=`echo "$ac_compile" | $SED \
8866    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8867    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8868    -e 's:$: $lt_compiler_flag:'`
8869    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8870    (eval "$lt_compile" 2>out/conftest.err)
8871    ac_status=$?
8872    cat out/conftest.err >&5
8873    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8874    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8875    then
8876      # The compiler can only warn and ignore the option if not recognized
8877      # So say no if there are warnings
8878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8879      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8880      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8881        lt_cv_prog_compiler_c_o=yes
8882      fi
8883    fi
8884    chmod u+w . 2>&5
8885    $RM conftest*
8886    # SGI C++ compiler will create directory out/ii_files/ for
8887    # template instantiation
8888    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8889    $RM out/* && rmdir out
8890    cd ..
8891    $RM -r conftest
8892    $RM conftest*
8893
8894 fi
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8896 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8897
8898
8899
8900
8901
8902
8903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906   $as_echo_n "(cached) " >&6
8907 else
8908   lt_cv_prog_compiler_c_o=no
8909    $RM -r conftest 2>/dev/null
8910    mkdir conftest
8911    cd conftest
8912    mkdir out
8913    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914
8915    lt_compiler_flag="-o out/conftest2.$ac_objext"
8916    # Insert the option either (1) after the last *FLAGS variable, or
8917    # (2) before a word containing "conftest.", or (3) at the end.
8918    # Note that $ac_compile itself does not contain backslashes and begins
8919    # with a dollar sign (not a hyphen), so the echo should work correctly.
8920    lt_compile=`echo "$ac_compile" | $SED \
8921    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923    -e 's:$: $lt_compiler_flag:'`
8924    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925    (eval "$lt_compile" 2>out/conftest.err)
8926    ac_status=$?
8927    cat out/conftest.err >&5
8928    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930    then
8931      # The compiler can only warn and ignore the option if not recognized
8932      # So say no if there are warnings
8933      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936        lt_cv_prog_compiler_c_o=yes
8937      fi
8938    fi
8939    chmod u+w . 2>&5
8940    $RM conftest*
8941    # SGI C++ compiler will create directory out/ii_files/ for
8942    # template instantiation
8943    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944    $RM out/* && rmdir out
8945    cd ..
8946    $RM -r conftest
8947    $RM conftest*
8948
8949 fi
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952
8953
8954
8955
8956 hard_links="nottested"
8957 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8958   # do not overwrite the value of need_locks provided by the user
8959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8960 $as_echo_n "checking if we can lock with hard links... " >&6; }
8961   hard_links=yes
8962   $RM conftest*
8963   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8964   touch conftest.a
8965   ln conftest.a conftest.b 2>&5 || hard_links=no
8966   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8968 $as_echo "$hard_links" >&6; }
8969   if test "$hard_links" = no; then
8970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8972     need_locks=warn
8973   fi
8974 else
8975   need_locks=no
8976 fi
8977
8978
8979
8980
8981
8982
8983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8984 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8985
8986   runpath_var=
8987   allow_undefined_flag=
8988   always_export_symbols=no
8989   archive_cmds=
8990   archive_expsym_cmds=
8991   compiler_needs_object=no
8992   enable_shared_with_static_runtimes=no
8993   export_dynamic_flag_spec=
8994   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8995   hardcode_automatic=no
8996   hardcode_direct=no
8997   hardcode_direct_absolute=no
8998   hardcode_libdir_flag_spec=
8999   hardcode_libdir_flag_spec_ld=
9000   hardcode_libdir_separator=
9001   hardcode_minus_L=no
9002   hardcode_shlibpath_var=unsupported
9003   inherit_rpath=no
9004   link_all_deplibs=unknown
9005   module_cmds=
9006   module_expsym_cmds=
9007   old_archive_from_new_cmds=
9008   old_archive_from_expsyms_cmds=
9009   thread_safe_flag_spec=
9010   whole_archive_flag_spec=
9011   # include_expsyms should be a list of space-separated symbols to be *always*
9012   # included in the symbol list
9013   include_expsyms=
9014   # exclude_expsyms can be an extended regexp of symbols to exclude
9015   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9016   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9017   # as well as any symbol that contains `d'.
9018   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9019   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9020   # platforms (ab)use it in PIC code, but their linkers get confused if
9021   # the symbol is explicitly referenced.  Since portable code cannot
9022   # rely on this symbol name, it's probably fine to never include it in
9023   # preloaded symbol tables.
9024   # Exclude shared library initialization/finalization symbols.
9025   extract_expsyms_cmds=
9026
9027   case $host_os in
9028   cygwin* | mingw* | pw32* | cegcc*)
9029     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9030     # When not using gcc, we currently assume that we are using
9031     # Microsoft Visual C++.
9032     if test "$GCC" != yes; then
9033       with_gnu_ld=no
9034     fi
9035     ;;
9036   interix*)
9037     # we just hope/assume this is gcc and not c89 (= MSVC++)
9038     with_gnu_ld=yes
9039     ;;
9040   openbsd*)
9041     with_gnu_ld=no
9042     ;;
9043   esac
9044
9045   ld_shlibs=yes
9046
9047   # On some targets, GNU ld is compatible enough with the native linker
9048   # that we're better off using the native interface for both.
9049   lt_use_gnu_ld_interface=no
9050   if test "$with_gnu_ld" = yes; then
9051     case $host_os in
9052       aix*)
9053         # The AIX port of GNU ld has always aspired to compatibility
9054         # with the native linker.  However, as the warning in the GNU ld
9055         # block says, versions before 2.19.5* couldn't really create working
9056         # shared libraries, regardless of the interface used.
9057         case `$LD -v 2>&1` in
9058           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9059           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9060           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9061           *)
9062             lt_use_gnu_ld_interface=yes
9063             ;;
9064         esac
9065         ;;
9066       *)
9067         lt_use_gnu_ld_interface=yes
9068         ;;
9069     esac
9070   fi
9071
9072   if test "$lt_use_gnu_ld_interface" = yes; then
9073     # If archive_cmds runs LD, not CC, wlarc should be empty
9074     wlarc='${wl}'
9075
9076     # Set some defaults for GNU ld with shared library support. These
9077     # are reset later if shared libraries are not supported. Putting them
9078     # here allows them to be overridden if necessary.
9079     runpath_var=LD_RUN_PATH
9080     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9081     export_dynamic_flag_spec='${wl}--export-dynamic'
9082     # ancient GNU ld didn't support --whole-archive et. al.
9083     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9084       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9085     else
9086       whole_archive_flag_spec=
9087     fi
9088     supports_anon_versioning=no
9089     case `$LD -v 2>&1` in
9090       *GNU\ gold*) supports_anon_versioning=yes ;;
9091       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9092       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9093       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9094       *\ 2.11.*) ;; # other 2.11 versions
9095       *) supports_anon_versioning=yes ;;
9096     esac
9097
9098     # See if GNU ld supports shared libraries.
9099     case $host_os in
9100     aix[3-9]*)
9101       # On AIX/PPC, the GNU linker is very broken
9102       if test "$host_cpu" != ia64; then
9103         ld_shlibs=no
9104         cat <<_LT_EOF 1>&2
9105
9106 *** Warning: the GNU linker, at least up to release 2.19, is reported
9107 *** to be unable to reliably create shared libraries on AIX.
9108 *** Therefore, libtool is disabling shared libraries support.  If you
9109 *** really care for shared libraries, you may want to install binutils
9110 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9111 *** You will then need to restart the configuration process.
9112
9113 _LT_EOF
9114       fi
9115       ;;
9116
9117     amigaos*)
9118       case $host_cpu in
9119       powerpc)
9120             # see comment about AmigaOS4 .so support
9121             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9122             archive_expsym_cmds=''
9123         ;;
9124       m68k)
9125             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9126             hardcode_libdir_flag_spec='-L$libdir'
9127             hardcode_minus_L=yes
9128         ;;
9129       esac
9130       ;;
9131
9132     beos*)
9133       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9134         allow_undefined_flag=unsupported
9135         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9136         # support --undefined.  This deserves some investigation.  FIXME
9137         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138       else
9139         ld_shlibs=no
9140       fi
9141       ;;
9142
9143     cygwin* | mingw* | pw32* | cegcc*)
9144       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9145       # as there is no search path for DLLs.
9146       hardcode_libdir_flag_spec='-L$libdir'
9147       export_dynamic_flag_spec='${wl}--export-all-symbols'
9148       allow_undefined_flag=unsupported
9149       always_export_symbols=no
9150       enable_shared_with_static_runtimes=yes
9151       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9152
9153       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9154         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9155         # If the export-symbols file already is a .def file (1st line
9156         # is EXPORTS), use it as is; otherwise, prepend...
9157         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9158           cp $export_symbols $output_objdir/$soname.def;
9159         else
9160           echo EXPORTS > $output_objdir/$soname.def;
9161           cat $export_symbols >> $output_objdir/$soname.def;
9162         fi~
9163         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9164       else
9165         ld_shlibs=no
9166       fi
9167       ;;
9168
9169     haiku*)
9170       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9171       link_all_deplibs=yes
9172       ;;
9173
9174     interix[3-9]*)
9175       hardcode_direct=no
9176       hardcode_shlibpath_var=no
9177       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9178       export_dynamic_flag_spec='${wl}-E'
9179       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9180       # Instead, shared libraries are loaded at an image base (0x10000000 by
9181       # default) and relocated if they conflict, which is a slow very memory
9182       # consuming and fragmenting process.  To avoid this, we pick a random,
9183       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9184       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9185       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9186       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9187       ;;
9188
9189     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9190       tmp_diet=no
9191       if test "$host_os" = linux-dietlibc; then
9192         case $cc_basename in
9193           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9194         esac
9195       fi
9196       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9197          && test "$tmp_diet" = no
9198       then
9199         tmp_addflag=
9200         tmp_sharedflag='-shared'
9201         case $cc_basename,$host_cpu in
9202         pgcc*)                          # Portland Group C compiler
9203           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9204           tmp_addflag=' $pic_flag'
9205           ;;
9206         pgf77* | pgf90* | pgf95* | pgfortran*)
9207                                         # Portland Group f77 and f90 compilers
9208           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9209           tmp_addflag=' $pic_flag -Mnomain' ;;
9210         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9211           tmp_addflag=' -i_dynamic' ;;
9212         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9213           tmp_addflag=' -i_dynamic -nofor_main' ;;
9214         ifc* | ifort*)                  # Intel Fortran compiler
9215           tmp_addflag=' -nofor_main' ;;
9216         lf95*)                          # Lahey Fortran 8.1
9217           whole_archive_flag_spec=
9218           tmp_sharedflag='--shared' ;;
9219         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9220           tmp_sharedflag='-qmkshrobj'
9221           tmp_addflag= ;;
9222         nvcc*)  # Cuda Compiler Driver 2.2
9223           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9224           compiler_needs_object=yes
9225           ;;
9226         esac
9227         case `$CC -V 2>&1 | sed 5q` in
9228         *Sun\ C*)                       # Sun C 5.9
9229           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9230           compiler_needs_object=yes
9231           tmp_sharedflag='-G' ;;
9232         *Sun\ F*)                       # Sun Fortran 8.3
9233           tmp_sharedflag='-G' ;;
9234         esac
9235         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236
9237         if test "x$supports_anon_versioning" = xyes; then
9238           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9239             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9240             echo "local: *; };" >> $output_objdir/$libname.ver~
9241             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9242         fi
9243
9244         case $cc_basename in
9245         xlf* | bgf* | bgxlf* | mpixlf*)
9246           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9247           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9248           hardcode_libdir_flag_spec=
9249           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9250           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9251           if test "x$supports_anon_versioning" = xyes; then
9252             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9253               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9254               echo "local: *; };" >> $output_objdir/$libname.ver~
9255               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9256           fi
9257           ;;
9258         esac
9259       else
9260         ld_shlibs=no
9261       fi
9262       ;;
9263
9264     netbsd*)
9265       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9266         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9267         wlarc=
9268       else
9269         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9270         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9271       fi
9272       ;;
9273
9274     solaris*)
9275       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9276         ld_shlibs=no
9277         cat <<_LT_EOF 1>&2
9278
9279 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9280 *** create shared libraries on Solaris systems.  Therefore, libtool
9281 *** is disabling shared libraries support.  We urge you to upgrade GNU
9282 *** binutils to release 2.9.1 or newer.  Another option is to modify
9283 *** your PATH or compiler configuration so that the native linker is
9284 *** used, and then restart.
9285
9286 _LT_EOF
9287       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9288         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9289         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9290       else
9291         ld_shlibs=no
9292       fi
9293       ;;
9294
9295     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9296       case `$LD -v 2>&1` in
9297         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9298         ld_shlibs=no
9299         cat <<_LT_EOF 1>&2
9300
9301 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9302 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9303 *** is disabling shared libraries support.  We urge you to upgrade GNU
9304 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9305 *** your PATH or compiler configuration so that the native linker is
9306 *** used, and then restart.
9307
9308 _LT_EOF
9309         ;;
9310         *)
9311           # For security reasons, it is highly recommended that you always
9312           # use absolute paths for naming shared libraries, and exclude the
9313           # DT_RUNPATH tag from executables and libraries.  But doing so
9314           # requires that you compile everything twice, which is a pain.
9315           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9316             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9317             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9318             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319           else
9320             ld_shlibs=no
9321           fi
9322         ;;
9323       esac
9324       ;;
9325
9326     sunos4*)
9327       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9328       wlarc=
9329       hardcode_direct=yes
9330       hardcode_shlibpath_var=no
9331       ;;
9332
9333     *)
9334       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9335         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9336         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9337       else
9338         ld_shlibs=no
9339       fi
9340       ;;
9341     esac
9342
9343     if test "$ld_shlibs" = no; then
9344       runpath_var=
9345       hardcode_libdir_flag_spec=
9346       export_dynamic_flag_spec=
9347       whole_archive_flag_spec=
9348     fi
9349   else
9350     # PORTME fill in a description of your system's linker (not GNU ld)
9351     case $host_os in
9352     aix3*)
9353       allow_undefined_flag=unsupported
9354       always_export_symbols=yes
9355       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9356       # Note: this linker hardcodes the directories in LIBPATH if there
9357       # are no directories specified by -L.
9358       hardcode_minus_L=yes
9359       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9360         # Neither direct hardcoding nor static linking is supported with a
9361         # broken collect2.
9362         hardcode_direct=unsupported
9363       fi
9364       ;;
9365
9366     aix[4-9]*)
9367       if test "$host_cpu" = ia64; then
9368         # On IA64, the linker does run time linking by default, so we don't
9369         # have to do anything special.
9370         aix_use_runtimelinking=no
9371         exp_sym_flag='-Bexport'
9372         no_entry_flag=""
9373       else
9374         # If we're using GNU nm, then we don't want the "-C" option.
9375         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9376         # Also, AIX nm treats weak defined symbols like other global
9377         # defined symbols, whereas GNU nm marks them as "W".
9378         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9379           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9380         else
9381           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9382         fi
9383         aix_use_runtimelinking=no
9384
9385         # Test if we are trying to use run time linking or normal
9386         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9387         # need to do runtime linking.
9388         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9389           for ld_flag in $LDFLAGS; do
9390           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9391             aix_use_runtimelinking=yes
9392             break
9393           fi
9394           done
9395           ;;
9396         esac
9397
9398         exp_sym_flag='-bexport'
9399         no_entry_flag='-bnoentry'
9400       fi
9401
9402       # When large executables or shared objects are built, AIX ld can
9403       # have problems creating the table of contents.  If linking a library
9404       # or program results in "error TOC overflow" add -mminimal-toc to
9405       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9406       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9407
9408       archive_cmds=''
9409       hardcode_direct=yes
9410       hardcode_direct_absolute=yes
9411       hardcode_libdir_separator=':'
9412       link_all_deplibs=yes
9413       file_list_spec='${wl}-f,'
9414
9415       if test "$GCC" = yes; then
9416         case $host_os in aix4.[012]|aix4.[012].*)
9417         # We only want to do this on AIX 4.2 and lower, the check
9418         # below for broken collect2 doesn't work under 4.3+
9419           collect2name=`${CC} -print-prog-name=collect2`
9420           if test -f "$collect2name" &&
9421            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9422           then
9423           # We have reworked collect2
9424           :
9425           else
9426           # We have old collect2
9427           hardcode_direct=unsupported
9428           # It fails to find uninstalled libraries when the uninstalled
9429           # path is not listed in the libpath.  Setting hardcode_minus_L
9430           # to unsupported forces relinking
9431           hardcode_minus_L=yes
9432           hardcode_libdir_flag_spec='-L$libdir'
9433           hardcode_libdir_separator=
9434           fi
9435           ;;
9436         esac
9437         shared_flag='-shared'
9438         if test "$aix_use_runtimelinking" = yes; then
9439           shared_flag="$shared_flag "'${wl}-G'
9440         fi
9441       else
9442         # not using gcc
9443         if test "$host_cpu" = ia64; then
9444         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9445         # chokes on -Wl,-G. The following line is correct:
9446           shared_flag='-G'
9447         else
9448           if test "$aix_use_runtimelinking" = yes; then
9449             shared_flag='${wl}-G'
9450           else
9451             shared_flag='${wl}-bM:SRE'
9452           fi
9453         fi
9454       fi
9455
9456       export_dynamic_flag_spec='${wl}-bexpall'
9457       # It seems that -bexpall does not export symbols beginning with
9458       # underscore (_), so it is better to generate a list of symbols to export.
9459       always_export_symbols=yes
9460       if test "$aix_use_runtimelinking" = yes; then
9461         # Warning - without using the other runtime loading flags (-brtl),
9462         # -berok will link without error, but may produce a broken library.
9463         allow_undefined_flag='-berok'
9464         # Determine the default libpath from the value encoded in an
9465         # empty executable.
9466         if test x$gcc_no_link = xyes; then
9467   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9468 fi
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h.  */
9471
9472 int
9473 main ()
9474 {
9475
9476   ;
9477   return 0;
9478 }
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9481
9482 lt_aix_libpath_sed='
9483     /Import File Strings/,/^$/ {
9484         /^0/ {
9485             s/^0  *\(.*\)$/\1/
9486             p
9487         }
9488     }'
9489 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9490 # Check for a 64-bit object if we didn't find anything.
9491 if test -z "$aix_libpath"; then
9492   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9493 fi
9494 fi
9495 rm -f core conftest.err conftest.$ac_objext \
9496     conftest$ac_exeext conftest.$ac_ext
9497 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9498
9499         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9500         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9501       else
9502         if test "$host_cpu" = ia64; then
9503           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9504           allow_undefined_flag="-z nodefs"
9505           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9506         else
9507          # Determine the default libpath from the value encoded in an
9508          # empty executable.
9509          if test x$gcc_no_link = xyes; then
9510   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9511 fi
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h.  */
9514
9515 int
9516 main ()
9517 {
9518
9519   ;
9520   return 0;
9521 }
9522 _ACEOF
9523 if ac_fn_c_try_link "$LINENO"; then :
9524
9525 lt_aix_libpath_sed='
9526     /Import File Strings/,/^$/ {
9527         /^0/ {
9528             s/^0  *\(.*\)$/\1/
9529             p
9530         }
9531     }'
9532 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9533 # Check for a 64-bit object if we didn't find anything.
9534 if test -z "$aix_libpath"; then
9535   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9536 fi
9537 fi
9538 rm -f core conftest.err conftest.$ac_objext \
9539     conftest$ac_exeext conftest.$ac_ext
9540 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9541
9542          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9543           # Warning - without using the other run time loading flags,
9544           # -berok will link without error, but may produce a broken library.
9545           no_undefined_flag=' ${wl}-bernotok'
9546           allow_undefined_flag=' ${wl}-berok'
9547           if test "$with_gnu_ld" = yes; then
9548             # We only use this code for GNU lds that support --whole-archive.
9549             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9550           else
9551             # Exported symbols can be pulled into shared objects from archives
9552             whole_archive_flag_spec='$convenience'
9553           fi
9554           archive_cmds_need_lc=yes
9555           # This is similar to how AIX traditionally builds its shared libraries.
9556           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9557         fi
9558       fi
9559       ;;
9560
9561     amigaos*)
9562       case $host_cpu in
9563       powerpc)
9564             # see comment about AmigaOS4 .so support
9565             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9566             archive_expsym_cmds=''
9567         ;;
9568       m68k)
9569             archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9570             hardcode_libdir_flag_spec='-L$libdir'
9571             hardcode_minus_L=yes
9572         ;;
9573       esac
9574       ;;
9575
9576     bsdi[45]*)
9577       export_dynamic_flag_spec=-rdynamic
9578       ;;
9579
9580     cygwin* | mingw* | pw32* | cegcc*)
9581       # When not using gcc, we currently assume that we are using
9582       # Microsoft Visual C++.
9583       # hardcode_libdir_flag_spec is actually meaningless, as there is
9584       # no search path for DLLs.
9585       hardcode_libdir_flag_spec=' '
9586       allow_undefined_flag=unsupported
9587       # Tell ltmain to make .lib files, not .a files.
9588       libext=lib
9589       # Tell ltmain to make .dll files, not .so files.
9590       shrext_cmds=".dll"
9591       # FIXME: Setting linknames here is a bad hack.
9592       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9593       # The linker will automatically build a .lib file if we build a DLL.
9594       old_archive_from_new_cmds='true'
9595       # FIXME: Should let the user specify the lib program.
9596       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9597       fix_srcfile_path='`cygpath -w "$srcfile"`'
9598       enable_shared_with_static_runtimes=yes
9599       ;;
9600
9601     darwin* | rhapsody*)
9602
9603
9604   archive_cmds_need_lc=no
9605   hardcode_direct=no
9606   hardcode_automatic=yes
9607   hardcode_shlibpath_var=unsupported
9608   if test "$lt_cv_ld_force_load" = "yes"; then
9609     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9610   else
9611     whole_archive_flag_spec=''
9612   fi
9613   link_all_deplibs=yes
9614   allow_undefined_flag="$_lt_dar_allow_undefined"
9615   case $cc_basename in
9616      ifort*) _lt_dar_can_shared=yes ;;
9617      *) _lt_dar_can_shared=$GCC ;;
9618   esac
9619   if test "$_lt_dar_can_shared" = "yes"; then
9620     output_verbose_link_cmd=func_echo_all
9621     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9622     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9623     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9624     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9625
9626   else
9627   ld_shlibs=no
9628   fi
9629
9630       ;;
9631
9632     dgux*)
9633       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9634       hardcode_libdir_flag_spec='-L$libdir'
9635       hardcode_shlibpath_var=no
9636       ;;
9637
9638     freebsd1*)
9639       ld_shlibs=no
9640       ;;
9641
9642     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9643     # support.  Future versions do this automatically, but an explicit c++rt0.o
9644     # does not break anything, and helps significantly (at the cost of a little
9645     # extra space).
9646     freebsd2.2*)
9647       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9648       hardcode_libdir_flag_spec='-R$libdir'
9649       hardcode_direct=yes
9650       hardcode_shlibpath_var=no
9651       ;;
9652
9653     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9654     freebsd2*)
9655       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9656       hardcode_direct=yes
9657       hardcode_minus_L=yes
9658       hardcode_shlibpath_var=no
9659       ;;
9660
9661     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9662     freebsd* | dragonfly*)
9663       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9664       hardcode_libdir_flag_spec='-R$libdir'
9665       hardcode_direct=yes
9666       hardcode_shlibpath_var=no
9667       ;;
9668
9669     hpux9*)
9670       if test "$GCC" = yes; then
9671         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9672       else
9673         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9674       fi
9675       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9676       hardcode_libdir_separator=:
9677       hardcode_direct=yes
9678
9679       # hardcode_minus_L: Not really in the search PATH,
9680       # but as the default location of the library.
9681       hardcode_minus_L=yes
9682       export_dynamic_flag_spec='${wl}-E'
9683       ;;
9684
9685     hpux10*)
9686       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9687         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9688       else
9689         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9690       fi
9691       if test "$with_gnu_ld" = no; then
9692         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9693         hardcode_libdir_flag_spec_ld='+b $libdir'
9694         hardcode_libdir_separator=:
9695         hardcode_direct=yes
9696         hardcode_direct_absolute=yes
9697         export_dynamic_flag_spec='${wl}-E'
9698         # hardcode_minus_L: Not really in the search PATH,
9699         # but as the default location of the library.
9700         hardcode_minus_L=yes
9701       fi
9702       ;;
9703
9704     hpux11*)
9705       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9706         case $host_cpu in
9707         hppa*64*)
9708           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9709           ;;
9710         ia64*)
9711           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9712           ;;
9713         *)
9714           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9715           ;;
9716         esac
9717       else
9718         case $host_cpu in
9719         hppa*64*)
9720           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9721           ;;
9722         ia64*)
9723           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9724           ;;
9725         *)
9726
9727           # Older versions of the 11.00 compiler do not understand -b yet
9728           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9729           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9730 $as_echo_n "checking if $CC understands -b... " >&6; }
9731 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9732   $as_echo_n "(cached) " >&6
9733 else
9734   lt_cv_prog_compiler__b=no
9735    save_LDFLAGS="$LDFLAGS"
9736    LDFLAGS="$LDFLAGS -b"
9737    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9738    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9739      # The linker can only warn and ignore the option if not recognized
9740      # So say no if there are warnings
9741      if test -s conftest.err; then
9742        # Append any errors to the config.log.
9743        cat conftest.err 1>&5
9744        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9745        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9746        if diff conftest.exp conftest.er2 >/dev/null; then
9747          lt_cv_prog_compiler__b=yes
9748        fi
9749      else
9750        lt_cv_prog_compiler__b=yes
9751      fi
9752    fi
9753    $RM -r conftest*
9754    LDFLAGS="$save_LDFLAGS"
9755
9756 fi
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9758 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9759
9760 if test x"$lt_cv_prog_compiler__b" = xyes; then
9761     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9762 else
9763     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9764 fi
9765
9766           ;;
9767         esac
9768       fi
9769       if test "$with_gnu_ld" = no; then
9770         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9771         hardcode_libdir_separator=:
9772
9773         case $host_cpu in
9774         hppa*64*|ia64*)
9775           hardcode_direct=no
9776           hardcode_shlibpath_var=no
9777           ;;
9778         *)
9779           hardcode_direct=yes
9780           hardcode_direct_absolute=yes
9781           export_dynamic_flag_spec='${wl}-E'
9782
9783           # hardcode_minus_L: Not really in the search PATH,
9784           # but as the default location of the library.
9785           hardcode_minus_L=yes
9786           ;;
9787         esac
9788       fi
9789       ;;
9790
9791     irix5* | irix6* | nonstopux*)
9792       if test "$GCC" = yes; then
9793         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9794         # Try to use the -exported_symbol ld option, if it does not
9795         # work, assume that -exports_file does not work either and
9796         # implicitly export all symbols.
9797         save_LDFLAGS="$LDFLAGS"
9798         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9799         if test x$gcc_no_link = xyes; then
9800   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9801 fi
9802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803 /* end confdefs.h.  */
9804 int foo(void) {}
9805 _ACEOF
9806 if ac_fn_c_try_link "$LINENO"; then :
9807   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9808
9809 fi
9810 rm -f core conftest.err conftest.$ac_objext \
9811     conftest$ac_exeext conftest.$ac_ext
9812         LDFLAGS="$save_LDFLAGS"
9813       else
9814         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9815         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9816       fi
9817       archive_cmds_need_lc='no'
9818       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9819       hardcode_libdir_separator=:
9820       inherit_rpath=yes
9821       link_all_deplibs=yes
9822       ;;
9823
9824     netbsd*)
9825       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9826         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9827       else
9828         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9829       fi
9830       hardcode_libdir_flag_spec='-R$libdir'
9831       hardcode_direct=yes
9832       hardcode_shlibpath_var=no
9833       ;;
9834
9835     newsos6)
9836       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837       hardcode_direct=yes
9838       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9839       hardcode_libdir_separator=:
9840       hardcode_shlibpath_var=no
9841       ;;
9842
9843     *nto* | *qnx*)
9844       ;;
9845
9846     openbsd*)
9847       if test -f /usr/libexec/ld.so; then
9848         hardcode_direct=yes
9849         hardcode_shlibpath_var=no
9850         hardcode_direct_absolute=yes
9851         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9852           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9853           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9854           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9855           export_dynamic_flag_spec='${wl}-E'
9856         else
9857           case $host_os in
9858            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9859              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9860              hardcode_libdir_flag_spec='-R$libdir'
9861              ;;
9862            *)
9863              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9864              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9865              ;;
9866           esac
9867         fi
9868       else
9869         ld_shlibs=no
9870       fi
9871       ;;
9872
9873     os2*)
9874       hardcode_libdir_flag_spec='-L$libdir'
9875       hardcode_minus_L=yes
9876       allow_undefined_flag=unsupported
9877       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9878       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9879       ;;
9880
9881     osf3*)
9882       if test "$GCC" = yes; then
9883         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9884         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9885       else
9886         allow_undefined_flag=' -expect_unresolved \*'
9887         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9888       fi
9889       archive_cmds_need_lc='no'
9890       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9891       hardcode_libdir_separator=:
9892       ;;
9893
9894     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9895       if test "$GCC" = yes; then
9896         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9898         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899       else
9900         allow_undefined_flag=' -expect_unresolved \*'
9901         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9902         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9903         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9904
9905         # Both c and cxx compiler support -rpath directly
9906         hardcode_libdir_flag_spec='-rpath $libdir'
9907       fi
9908       archive_cmds_need_lc='no'
9909       hardcode_libdir_separator=:
9910       ;;
9911
9912     solaris*)
9913       no_undefined_flag=' -z defs'
9914       if test "$GCC" = yes; then
9915         wlarc='${wl}'
9916         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9917         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9918           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9919       else
9920         case `$CC -V 2>&1` in
9921         *"Compilers 5.0"*)
9922           wlarc=''
9923           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9925           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9926           ;;
9927         *)
9928           wlarc='${wl}'
9929           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9930           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9932           ;;
9933         esac
9934       fi
9935       hardcode_libdir_flag_spec='-R$libdir'
9936       hardcode_shlibpath_var=no
9937       case $host_os in
9938       solaris2.[0-5] | solaris2.[0-5].*) ;;
9939       *)
9940         # The compiler driver will combine and reorder linker options,
9941         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9942         # but is careful enough not to reorder.
9943         # Supported since Solaris 2.6 (maybe 2.5.1?)
9944         if test "$GCC" = yes; then
9945           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9946         else
9947           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9948         fi
9949         ;;
9950       esac
9951       link_all_deplibs=yes
9952       ;;
9953
9954     sunos4*)
9955       if test "x$host_vendor" = xsequent; then
9956         # Use $CC to link under sequent, because it throws in some extra .o
9957         # files that make .init and .fini sections work.
9958         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9959       else
9960         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9961       fi
9962       hardcode_libdir_flag_spec='-L$libdir'
9963       hardcode_direct=yes
9964       hardcode_minus_L=yes
9965       hardcode_shlibpath_var=no
9966       ;;
9967
9968     sysv4)
9969       case $host_vendor in
9970         sni)
9971           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972           hardcode_direct=yes # is this really true???
9973         ;;
9974         siemens)
9975           ## LD is ld it makes a PLAMLIB
9976           ## CC just makes a GrossModule.
9977           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9978           reload_cmds='$CC -r -o $output$reload_objs'
9979           hardcode_direct=no
9980         ;;
9981         motorola)
9982           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9983           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9984         ;;
9985       esac
9986       runpath_var='LD_RUN_PATH'
9987       hardcode_shlibpath_var=no
9988       ;;
9989
9990     sysv4.3*)
9991       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9992       hardcode_shlibpath_var=no
9993       export_dynamic_flag_spec='-Bexport'
9994       ;;
9995
9996     sysv4*MP*)
9997       if test -d /usr/nec; then
9998         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9999         hardcode_shlibpath_var=no
10000         runpath_var=LD_RUN_PATH
10001         hardcode_runpath_var=yes
10002         ld_shlibs=yes
10003       fi
10004       ;;
10005
10006     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10007       no_undefined_flag='${wl}-z,text'
10008       archive_cmds_need_lc=no
10009       hardcode_shlibpath_var=no
10010       runpath_var='LD_RUN_PATH'
10011
10012       if test "$GCC" = yes; then
10013         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10014         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015       else
10016         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10017         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018       fi
10019       ;;
10020
10021     sysv5* | sco3.2v5* | sco5v6*)
10022       # Note: We can NOT use -z defs as we might desire, because we do not
10023       # link with -lc, and that would cause any symbols used from libc to
10024       # always be unresolved, which means just about no library would
10025       # ever link correctly.  If we're not using GNU ld we use -z text
10026       # though, which does catch some bad symbols but isn't as heavy-handed
10027       # as -z defs.
10028       no_undefined_flag='${wl}-z,text'
10029       allow_undefined_flag='${wl}-z,nodefs'
10030       archive_cmds_need_lc=no
10031       hardcode_shlibpath_var=no
10032       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10033       hardcode_libdir_separator=':'
10034       link_all_deplibs=yes
10035       export_dynamic_flag_spec='${wl}-Bexport'
10036       runpath_var='LD_RUN_PATH'
10037
10038       if test "$GCC" = yes; then
10039         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10040         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10041       else
10042         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10043         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10044       fi
10045       ;;
10046
10047     uts4*)
10048       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049       hardcode_libdir_flag_spec='-L$libdir'
10050       hardcode_shlibpath_var=no
10051       ;;
10052
10053     *)
10054       ld_shlibs=no
10055       ;;
10056     esac
10057
10058     if test x$host_vendor = xsni; then
10059       case $host in
10060       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10061         export_dynamic_flag_spec='${wl}-Blargedynsym'
10062         ;;
10063       esac
10064     fi
10065   fi
10066
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10068 $as_echo "$ld_shlibs" >&6; }
10069 test "$ld_shlibs" = no && can_build_shared=no
10070
10071 with_gnu_ld=$with_gnu_ld
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087 #
10088 # Do we need to explicitly link libc?
10089 #
10090 case "x$archive_cmds_need_lc" in
10091 x|xyes)
10092   # Assume -lc should be added
10093   archive_cmds_need_lc=yes
10094
10095   if test "$enable_shared" = yes && test "$GCC" = yes; then
10096     case $archive_cmds in
10097     *'~'*)
10098       # FIXME: we may have to deal with multi-command sequences.
10099       ;;
10100     '$CC '*)
10101       # Test whether the compiler implicitly links with -lc since on some
10102       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10103       # to ld, don't add -lc before -lgcc.
10104       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10106 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10107   $as_echo_n "(cached) " >&6
10108 else
10109   $RM conftest*
10110         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10111
10112         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10113   (eval $ac_compile) 2>&5
10114   ac_status=$?
10115   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10116   test $ac_status = 0; } 2>conftest.err; then
10117           soname=conftest
10118           lib=conftest
10119           libobjs=conftest.$ac_objext
10120           deplibs=
10121           wl=$lt_prog_compiler_wl
10122           pic_flag=$lt_prog_compiler_pic
10123           compiler_flags=-v
10124           linker_flags=-v
10125           verstring=
10126           output_objdir=.
10127           libname=conftest
10128           lt_save_allow_undefined_flag=$allow_undefined_flag
10129           allow_undefined_flag=
10130           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10131   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10132   ac_status=$?
10133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10134   test $ac_status = 0; }
10135           then
10136             lt_cv_archive_cmds_need_lc=no
10137           else
10138             lt_cv_archive_cmds_need_lc=yes
10139           fi
10140           allow_undefined_flag=$lt_save_allow_undefined_flag
10141         else
10142           cat conftest.err 1>&5
10143         fi
10144         $RM conftest*
10145
10146 fi
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10148 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10149       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10150       ;;
10151     esac
10152   fi
10153   ;;
10154 esac
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10313 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10314
10315 if test "$GCC" = yes; then
10316   case $host_os in
10317     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10318     *) lt_awk_arg="/^libraries:/" ;;
10319   esac
10320   case $host_os in
10321     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10322     *) lt_sed_strip_eq="s,=/,/,g" ;;
10323   esac
10324   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10325   case $lt_search_path_spec in
10326   *\;*)
10327     # if the path contains ";" then we assume it to be the separator
10328     # otherwise default to the standard path separator (i.e. ":") - it is
10329     # assumed that no part of a normal pathname contains ";" but that should
10330     # okay in the real world where ";" in dirpaths is itself problematic.
10331     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10332     ;;
10333   *)
10334     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10335     ;;
10336   esac
10337   # Ok, now we have the path, separated by spaces, we can step through it
10338   # and add multilib dir if necessary.
10339   lt_tmp_lt_search_path_spec=
10340   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10341   for lt_sys_path in $lt_search_path_spec; do
10342     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10343       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10344     else
10345       test -d "$lt_sys_path" && \
10346         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10347     fi
10348   done
10349   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10350 BEGIN {RS=" "; FS="/|\n";} {
10351   lt_foo="";
10352   lt_count=0;
10353   for (lt_i = NF; lt_i > 0; lt_i--) {
10354     if ($lt_i != "" && $lt_i != ".") {
10355       if ($lt_i == "..") {
10356         lt_count++;
10357       } else {
10358         if (lt_count == 0) {
10359           lt_foo="/" $lt_i lt_foo;
10360         } else {
10361           lt_count--;
10362         }
10363       }
10364     }
10365   }
10366   if (lt_foo != "") { lt_freq[lt_foo]++; }
10367   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10368 }'`
10369   # AWK program above erroneously prepends '/' to C:/dos/paths
10370   # for these hosts.
10371   case $host_os in
10372     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10373       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10374   esac
10375   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10376 else
10377   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10378 fi
10379 library_names_spec=
10380 libname_spec='lib$name'
10381 soname_spec=
10382 shrext_cmds=".so"
10383 postinstall_cmds=
10384 postuninstall_cmds=
10385 finish_cmds=
10386 finish_eval=
10387 shlibpath_var=
10388 shlibpath_overrides_runpath=unknown
10389 version_type=none
10390 dynamic_linker="$host_os ld.so"
10391 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10392 need_lib_prefix=unknown
10393 hardcode_into_libs=no
10394
10395 # when you set need_version to no, make sure it does not cause -set_version
10396 # flags to be left without arguments
10397 need_version=unknown
10398
10399 case $host_os in
10400 aix3*)
10401   version_type=linux
10402   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10403   shlibpath_var=LIBPATH
10404
10405   # AIX 3 has no versioning support, so we append a major version to the name.
10406   soname_spec='${libname}${release}${shared_ext}$major'
10407   ;;
10408
10409 aix[4-9]*)
10410   version_type=linux
10411   need_lib_prefix=no
10412   need_version=no
10413   hardcode_into_libs=yes
10414   if test "$host_cpu" = ia64; then
10415     # AIX 5 supports IA64
10416     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10417     shlibpath_var=LD_LIBRARY_PATH
10418   else
10419     # With GCC up to 2.95.x, collect2 would create an import file
10420     # for dependence libraries.  The import file would start with
10421     # the line `#! .'.  This would cause the generated library to
10422     # depend on `.', always an invalid library.  This was fixed in
10423     # development snapshots of GCC prior to 3.0.
10424     case $host_os in
10425       aix4 | aix4.[01] | aix4.[01].*)
10426       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10427            echo ' yes '
10428            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10429         :
10430       else
10431         can_build_shared=no
10432       fi
10433       ;;
10434     esac
10435     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10436     # soname into executable. Probably we can add versioning support to
10437     # collect2, so additional links can be useful in future.
10438     if test "$aix_use_runtimelinking" = yes; then
10439       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10440       # instead of lib<name>.a to let people know that these are not
10441       # typical AIX shared libraries.
10442       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443     else
10444       # We preserve .a as extension for shared libraries through AIX4.2
10445       # and later when we are not doing run time linking.
10446       library_names_spec='${libname}${release}.a $libname.a'
10447       soname_spec='${libname}${release}${shared_ext}$major'
10448     fi
10449     shlibpath_var=LIBPATH
10450   fi
10451   ;;
10452
10453 amigaos*)
10454   case $host_cpu in
10455   powerpc)
10456     # Since July 2007 AmigaOS4 officially supports .so libraries.
10457     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10459     ;;
10460   m68k)
10461     library_names_spec='$libname.ixlibrary $libname.a'
10462     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10463     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10464     ;;
10465   esac
10466   ;;
10467
10468 beos*)
10469   library_names_spec='${libname}${shared_ext}'
10470   dynamic_linker="$host_os ld.so"
10471   shlibpath_var=LIBRARY_PATH
10472   ;;
10473
10474 bsdi[45]*)
10475   version_type=linux
10476   need_version=no
10477   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10478   soname_spec='${libname}${release}${shared_ext}$major'
10479   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10480   shlibpath_var=LD_LIBRARY_PATH
10481   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10482   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10483   # the default ld.so.conf also contains /usr/contrib/lib and
10484   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10485   # libtool to hard-code these into programs
10486   ;;
10487
10488 cygwin* | mingw* | pw32* | cegcc*)
10489   version_type=windows
10490   shrext_cmds=".dll"
10491   need_version=no
10492   need_lib_prefix=no
10493
10494   case $GCC,$host_os in
10495   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10496     library_names_spec='$libname.dll.a'
10497     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10498     postinstall_cmds='base_file=`basename \${file}`~
10499       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10500       dldir=$destdir/`dirname \$dlpath`~
10501       test -d \$dldir || mkdir -p \$dldir~
10502       $install_prog $dir/$dlname \$dldir/$dlname~
10503       chmod a+x \$dldir/$dlname~
10504       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10505         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10506       fi'
10507     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10508       dlpath=$dir/\$dldll~
10509        $RM \$dlpath'
10510     shlibpath_overrides_runpath=yes
10511
10512     case $host_os in
10513     cygwin*)
10514       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10515       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10516
10517       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10518       ;;
10519     mingw* | cegcc*)
10520       # MinGW DLLs use traditional 'lib' prefix
10521       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10522       ;;
10523     pw32*)
10524       # pw32 DLLs use 'pw' prefix rather than 'lib'
10525       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10526       ;;
10527     esac
10528     ;;
10529
10530   *)
10531     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10532     ;;
10533   esac
10534   dynamic_linker='Win32 ld.exe'
10535   # FIXME: first we should search . and the directory the executable is in
10536   shlibpath_var=PATH
10537   ;;
10538
10539 darwin* | rhapsody*)
10540   dynamic_linker="$host_os dyld"
10541   version_type=darwin
10542   need_lib_prefix=no
10543   need_version=no
10544   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10545   soname_spec='${libname}${release}${major}$shared_ext'
10546   shlibpath_overrides_runpath=yes
10547   shlibpath_var=DYLD_LIBRARY_PATH
10548   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10549
10550   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10551   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10552   ;;
10553
10554 dgux*)
10555   version_type=linux
10556   need_lib_prefix=no
10557   need_version=no
10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10559   soname_spec='${libname}${release}${shared_ext}$major'
10560   shlibpath_var=LD_LIBRARY_PATH
10561   ;;
10562
10563 freebsd1*)
10564   dynamic_linker=no
10565   ;;
10566
10567 freebsd* | dragonfly*)
10568   # DragonFly does not have aout.  When/if they implement a new
10569   # versioning mechanism, adjust this.
10570   if test -x /usr/bin/objformat; then
10571     objformat=`/usr/bin/objformat`
10572   else
10573     case $host_os in
10574     freebsd[123]*) objformat=aout ;;
10575     *) objformat=elf ;;
10576     esac
10577   fi
10578   version_type=freebsd-$objformat
10579   case $version_type in
10580     freebsd-elf*)
10581       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10582       need_version=no
10583       need_lib_prefix=no
10584       ;;
10585     freebsd-*)
10586       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10587       need_version=yes
10588       ;;
10589   esac
10590   shlibpath_var=LD_LIBRARY_PATH
10591   case $host_os in
10592   freebsd2*)
10593     shlibpath_overrides_runpath=yes
10594     ;;
10595   freebsd3.[01]* | freebsdelf3.[01]*)
10596     shlibpath_overrides_runpath=yes
10597     hardcode_into_libs=yes
10598     ;;
10599   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10600   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10601     shlibpath_overrides_runpath=no
10602     hardcode_into_libs=yes
10603     ;;
10604   *) # from 4.6 on, and DragonFly
10605     shlibpath_overrides_runpath=yes
10606     hardcode_into_libs=yes
10607     ;;
10608   esac
10609   ;;
10610
10611 gnu*)
10612   version_type=linux
10613   need_lib_prefix=no
10614   need_version=no
10615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10616   soname_spec='${libname}${release}${shared_ext}$major'
10617   shlibpath_var=LD_LIBRARY_PATH
10618   hardcode_into_libs=yes
10619   ;;
10620
10621 haiku*)
10622   version_type=linux
10623   need_lib_prefix=no
10624   need_version=no
10625   dynamic_linker="$host_os runtime_loader"
10626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10627   soname_spec='${libname}${release}${shared_ext}$major'
10628   shlibpath_var=LIBRARY_PATH
10629   shlibpath_overrides_runpath=yes
10630   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10631   hardcode_into_libs=yes
10632   ;;
10633
10634 hpux9* | hpux10* | hpux11*)
10635   # Give a soname corresponding to the major version so that dld.sl refuses to
10636   # link against other versions.
10637   version_type=sunos
10638   need_lib_prefix=no
10639   need_version=no
10640   case $host_cpu in
10641   ia64*)
10642     shrext_cmds='.so'
10643     hardcode_into_libs=yes
10644     dynamic_linker="$host_os dld.so"
10645     shlibpath_var=LD_LIBRARY_PATH
10646     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10647     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10648     soname_spec='${libname}${release}${shared_ext}$major'
10649     if test "X$HPUX_IA64_MODE" = X32; then
10650       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10651     else
10652       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10653     fi
10654     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10655     ;;
10656   hppa*64*)
10657     shrext_cmds='.sl'
10658     hardcode_into_libs=yes
10659     dynamic_linker="$host_os dld.sl"
10660     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10661     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10662     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663     soname_spec='${libname}${release}${shared_ext}$major'
10664     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10665     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10666     ;;
10667   *)
10668     shrext_cmds='.sl'
10669     dynamic_linker="$host_os dld.sl"
10670     shlibpath_var=SHLIB_PATH
10671     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10672     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673     soname_spec='${libname}${release}${shared_ext}$major'
10674     ;;
10675   esac
10676   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10677   postinstall_cmds='chmod 555 $lib'
10678   # or fails outright, so override atomically:
10679   install_override_mode=555
10680   ;;
10681
10682 interix[3-9]*)
10683   version_type=linux
10684   need_lib_prefix=no
10685   need_version=no
10686   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10687   soname_spec='${libname}${release}${shared_ext}$major'
10688   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10689   shlibpath_var=LD_LIBRARY_PATH
10690   shlibpath_overrides_runpath=no
10691   hardcode_into_libs=yes
10692   ;;
10693
10694 irix5* | irix6* | nonstopux*)
10695   case $host_os in
10696     nonstopux*) version_type=nonstopux ;;
10697     *)
10698         if test "$lt_cv_prog_gnu_ld" = yes; then
10699                 version_type=linux
10700         else
10701                 version_type=irix
10702         fi ;;
10703   esac
10704   need_lib_prefix=no
10705   need_version=no
10706   soname_spec='${libname}${release}${shared_ext}$major'
10707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10708   case $host_os in
10709   irix5* | nonstopux*)
10710     libsuff= shlibsuff=
10711     ;;
10712   *)
10713     case $LD in # libtool.m4 will add one of these switches to LD
10714     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10715       libsuff= shlibsuff= libmagic=32-bit;;
10716     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10717       libsuff=32 shlibsuff=N32 libmagic=N32;;
10718     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10719       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10720     *) libsuff= shlibsuff= libmagic=never-match;;
10721     esac
10722     ;;
10723   esac
10724   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10725   shlibpath_overrides_runpath=no
10726   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10727   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10728   hardcode_into_libs=yes
10729   ;;
10730
10731 # No shared lib support for Linux oldld, aout, or coff.
10732 linux*oldld* | linux*aout* | linux*coff*)
10733   dynamic_linker=no
10734   ;;
10735
10736 # This must be Linux ELF.
10737 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10738   version_type=linux
10739   need_lib_prefix=no
10740   need_version=no
10741   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10742   soname_spec='${libname}${release}${shared_ext}$major'
10743   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10744   shlibpath_var=LD_LIBRARY_PATH
10745   shlibpath_overrides_runpath=no
10746
10747   # Some binutils ld are patched to set DT_RUNPATH
10748   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10749   $as_echo_n "(cached) " >&6
10750 else
10751   lt_cv_shlibpath_overrides_runpath=no
10752     save_LDFLAGS=$LDFLAGS
10753     save_libdir=$libdir
10754     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10755          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10756     if test x$gcc_no_link = xyes; then
10757   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10758 fi
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h.  */
10761
10762 int
10763 main ()
10764 {
10765
10766   ;
10767   return 0;
10768 }
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10772   lt_cv_shlibpath_overrides_runpath=yes
10773 fi
10774 fi
10775 rm -f core conftest.err conftest.$ac_objext \
10776     conftest$ac_exeext conftest.$ac_ext
10777     LDFLAGS=$save_LDFLAGS
10778     libdir=$save_libdir
10779
10780 fi
10781
10782   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10783
10784   # This implies no fast_install, which is unacceptable.
10785   # Some rework will be needed to allow for fast_install
10786   # before this can be enabled.
10787   hardcode_into_libs=yes
10788
10789   # Append ld.so.conf contents to the search path
10790   if test -f /etc/ld.so.conf; then
10791     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10792     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10793   fi
10794
10795   # We used to test for /lib/ld.so.1 and disable shared libraries on
10796   # powerpc, because MkLinux only supported shared libraries with the
10797   # GNU dynamic linker.  Since this was broken with cross compilers,
10798   # most powerpc-linux boxes support dynamic linking these days and
10799   # people can always --disable-shared, the test was removed, and we
10800   # assume the GNU/Linux dynamic linker is in use.
10801   dynamic_linker='GNU/Linux ld.so'
10802   ;;
10803
10804 netbsd*)
10805   version_type=sunos
10806   need_lib_prefix=no
10807   need_version=no
10808   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10809     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10810     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10811     dynamic_linker='NetBSD (a.out) ld.so'
10812   else
10813     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10814     soname_spec='${libname}${release}${shared_ext}$major'
10815     dynamic_linker='NetBSD ld.elf_so'
10816   fi
10817   shlibpath_var=LD_LIBRARY_PATH
10818   shlibpath_overrides_runpath=yes
10819   hardcode_into_libs=yes
10820   ;;
10821
10822 newsos6)
10823   version_type=linux
10824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825   shlibpath_var=LD_LIBRARY_PATH
10826   shlibpath_overrides_runpath=yes
10827   ;;
10828
10829 *nto* | *qnx*)
10830   version_type=qnx
10831   need_lib_prefix=no
10832   need_version=no
10833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834   soname_spec='${libname}${release}${shared_ext}$major'
10835   shlibpath_var=LD_LIBRARY_PATH
10836   shlibpath_overrides_runpath=no
10837   hardcode_into_libs=yes
10838   dynamic_linker='ldqnx.so'
10839   ;;
10840
10841 openbsd*)
10842   version_type=sunos
10843   sys_lib_dlsearch_path_spec="/usr/lib"
10844   need_lib_prefix=no
10845   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10846   case $host_os in
10847     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10848     *)                          need_version=no  ;;
10849   esac
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10851   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10854     case $host_os in
10855       openbsd2.[89] | openbsd2.[89].*)
10856         shlibpath_overrides_runpath=no
10857         ;;
10858       *)
10859         shlibpath_overrides_runpath=yes
10860         ;;
10861       esac
10862   else
10863     shlibpath_overrides_runpath=yes
10864   fi
10865   ;;
10866
10867 os2*)
10868   libname_spec='$name'
10869   shrext_cmds=".dll"
10870   need_lib_prefix=no
10871   library_names_spec='$libname${shared_ext} $libname.a'
10872   dynamic_linker='OS/2 ld.exe'
10873   shlibpath_var=LIBPATH
10874   ;;
10875
10876 osf3* | osf4* | osf5*)
10877   version_type=osf
10878   need_lib_prefix=no
10879   need_version=no
10880   soname_spec='${libname}${release}${shared_ext}$major'
10881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10882   shlibpath_var=LD_LIBRARY_PATH
10883   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10884   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10885   ;;
10886
10887 rdos*)
10888   dynamic_linker=no
10889   ;;
10890
10891 solaris*)
10892   version_type=linux
10893   need_lib_prefix=no
10894   need_version=no
10895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896   soname_spec='${libname}${release}${shared_ext}$major'
10897   shlibpath_var=LD_LIBRARY_PATH
10898   shlibpath_overrides_runpath=yes
10899   hardcode_into_libs=yes
10900   # ldd complains unless libraries are executable
10901   postinstall_cmds='chmod +x $lib'
10902   ;;
10903
10904 sunos4*)
10905   version_type=sunos
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   shlibpath_overrides_runpath=yes
10910   if test "$with_gnu_ld" = yes; then
10911     need_lib_prefix=no
10912   fi
10913   need_version=yes
10914   ;;
10915
10916 sysv4 | sysv4.3*)
10917   version_type=linux
10918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919   soname_spec='${libname}${release}${shared_ext}$major'
10920   shlibpath_var=LD_LIBRARY_PATH
10921   case $host_vendor in
10922     sni)
10923       shlibpath_overrides_runpath=no
10924       need_lib_prefix=no
10925       runpath_var=LD_RUN_PATH
10926       ;;
10927     siemens)
10928       need_lib_prefix=no
10929       ;;
10930     motorola)
10931       need_lib_prefix=no
10932       need_version=no
10933       shlibpath_overrides_runpath=no
10934       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10935       ;;
10936   esac
10937   ;;
10938
10939 sysv4*MP*)
10940   if test -d /usr/nec ;then
10941     version_type=linux
10942     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10943     soname_spec='$libname${shared_ext}.$major'
10944     shlibpath_var=LD_LIBRARY_PATH
10945   fi
10946   ;;
10947
10948 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10949   version_type=freebsd-elf
10950   need_lib_prefix=no
10951   need_version=no
10952   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10953   soname_spec='${libname}${release}${shared_ext}$major'
10954   shlibpath_var=LD_LIBRARY_PATH
10955   shlibpath_overrides_runpath=yes
10956   hardcode_into_libs=yes
10957   if test "$with_gnu_ld" = yes; then
10958     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10959   else
10960     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10961     case $host_os in
10962       sco3.2v5*)
10963         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10964         ;;
10965     esac
10966   fi
10967   sys_lib_dlsearch_path_spec='/usr/lib'
10968   ;;
10969
10970 tpf*)
10971   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10972   version_type=linux
10973   need_lib_prefix=no
10974   need_version=no
10975   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10976   shlibpath_var=LD_LIBRARY_PATH
10977   shlibpath_overrides_runpath=no
10978   hardcode_into_libs=yes
10979   ;;
10980
10981 uts4*)
10982   version_type=linux
10983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984   soname_spec='${libname}${release}${shared_ext}$major'
10985   shlibpath_var=LD_LIBRARY_PATH
10986   ;;
10987
10988 *)
10989   dynamic_linker=no
10990   ;;
10991 esac
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10993 $as_echo "$dynamic_linker" >&6; }
10994 test "$dynamic_linker" = no && can_build_shared=no
10995
10996 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10997 if test "$GCC" = yes; then
10998   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10999 fi
11000
11001 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11002   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11003 fi
11004 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11005   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11006 fi
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11100 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11101 hardcode_action=
11102 if test -n "$hardcode_libdir_flag_spec" ||
11103    test -n "$runpath_var" ||
11104    test "X$hardcode_automatic" = "Xyes" ; then
11105
11106   # We can hardcode non-existent directories.
11107   if test "$hardcode_direct" != no &&
11108      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11109      # have to relink, otherwise we might link with an installed library
11110      # when we should be linking with a yet-to-be-installed one
11111      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11112      test "$hardcode_minus_L" != no; then
11113     # Linking always hardcodes the temporary library directory.
11114     hardcode_action=relink
11115   else
11116     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11117     hardcode_action=immediate
11118   fi
11119 else
11120   # We cannot hardcode anything, or else we can only hardcode existing
11121   # directories.
11122   hardcode_action=unsupported
11123 fi
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11125 $as_echo "$hardcode_action" >&6; }
11126
11127 if test "$hardcode_action" = relink ||
11128    test "$inherit_rpath" = yes; then
11129   # Fast installation is not supported
11130   enable_fast_install=no
11131 elif test "$shlibpath_overrides_runpath" = yes ||
11132      test "$enable_shared" = no; then
11133   # Fast installation is not necessary
11134   enable_fast_install=needless
11135 fi
11136
11137
11138
11139
11140
11141
11142   if test "x$enable_dlopen" != xyes; then
11143   enable_dlopen=unknown
11144   enable_dlopen_self=unknown
11145   enable_dlopen_self_static=unknown
11146 else
11147   lt_cv_dlopen=no
11148   lt_cv_dlopen_libs=
11149
11150   case $host_os in
11151   beos*)
11152     lt_cv_dlopen="load_add_on"
11153     lt_cv_dlopen_libs=
11154     lt_cv_dlopen_self=yes
11155     ;;
11156
11157   mingw* | pw32* | cegcc*)
11158     lt_cv_dlopen="LoadLibrary"
11159     lt_cv_dlopen_libs=
11160     ;;
11161
11162   cygwin*)
11163     lt_cv_dlopen="dlopen"
11164     lt_cv_dlopen_libs=
11165     ;;
11166
11167   darwin*)
11168   # if libdl is installed we need to link against it
11169     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11170 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11171 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11172   $as_echo_n "(cached) " >&6
11173 else
11174   ac_check_lib_save_LIBS=$LIBS
11175 LIBS="-ldl  $LIBS"
11176 if test x$gcc_no_link = xyes; then
11177   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11178 fi
11179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11180 /* end confdefs.h.  */
11181
11182 /* Override any GCC internal prototype to avoid an error.
11183    Use char because int might match the return type of a GCC
11184    builtin and then its argument prototype would still apply.  */
11185 #ifdef __cplusplus
11186 extern "C"
11187 #endif
11188 char dlopen ();
11189 int
11190 main ()
11191 {
11192 return dlopen ();
11193   ;
11194   return 0;
11195 }
11196 _ACEOF
11197 if ac_fn_c_try_link "$LINENO"; then :
11198   ac_cv_lib_dl_dlopen=yes
11199 else
11200   ac_cv_lib_dl_dlopen=no
11201 fi
11202 rm -f core conftest.err conftest.$ac_objext \
11203     conftest$ac_exeext conftest.$ac_ext
11204 LIBS=$ac_check_lib_save_LIBS
11205 fi
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11207 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11208 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11209   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11210 else
11211
11212     lt_cv_dlopen="dyld"
11213     lt_cv_dlopen_libs=
11214     lt_cv_dlopen_self=yes
11215
11216 fi
11217
11218     ;;
11219
11220   *)
11221     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11222 if test "x$ac_cv_func_shl_load" = x""yes; then :
11223   lt_cv_dlopen="shl_load"
11224 else
11225   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11226 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11227 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11228   $as_echo_n "(cached) " >&6
11229 else
11230   ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldld  $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11234 fi
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h.  */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239    Use char because int might match the return type of a GCC
11240    builtin and then its argument prototype would still apply.  */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char shl_load ();
11245 int
11246 main ()
11247 {
11248 return shl_load ();
11249   ;
11250   return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254   ac_cv_lib_dld_shl_load=yes
11255 else
11256   ac_cv_lib_dld_shl_load=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259     conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11263 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11264 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11265   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11266 else
11267   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11268 if test "x$ac_cv_func_dlopen" = x""yes; then :
11269   lt_cv_dlopen="dlopen"
11270 else
11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11272 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11273 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11274   $as_echo_n "(cached) " >&6
11275 else
11276   ac_check_lib_save_LIBS=$LIBS
11277 LIBS="-ldl  $LIBS"
11278 if test x$gcc_no_link = xyes; then
11279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11280 fi
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h.  */
11283
11284 /* Override any GCC internal prototype to avoid an error.
11285    Use char because int might match the return type of a GCC
11286    builtin and then its argument prototype would still apply.  */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char dlopen ();
11291 int
11292 main ()
11293 {
11294 return dlopen ();
11295   ;
11296   return 0;
11297 }
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300   ac_cv_lib_dl_dlopen=yes
11301 else
11302   ac_cv_lib_dl_dlopen=no
11303 fi
11304 rm -f core conftest.err conftest.$ac_objext \
11305     conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11307 fi
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11309 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11310 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11311   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11312 else
11313   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11314 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11315 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11316   $as_echo_n "(cached) " >&6
11317 else
11318   ac_check_lib_save_LIBS=$LIBS
11319 LIBS="-lsvld  $LIBS"
11320 if test x$gcc_no_link = xyes; then
11321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11322 fi
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h.  */
11325
11326 /* Override any GCC internal prototype to avoid an error.
11327    Use char because int might match the return type of a GCC
11328    builtin and then its argument prototype would still apply.  */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char dlopen ();
11333 int
11334 main ()
11335 {
11336 return dlopen ();
11337   ;
11338   return 0;
11339 }
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342   ac_cv_lib_svld_dlopen=yes
11343 else
11344   ac_cv_lib_svld_dlopen=no
11345 fi
11346 rm -f core conftest.err conftest.$ac_objext \
11347     conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11349 fi
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11351 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11352 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11353   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11354 else
11355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11356 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11357 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11358   $as_echo_n "(cached) " >&6
11359 else
11360   ac_check_lib_save_LIBS=$LIBS
11361 LIBS="-ldld  $LIBS"
11362 if test x$gcc_no_link = xyes; then
11363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11364 fi
11365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366 /* end confdefs.h.  */
11367
11368 /* Override any GCC internal prototype to avoid an error.
11369    Use char because int might match the return type of a GCC
11370    builtin and then its argument prototype would still apply.  */
11371 #ifdef __cplusplus
11372 extern "C"
11373 #endif
11374 char dld_link ();
11375 int
11376 main ()
11377 {
11378 return dld_link ();
11379   ;
11380   return 0;
11381 }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"; then :
11384   ac_cv_lib_dld_dld_link=yes
11385 else
11386   ac_cv_lib_dld_dld_link=no
11387 fi
11388 rm -f core conftest.err conftest.$ac_objext \
11389     conftest$ac_exeext conftest.$ac_ext
11390 LIBS=$ac_check_lib_save_LIBS
11391 fi
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11393 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11394 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11395   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11396 fi
11397
11398
11399 fi
11400
11401
11402 fi
11403
11404
11405 fi
11406
11407
11408 fi
11409
11410
11411 fi
11412
11413     ;;
11414   esac
11415
11416   if test "x$lt_cv_dlopen" != xno; then
11417     enable_dlopen=yes
11418   else
11419     enable_dlopen=no
11420   fi
11421
11422   case $lt_cv_dlopen in
11423   dlopen)
11424     save_CPPFLAGS="$CPPFLAGS"
11425     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11426
11427     save_LDFLAGS="$LDFLAGS"
11428     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11429
11430     save_LIBS="$LIBS"
11431     LIBS="$lt_cv_dlopen_libs $LIBS"
11432
11433     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11434 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11435 if test "${lt_cv_dlopen_self+set}" = set; then :
11436   $as_echo_n "(cached) " >&6
11437 else
11438           if test "$cross_compiling" = yes; then :
11439   lt_cv_dlopen_self=cross
11440 else
11441   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11442   lt_status=$lt_dlunknown
11443   cat > conftest.$ac_ext <<_LT_EOF
11444 #line 11444 "configure"
11445 #include "confdefs.h"
11446
11447 #if HAVE_DLFCN_H
11448 #include <dlfcn.h>
11449 #endif
11450
11451 #include <stdio.h>
11452
11453 #ifdef RTLD_GLOBAL
11454 #  define LT_DLGLOBAL           RTLD_GLOBAL
11455 #else
11456 #  ifdef DL_GLOBAL
11457 #    define LT_DLGLOBAL         DL_GLOBAL
11458 #  else
11459 #    define LT_DLGLOBAL         0
11460 #  endif
11461 #endif
11462
11463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11464    find out it does not work in some platform. */
11465 #ifndef LT_DLLAZY_OR_NOW
11466 #  ifdef RTLD_LAZY
11467 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11468 #  else
11469 #    ifdef DL_LAZY
11470 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11471 #    else
11472 #      ifdef RTLD_NOW
11473 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11474 #      else
11475 #        ifdef DL_NOW
11476 #          define LT_DLLAZY_OR_NOW      DL_NOW
11477 #        else
11478 #          define LT_DLLAZY_OR_NOW      0
11479 #        endif
11480 #      endif
11481 #    endif
11482 #  endif
11483 #endif
11484
11485 /* When -fvisbility=hidden is used, assume the code has been annotated
11486    correspondingly for the symbols needed.  */
11487 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11488 void fnord () __attribute__((visibility("default")));
11489 #endif
11490
11491 void fnord () { int i=42; }
11492 int main ()
11493 {
11494   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11495   int status = $lt_dlunknown;
11496
11497   if (self)
11498     {
11499       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11500       else
11501         {
11502           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11503           else puts (dlerror ());
11504         }
11505       /* dlclose (self); */
11506     }
11507   else
11508     puts (dlerror ());
11509
11510   return status;
11511 }
11512 _LT_EOF
11513   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11514   (eval $ac_link) 2>&5
11515   ac_status=$?
11516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11517   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11518     (./conftest; exit; ) >&5 2>/dev/null
11519     lt_status=$?
11520     case x$lt_status in
11521       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11522       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11523       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11524     esac
11525   else :
11526     # compilation failed
11527     lt_cv_dlopen_self=no
11528   fi
11529 fi
11530 rm -fr conftest*
11531
11532
11533 fi
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11535 $as_echo "$lt_cv_dlopen_self" >&6; }
11536
11537     if test "x$lt_cv_dlopen_self" = xyes; then
11538       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11539       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11540 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11541 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11542   $as_echo_n "(cached) " >&6
11543 else
11544           if test "$cross_compiling" = yes; then :
11545   lt_cv_dlopen_self_static=cross
11546 else
11547   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11548   lt_status=$lt_dlunknown
11549   cat > conftest.$ac_ext <<_LT_EOF
11550 #line 11550 "configure"
11551 #include "confdefs.h"
11552
11553 #if HAVE_DLFCN_H
11554 #include <dlfcn.h>
11555 #endif
11556
11557 #include <stdio.h>
11558
11559 #ifdef RTLD_GLOBAL
11560 #  define LT_DLGLOBAL           RTLD_GLOBAL
11561 #else
11562 #  ifdef DL_GLOBAL
11563 #    define LT_DLGLOBAL         DL_GLOBAL
11564 #  else
11565 #    define LT_DLGLOBAL         0
11566 #  endif
11567 #endif
11568
11569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11570    find out it does not work in some platform. */
11571 #ifndef LT_DLLAZY_OR_NOW
11572 #  ifdef RTLD_LAZY
11573 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11574 #  else
11575 #    ifdef DL_LAZY
11576 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11577 #    else
11578 #      ifdef RTLD_NOW
11579 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11580 #      else
11581 #        ifdef DL_NOW
11582 #          define LT_DLLAZY_OR_NOW      DL_NOW
11583 #        else
11584 #          define LT_DLLAZY_OR_NOW      0
11585 #        endif
11586 #      endif
11587 #    endif
11588 #  endif
11589 #endif
11590
11591 /* When -fvisbility=hidden is used, assume the code has been annotated
11592    correspondingly for the symbols needed.  */
11593 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11594 void fnord () __attribute__((visibility("default")));
11595 #endif
11596
11597 void fnord () { int i=42; }
11598 int main ()
11599 {
11600   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11601   int status = $lt_dlunknown;
11602
11603   if (self)
11604     {
11605       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11606       else
11607         {
11608           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11609           else puts (dlerror ());
11610         }
11611       /* dlclose (self); */
11612     }
11613   else
11614     puts (dlerror ());
11615
11616   return status;
11617 }
11618 _LT_EOF
11619   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11620   (eval $ac_link) 2>&5
11621   ac_status=$?
11622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11623   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11624     (./conftest; exit; ) >&5 2>/dev/null
11625     lt_status=$?
11626     case x$lt_status in
11627       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11628       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11629       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11630     esac
11631   else :
11632     # compilation failed
11633     lt_cv_dlopen_self_static=no
11634   fi
11635 fi
11636 rm -fr conftest*
11637
11638
11639 fi
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11641 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11642     fi
11643
11644     CPPFLAGS="$save_CPPFLAGS"
11645     LDFLAGS="$save_LDFLAGS"
11646     LIBS="$save_LIBS"
11647     ;;
11648   esac
11649
11650   case $lt_cv_dlopen_self in
11651   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11652   *) enable_dlopen_self=unknown ;;
11653   esac
11654
11655   case $lt_cv_dlopen_self_static in
11656   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11657   *) enable_dlopen_self_static=unknown ;;
11658   esac
11659 fi
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677 striplib=
11678 old_striplib=
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11680 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11681 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11682   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11683   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11685 $as_echo "yes" >&6; }
11686 else
11687 # FIXME - insert some real tests, host_os isn't really good enough
11688   case $host_os in
11689   darwin*)
11690     if test -n "$STRIP" ; then
11691       striplib="$STRIP -x"
11692       old_striplib="$STRIP -S"
11693       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11694 $as_echo "yes" >&6; }
11695     else
11696       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697 $as_echo "no" >&6; }
11698     fi
11699     ;;
11700   *)
11701     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11702 $as_echo "no" >&6; }
11703     ;;
11704   esac
11705 fi
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718   # Report which library types will actually be built
11719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11720 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11722 $as_echo "$can_build_shared" >&6; }
11723
11724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11725 $as_echo_n "checking whether to build shared libraries... " >&6; }
11726   test "$can_build_shared" = "no" && enable_shared=no
11727
11728   # On AIX, shared libraries and static libraries use the same namespace, and
11729   # are all built from PIC.
11730   case $host_os in
11731   aix3*)
11732     test "$enable_shared" = yes && enable_static=no
11733     if test -n "$RANLIB"; then
11734       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11735       postinstall_cmds='$RANLIB $lib'
11736     fi
11737     ;;
11738
11739   aix[4-9]*)
11740     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11741       test "$enable_shared" = yes && enable_static=no
11742     fi
11743     ;;
11744   esac
11745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11746 $as_echo "$enable_shared" >&6; }
11747
11748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11749 $as_echo_n "checking whether to build static libraries... " >&6; }
11750   # Make sure either enable_shared or enable_static is yes.
11751   test "$enable_shared" = yes || enable_static=yes
11752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11753 $as_echo "$enable_static" >&6; }
11754
11755
11756
11757
11758 fi
11759 ac_ext=c
11760 ac_cpp='$CPP $CPPFLAGS'
11761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11764
11765 CC="$lt_save_CC"
11766
11767       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11768     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11769     (test "X$CXX" != "Xg++"))) ; then
11770   ac_ext=cpp
11771 ac_cpp='$CXXCPP $CPPFLAGS'
11772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11776 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11777 if test -z "$CXXCPP"; then
11778   if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11779   $as_echo_n "(cached) " >&6
11780 else
11781       # Double quotes because CXXCPP needs to be expanded
11782     for CXXCPP in "$CXX -E" "/lib/cpp"
11783     do
11784       ac_preproc_ok=false
11785 for ac_cxx_preproc_warn_flag in '' yes
11786 do
11787   # Use a header file that comes with gcc, so configuring glibc
11788   # with a fresh cross-compiler works.
11789   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11790   # <limits.h> exists even on freestanding compilers.
11791   # On the NeXT, cc -E runs the code through the compiler's parser,
11792   # not just through cpp. "Syntax error" is here to catch this case.
11793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h.  */
11795 #ifdef __STDC__
11796 # include <limits.h>
11797 #else
11798 # include <assert.h>
11799 #endif
11800                      Syntax error
11801 _ACEOF
11802 if ac_fn_cxx_try_cpp "$LINENO"; then :
11803
11804 else
11805   # Broken: fails on valid input.
11806 continue
11807 fi
11808 rm -f conftest.err conftest.$ac_ext
11809
11810   # OK, works on sane cases.  Now check whether nonexistent headers
11811   # can be detected and how.
11812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h.  */
11814 #include <ac_nonexistent.h>
11815 _ACEOF
11816 if ac_fn_cxx_try_cpp "$LINENO"; then :
11817   # Broken: success on invalid input.
11818 continue
11819 else
11820   # Passes both tests.
11821 ac_preproc_ok=:
11822 break
11823 fi
11824 rm -f conftest.err conftest.$ac_ext
11825
11826 done
11827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11828 rm -f conftest.err conftest.$ac_ext
11829 if $ac_preproc_ok; then :
11830   break
11831 fi
11832
11833     done
11834     ac_cv_prog_CXXCPP=$CXXCPP
11835
11836 fi
11837   CXXCPP=$ac_cv_prog_CXXCPP
11838 else
11839   ac_cv_prog_CXXCPP=$CXXCPP
11840 fi
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11842 $as_echo "$CXXCPP" >&6; }
11843 ac_preproc_ok=false
11844 for ac_cxx_preproc_warn_flag in '' yes
11845 do
11846   # Use a header file that comes with gcc, so configuring glibc
11847   # with a fresh cross-compiler works.
11848   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11849   # <limits.h> exists even on freestanding compilers.
11850   # On the NeXT, cc -E runs the code through the compiler's parser,
11851   # not just through cpp. "Syntax error" is here to catch this case.
11852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h.  */
11854 #ifdef __STDC__
11855 # include <limits.h>
11856 #else
11857 # include <assert.h>
11858 #endif
11859                      Syntax error
11860 _ACEOF
11861 if ac_fn_cxx_try_cpp "$LINENO"; then :
11862
11863 else
11864   # Broken: fails on valid input.
11865 continue
11866 fi
11867 rm -f conftest.err conftest.$ac_ext
11868
11869   # OK, works on sane cases.  Now check whether nonexistent headers
11870   # can be detected and how.
11871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11872 /* end confdefs.h.  */
11873 #include <ac_nonexistent.h>
11874 _ACEOF
11875 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876   # Broken: success on invalid input.
11877 continue
11878 else
11879   # Passes both tests.
11880 ac_preproc_ok=:
11881 break
11882 fi
11883 rm -f conftest.err conftest.$ac_ext
11884
11885 done
11886 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11887 rm -f conftest.err conftest.$ac_ext
11888 if $ac_preproc_ok; then :
11889
11890 else
11891   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11893 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11894 See \`config.log' for more details." "$LINENO" 5; }
11895 fi
11896
11897 ac_ext=c
11898 ac_cpp='$CPP $CPPFLAGS'
11899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11902
11903 else
11904   _lt_caught_CXX_error=yes
11905 fi
11906
11907 ac_ext=cpp
11908 ac_cpp='$CXXCPP $CPPFLAGS'
11909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11912
11913 archive_cmds_need_lc_CXX=no
11914 allow_undefined_flag_CXX=
11915 always_export_symbols_CXX=no
11916 archive_expsym_cmds_CXX=
11917 compiler_needs_object_CXX=no
11918 export_dynamic_flag_spec_CXX=
11919 hardcode_direct_CXX=no
11920 hardcode_direct_absolute_CXX=no
11921 hardcode_libdir_flag_spec_CXX=
11922 hardcode_libdir_flag_spec_ld_CXX=
11923 hardcode_libdir_separator_CXX=
11924 hardcode_minus_L_CXX=no
11925 hardcode_shlibpath_var_CXX=unsupported
11926 hardcode_automatic_CXX=no
11927 inherit_rpath_CXX=no
11928 module_cmds_CXX=
11929 module_expsym_cmds_CXX=
11930 link_all_deplibs_CXX=unknown
11931 old_archive_cmds_CXX=$old_archive_cmds
11932 reload_flag_CXX=$reload_flag
11933 reload_cmds_CXX=$reload_cmds
11934 no_undefined_flag_CXX=
11935 whole_archive_flag_spec_CXX=
11936 enable_shared_with_static_runtimes_CXX=no
11937
11938 # Source file extension for C++ test sources.
11939 ac_ext=cpp
11940
11941 # Object file extension for compiled C++ test sources.
11942 objext=o
11943 objext_CXX=$objext
11944
11945 # No sense in running all these tests if we already determined that
11946 # the CXX compiler isn't working.  Some variables (like enable_shared)
11947 # are currently assumed to apply to all compilers on this platform,
11948 # and will be corrupted by setting them based on a non-working compiler.
11949 if test "$_lt_caught_CXX_error" != yes; then
11950   # Code to be used in simple compile tests
11951   lt_simple_compile_test_code="int some_variable = 0;"
11952
11953   # Code to be used in simple link tests
11954   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11955
11956   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11957
11958
11959
11960
11961
11962
11963 # If no C compiler was specified, use CC.
11964 LTCC=${LTCC-"$CC"}
11965
11966 # If no C compiler flags were specified, use CFLAGS.
11967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11968
11969 # Allow CC to be a program name with arguments.
11970 compiler=$CC
11971
11972
11973   # save warnings/boilerplate of simple test code
11974   ac_outfile=conftest.$ac_objext
11975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11977 _lt_compiler_boilerplate=`cat conftest.err`
11978 $RM conftest*
11979
11980   ac_outfile=conftest.$ac_objext
11981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11983 _lt_linker_boilerplate=`cat conftest.err`
11984 $RM -r conftest*
11985
11986
11987   # Allow CC to be a program name with arguments.
11988   lt_save_CC=$CC
11989   lt_save_LD=$LD
11990   lt_save_GCC=$GCC
11991   GCC=$GXX
11992   lt_save_with_gnu_ld=$with_gnu_ld
11993   lt_save_path_LD=$lt_cv_path_LD
11994   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11995     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11996   else
11997     $as_unset lt_cv_prog_gnu_ld
11998   fi
11999   if test -n "${lt_cv_path_LDCXX+set}"; then
12000     lt_cv_path_LD=$lt_cv_path_LDCXX
12001   else
12002     $as_unset lt_cv_path_LD
12003   fi
12004   test -z "${LDCXX+set}" || LD=$LDCXX
12005   CC=${CXX-"c++"}
12006   compiler=$CC
12007   compiler_CXX=$CC
12008   for cc_temp in $compiler""; do
12009   case $cc_temp in
12010     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12011     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12012     \-*) ;;
12013     *) break;;
12014   esac
12015 done
12016 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12017
12018
12019   if test -n "$compiler"; then
12020     # We don't want -fno-exception when compiling C++ code, so set the
12021     # no_builtin_flag separately
12022     if test "$GXX" = yes; then
12023       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12024     else
12025       lt_prog_compiler_no_builtin_flag_CXX=
12026     fi
12027
12028     if test "$GXX" = yes; then
12029       # Set up default GNU C++ configuration
12030
12031
12032
12033 # Check whether --with-gnu-ld was given.
12034 if test "${with_gnu_ld+set}" = set; then :
12035   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12036 else
12037   with_gnu_ld=no
12038 fi
12039
12040 ac_prog=ld
12041 if test "$GCC" = yes; then
12042   # Check if gcc -print-prog-name=ld gives a path.
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12044 $as_echo_n "checking for ld used by $CC... " >&6; }
12045   case $host in
12046   *-*-mingw*)
12047     # gcc leaves a trailing carriage return which upsets mingw
12048     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12049   *)
12050     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12051   esac
12052   case $ac_prog in
12053     # Accept absolute paths.
12054     [\\/]* | ?:[\\/]*)
12055       re_direlt='/[^/][^/]*/\.\./'
12056       # Canonicalize the pathname of ld
12057       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12058       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12059         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12060       done
12061       test -z "$LD" && LD="$ac_prog"
12062       ;;
12063   "")
12064     # If it fails, then pretend we aren't using GCC.
12065     ac_prog=ld
12066     ;;
12067   *)
12068     # If it is relative, then search for the first ld in PATH.
12069     with_gnu_ld=unknown
12070     ;;
12071   esac
12072 elif test "$with_gnu_ld" = yes; then
12073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12074 $as_echo_n "checking for GNU ld... " >&6; }
12075 else
12076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12077 $as_echo_n "checking for non-GNU ld... " >&6; }
12078 fi
12079 if test "${lt_cv_path_LD+set}" = set; then :
12080   $as_echo_n "(cached) " >&6
12081 else
12082   if test -z "$LD"; then
12083   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12084   for ac_dir in $PATH; do
12085     IFS="$lt_save_ifs"
12086     test -z "$ac_dir" && ac_dir=.
12087     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12088       lt_cv_path_LD="$ac_dir/$ac_prog"
12089       # Check to see if the program is GNU ld.  I'd rather use --version,
12090       # but apparently some variants of GNU ld only accept -v.
12091       # Break only if it was the GNU/non-GNU ld that we prefer.
12092       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12093       *GNU* | *'with BFD'*)
12094         test "$with_gnu_ld" != no && break
12095         ;;
12096       *)
12097         test "$with_gnu_ld" != yes && break
12098         ;;
12099       esac
12100     fi
12101   done
12102   IFS="$lt_save_ifs"
12103 else
12104   lt_cv_path_LD="$LD" # Let the user override the test with a path.
12105 fi
12106 fi
12107
12108 LD="$lt_cv_path_LD"
12109 if test -n "$LD"; then
12110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12111 $as_echo "$LD" >&6; }
12112 else
12113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12114 $as_echo "no" >&6; }
12115 fi
12116 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12118 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12119 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12120   $as_echo_n "(cached) " >&6
12121 else
12122   # I'd rather use --version here, but apparently some GNU lds only accept -v.
12123 case `$LD -v 2>&1 </dev/null` in
12124 *GNU* | *'with BFD'*)
12125   lt_cv_prog_gnu_ld=yes
12126   ;;
12127 *)
12128   lt_cv_prog_gnu_ld=no
12129   ;;
12130 esac
12131 fi
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12133 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12134 with_gnu_ld=$lt_cv_prog_gnu_ld
12135
12136
12137
12138
12139
12140
12141
12142       # Check if GNU C++ uses GNU ld as the underlying linker, since the
12143       # archiving commands below assume that GNU ld is being used.
12144       if test "$with_gnu_ld" = yes; then
12145         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12146         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12147
12148         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12149         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12150
12151         # If archive_cmds runs LD, not CC, wlarc should be empty
12152         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12153         #     investigate it a little bit more. (MM)
12154         wlarc='${wl}'
12155
12156         # ancient GNU ld didn't support --whole-archive et. al.
12157         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12158           $GREP 'no-whole-archive' > /dev/null; then
12159           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12160         else
12161           whole_archive_flag_spec_CXX=
12162         fi
12163       else
12164         with_gnu_ld=no
12165         wlarc=
12166
12167         # A generic and very simple default shared library creation
12168         # command for GNU C++ for the case where it uses the native
12169         # linker, instead of GNU ld.  If possible, this setting should
12170         # overridden to take advantage of the native linker features on
12171         # the platform it is being used on.
12172         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12173       fi
12174
12175       # Commands to make compiler produce verbose output that lists
12176       # what "hidden" libraries, object files and flags are used when
12177       # linking a shared library.
12178       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12179
12180     else
12181       GXX=no
12182       with_gnu_ld=no
12183       wlarc=
12184     fi
12185
12186     # PORTME: fill in a description of your system's C++ link characteristics
12187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12188 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12189     ld_shlibs_CXX=yes
12190     case $host_os in
12191       aix3*)
12192         # FIXME: insert proper C++ library support
12193         ld_shlibs_CXX=no
12194         ;;
12195       aix[4-9]*)
12196         if test "$host_cpu" = ia64; then
12197           # On IA64, the linker does run time linking by default, so we don't
12198           # have to do anything special.
12199           aix_use_runtimelinking=no
12200           exp_sym_flag='-Bexport'
12201           no_entry_flag=""
12202         else
12203           aix_use_runtimelinking=no
12204
12205           # Test if we are trying to use run time linking or normal
12206           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12207           # need to do runtime linking.
12208           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12209             for ld_flag in $LDFLAGS; do
12210               case $ld_flag in
12211               *-brtl*)
12212                 aix_use_runtimelinking=yes
12213                 break
12214                 ;;
12215               esac
12216             done
12217             ;;
12218           esac
12219
12220           exp_sym_flag='-bexport'
12221           no_entry_flag='-bnoentry'
12222         fi
12223
12224         # When large executables or shared objects are built, AIX ld can
12225         # have problems creating the table of contents.  If linking a library
12226         # or program results in "error TOC overflow" add -mminimal-toc to
12227         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12228         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12229
12230         archive_cmds_CXX=''
12231         hardcode_direct_CXX=yes
12232         hardcode_direct_absolute_CXX=yes
12233         hardcode_libdir_separator_CXX=':'
12234         link_all_deplibs_CXX=yes
12235         file_list_spec_CXX='${wl}-f,'
12236
12237         if test "$GXX" = yes; then
12238           case $host_os in aix4.[012]|aix4.[012].*)
12239           # We only want to do this on AIX 4.2 and lower, the check
12240           # below for broken collect2 doesn't work under 4.3+
12241           collect2name=`${CC} -print-prog-name=collect2`
12242           if test -f "$collect2name" &&
12243              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12244           then
12245             # We have reworked collect2
12246             :
12247           else
12248             # We have old collect2
12249             hardcode_direct_CXX=unsupported
12250             # It fails to find uninstalled libraries when the uninstalled
12251             # path is not listed in the libpath.  Setting hardcode_minus_L
12252             # to unsupported forces relinking
12253             hardcode_minus_L_CXX=yes
12254             hardcode_libdir_flag_spec_CXX='-L$libdir'
12255             hardcode_libdir_separator_CXX=
12256           fi
12257           esac
12258           shared_flag='-shared'
12259           if test "$aix_use_runtimelinking" = yes; then
12260             shared_flag="$shared_flag "'${wl}-G'
12261           fi
12262         else
12263           # not using gcc
12264           if test "$host_cpu" = ia64; then
12265           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12266           # chokes on -Wl,-G. The following line is correct:
12267           shared_flag='-G'
12268           else
12269             if test "$aix_use_runtimelinking" = yes; then
12270               shared_flag='${wl}-G'
12271             else
12272               shared_flag='${wl}-bM:SRE'
12273             fi
12274           fi
12275         fi
12276
12277         export_dynamic_flag_spec_CXX='${wl}-bexpall'
12278         # It seems that -bexpall does not export symbols beginning with
12279         # underscore (_), so it is better to generate a list of symbols to
12280         # export.
12281         always_export_symbols_CXX=yes
12282         if test "$aix_use_runtimelinking" = yes; then
12283           # Warning - without using the other runtime loading flags (-brtl),
12284           # -berok will link without error, but may produce a broken library.
12285           allow_undefined_flag_CXX='-berok'
12286           # Determine the default libpath from the value encoded in an empty
12287           # executable.
12288           if test x$gcc_no_link = xyes; then
12289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12290 fi
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h.  */
12293
12294 int
12295 main ()
12296 {
12297
12298   ;
12299   return 0;
12300 }
12301 _ACEOF
12302 if ac_fn_cxx_try_link "$LINENO"; then :
12303
12304 lt_aix_libpath_sed='
12305     /Import File Strings/,/^$/ {
12306         /^0/ {
12307             s/^0  *\(.*\)$/\1/
12308             p
12309         }
12310     }'
12311 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12312 # Check for a 64-bit object if we didn't find anything.
12313 if test -z "$aix_libpath"; then
12314   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12315 fi
12316 fi
12317 rm -f core conftest.err conftest.$ac_objext \
12318     conftest$ac_exeext conftest.$ac_ext
12319 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12320
12321           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12322
12323           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12324         else
12325           if test "$host_cpu" = ia64; then
12326             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12327             allow_undefined_flag_CXX="-z nodefs"
12328             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12329           else
12330             # Determine the default libpath from the value encoded in an
12331             # empty executable.
12332             if test x$gcc_no_link = xyes; then
12333   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12334 fi
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h.  */
12337
12338 int
12339 main ()
12340 {
12341
12342   ;
12343   return 0;
12344 }
12345 _ACEOF
12346 if ac_fn_cxx_try_link "$LINENO"; then :
12347
12348 lt_aix_libpath_sed='
12349     /Import File Strings/,/^$/ {
12350         /^0/ {
12351             s/^0  *\(.*\)$/\1/
12352             p
12353         }
12354     }'
12355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12356 # Check for a 64-bit object if we didn't find anything.
12357 if test -z "$aix_libpath"; then
12358   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 fi
12360 fi
12361 rm -f core conftest.err conftest.$ac_objext \
12362     conftest$ac_exeext conftest.$ac_ext
12363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12364
12365             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12366             # Warning - without using the other run time loading flags,
12367             # -berok will link without error, but may produce a broken library.
12368             no_undefined_flag_CXX=' ${wl}-bernotok'
12369             allow_undefined_flag_CXX=' ${wl}-berok'
12370             if test "$with_gnu_ld" = yes; then
12371               # We only use this code for GNU lds that support --whole-archive.
12372               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12373             else
12374               # Exported symbols can be pulled into shared objects from archives
12375               whole_archive_flag_spec_CXX='$convenience'
12376             fi
12377             archive_cmds_need_lc_CXX=yes
12378             # This is similar to how AIX traditionally builds its shared
12379             # libraries.
12380             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12381           fi
12382         fi
12383         ;;
12384
12385       beos*)
12386         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12387           allow_undefined_flag_CXX=unsupported
12388           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12389           # support --undefined.  This deserves some investigation.  FIXME
12390           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12391         else
12392           ld_shlibs_CXX=no
12393         fi
12394         ;;
12395
12396       chorus*)
12397         case $cc_basename in
12398           *)
12399           # FIXME: insert proper C++ library support
12400           ld_shlibs_CXX=no
12401           ;;
12402         esac
12403         ;;
12404
12405       cygwin* | mingw* | pw32* | cegcc*)
12406         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12407         # as there is no search path for DLLs.
12408         hardcode_libdir_flag_spec_CXX='-L$libdir'
12409         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12410         allow_undefined_flag_CXX=unsupported
12411         always_export_symbols_CXX=no
12412         enable_shared_with_static_runtimes_CXX=yes
12413
12414         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12415           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12416           # If the export-symbols file already is a .def file (1st line
12417           # is EXPORTS), use it as is; otherwise, prepend...
12418           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12419             cp $export_symbols $output_objdir/$soname.def;
12420           else
12421             echo EXPORTS > $output_objdir/$soname.def;
12422             cat $export_symbols >> $output_objdir/$soname.def;
12423           fi~
12424           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12425         else
12426           ld_shlibs_CXX=no
12427         fi
12428         ;;
12429       darwin* | rhapsody*)
12430
12431
12432   archive_cmds_need_lc_CXX=no
12433   hardcode_direct_CXX=no
12434   hardcode_automatic_CXX=yes
12435   hardcode_shlibpath_var_CXX=unsupported
12436   if test "$lt_cv_ld_force_load" = "yes"; then
12437     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12438   else
12439     whole_archive_flag_spec_CXX=''
12440   fi
12441   link_all_deplibs_CXX=yes
12442   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12443   case $cc_basename in
12444      ifort*) _lt_dar_can_shared=yes ;;
12445      *) _lt_dar_can_shared=$GCC ;;
12446   esac
12447   if test "$_lt_dar_can_shared" = "yes"; then
12448     output_verbose_link_cmd=func_echo_all
12449     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12450     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12451     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12452     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12453        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12454       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12455       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12456     fi
12457
12458   else
12459   ld_shlibs_CXX=no
12460   fi
12461
12462         ;;
12463
12464       dgux*)
12465         case $cc_basename in
12466           ec++*)
12467             # FIXME: insert proper C++ library support
12468             ld_shlibs_CXX=no
12469             ;;
12470           ghcx*)
12471             # Green Hills C++ Compiler
12472             # FIXME: insert proper C++ library support
12473             ld_shlibs_CXX=no
12474             ;;
12475           *)
12476             # FIXME: insert proper C++ library support
12477             ld_shlibs_CXX=no
12478             ;;
12479         esac
12480         ;;
12481
12482       freebsd[12]*)
12483         # C++ shared libraries reported to be fairly broken before
12484         # switch to ELF
12485         ld_shlibs_CXX=no
12486         ;;
12487
12488       freebsd-elf*)
12489         archive_cmds_need_lc_CXX=no
12490         ;;
12491
12492       freebsd* | dragonfly*)
12493         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12494         # conventions
12495         ld_shlibs_CXX=yes
12496         ;;
12497
12498       gnu*)
12499         ;;
12500
12501       haiku*)
12502         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12503         link_all_deplibs_CXX=yes
12504         ;;
12505
12506       hpux9*)
12507         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12508         hardcode_libdir_separator_CXX=:
12509         export_dynamic_flag_spec_CXX='${wl}-E'
12510         hardcode_direct_CXX=yes
12511         hardcode_minus_L_CXX=yes # Not in the search PATH,
12512                                              # but as the default
12513                                              # location of the library.
12514
12515         case $cc_basename in
12516           CC*)
12517             # FIXME: insert proper C++ library support
12518             ld_shlibs_CXX=no
12519             ;;
12520           aCC*)
12521             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12522             # Commands to make compiler produce verbose output that lists
12523             # what "hidden" libraries, object files and flags are used when
12524             # linking a shared library.
12525             #
12526             # There doesn't appear to be a way to prevent this compiler from
12527             # explicitly linking system object files so we need to strip them
12528             # from the output so that they don't get included in the library
12529             # dependencies.
12530             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12531             ;;
12532           *)
12533             if test "$GXX" = yes; then
12534               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12535             else
12536               # FIXME: insert proper C++ library support
12537               ld_shlibs_CXX=no
12538             fi
12539             ;;
12540         esac
12541         ;;
12542
12543       hpux10*|hpux11*)
12544         if test $with_gnu_ld = no; then
12545           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12546           hardcode_libdir_separator_CXX=:
12547
12548           case $host_cpu in
12549             hppa*64*|ia64*)
12550               ;;
12551             *)
12552               export_dynamic_flag_spec_CXX='${wl}-E'
12553               ;;
12554           esac
12555         fi
12556         case $host_cpu in
12557           hppa*64*|ia64*)
12558             hardcode_direct_CXX=no
12559             hardcode_shlibpath_var_CXX=no
12560             ;;
12561           *)
12562             hardcode_direct_CXX=yes
12563             hardcode_direct_absolute_CXX=yes
12564             hardcode_minus_L_CXX=yes # Not in the search PATH,
12565                                                  # but as the default
12566                                                  # location of the library.
12567             ;;
12568         esac
12569
12570         case $cc_basename in
12571           CC*)
12572             # FIXME: insert proper C++ library support
12573             ld_shlibs_CXX=no
12574             ;;
12575           aCC*)
12576             case $host_cpu in
12577               hppa*64*)
12578                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12579                 ;;
12580               ia64*)
12581                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12582                 ;;
12583               *)
12584                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12585                 ;;
12586             esac
12587             # Commands to make compiler produce verbose output that lists
12588             # what "hidden" libraries, object files and flags are used when
12589             # linking a shared library.
12590             #
12591             # There doesn't appear to be a way to prevent this compiler from
12592             # explicitly linking system object files so we need to strip them
12593             # from the output so that they don't get included in the library
12594             # dependencies.
12595             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12596             ;;
12597           *)
12598             if test "$GXX" = yes; then
12599               if test $with_gnu_ld = no; then
12600                 case $host_cpu in
12601                   hppa*64*)
12602                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12603                     ;;
12604                   ia64*)
12605                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12606                     ;;
12607                   *)
12608                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12609                     ;;
12610                 esac
12611               fi
12612             else
12613               # FIXME: insert proper C++ library support
12614               ld_shlibs_CXX=no
12615             fi
12616             ;;
12617         esac
12618         ;;
12619
12620       interix[3-9]*)
12621         hardcode_direct_CXX=no
12622         hardcode_shlibpath_var_CXX=no
12623         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12624         export_dynamic_flag_spec_CXX='${wl}-E'
12625         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12626         # Instead, shared libraries are loaded at an image base (0x10000000 by
12627         # default) and relocated if they conflict, which is a slow very memory
12628         # consuming and fragmenting process.  To avoid this, we pick a random,
12629         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12630         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12631         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12632         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12633         ;;
12634       irix5* | irix6*)
12635         case $cc_basename in
12636           CC*)
12637             # SGI C++
12638             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12639
12640             # Archives containing C++ object files must be created using
12641             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
12642             # necessary to make sure instantiated templates are included
12643             # in the archive.
12644             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12645             ;;
12646           *)
12647             if test "$GXX" = yes; then
12648               if test "$with_gnu_ld" = no; then
12649                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12650               else
12651                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12652               fi
12653             fi
12654             link_all_deplibs_CXX=yes
12655             ;;
12656         esac
12657         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12658         hardcode_libdir_separator_CXX=:
12659         inherit_rpath_CXX=yes
12660         ;;
12661
12662       linux* | k*bsd*-gnu | kopensolaris*-gnu)
12663         case $cc_basename in
12664           KCC*)
12665             # Kuck and Associates, Inc. (KAI) C++ Compiler
12666
12667             # KCC will only create a shared library if the output file
12668             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12669             # to its proper name (with version) after linking.
12670             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12671             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12672             # Commands to make compiler produce verbose output that lists
12673             # what "hidden" libraries, object files and flags are used when
12674             # linking a shared library.
12675             #
12676             # There doesn't appear to be a way to prevent this compiler from
12677             # explicitly linking system object files so we need to strip them
12678             # from the output so that they don't get included in the library
12679             # dependencies.
12680             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12681
12682             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12683             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12684
12685             # Archives containing C++ object files must be created using
12686             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12687             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12688             ;;
12689           icpc* | ecpc* )
12690             # Intel C++
12691             with_gnu_ld=yes
12692             # version 8.0 and above of icpc choke on multiply defined symbols
12693             # if we add $predep_objects and $postdep_objects, however 7.1 and
12694             # earlier do not add the objects themselves.
12695             case `$CC -V 2>&1` in
12696               *"Version 7."*)
12697                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12698                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12699                 ;;
12700               *)  # Version 8.0 or newer
12701                 tmp_idyn=
12702                 case $host_cpu in
12703                   ia64*) tmp_idyn=' -i_dynamic';;
12704                 esac
12705                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12706                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12707                 ;;
12708             esac
12709             archive_cmds_need_lc_CXX=no
12710             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12711             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12712             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12713             ;;
12714           pgCC* | pgcpp*)
12715             # Portland Group C++ compiler
12716             case `$CC -V` in
12717             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12718               prelink_cmds_CXX='tpldir=Template.dir~
12719                 rm -rf $tpldir~
12720                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12721                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12722               old_archive_cmds_CXX='tpldir=Template.dir~
12723                 rm -rf $tpldir~
12724                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12725                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12726                 $RANLIB $oldlib'
12727               archive_cmds_CXX='tpldir=Template.dir~
12728                 rm -rf $tpldir~
12729                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12730                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12731               archive_expsym_cmds_CXX='tpldir=Template.dir~
12732                 rm -rf $tpldir~
12733                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12734                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12735               ;;
12736             *) # Version 6 and above use weak symbols
12737               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12738               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12739               ;;
12740             esac
12741
12742             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12743             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12744             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12745             ;;
12746           cxx*)
12747             # Compaq C++
12748             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12749             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12750
12751             runpath_var=LD_RUN_PATH
12752             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12753             hardcode_libdir_separator_CXX=:
12754
12755             # Commands to make compiler produce verbose output that lists
12756             # what "hidden" libraries, object files and flags are used when
12757             # linking a shared library.
12758             #
12759             # There doesn't appear to be a way to prevent this compiler from
12760             # explicitly linking system object files so we need to strip them
12761             # from the output so that they don't get included in the library
12762             # dependencies.
12763             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12764             ;;
12765           xl* | mpixl* | bgxl*)
12766             # IBM XL 8.0 on PPC, with GNU ld
12767             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12768             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770             if test "x$supports_anon_versioning" = xyes; then
12771               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12772                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12773                 echo "local: *; };" >> $output_objdir/$libname.ver~
12774                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12775             fi
12776             ;;
12777           *)
12778             case `$CC -V 2>&1 | sed 5q` in
12779             *Sun\ C*)
12780               # Sun C++ 5.9
12781               no_undefined_flag_CXX=' -zdefs'
12782               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12783               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12784               hardcode_libdir_flag_spec_CXX='-R$libdir'
12785               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12786               compiler_needs_object_CXX=yes
12787
12788               # Not sure whether something based on
12789               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12790               # would be better.
12791               output_verbose_link_cmd='func_echo_all'
12792
12793               # Archives containing C++ object files must be created using
12794               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
12795               # necessary to make sure instantiated templates are included
12796               # in the archive.
12797               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12798               ;;
12799             esac
12800             ;;
12801         esac
12802         ;;
12803
12804       lynxos*)
12805         # FIXME: insert proper C++ library support
12806         ld_shlibs_CXX=no
12807         ;;
12808
12809       m88k*)
12810         # FIXME: insert proper C++ library support
12811         ld_shlibs_CXX=no
12812         ;;
12813
12814       mvs*)
12815         case $cc_basename in
12816           cxx*)
12817             # FIXME: insert proper C++ library support
12818             ld_shlibs_CXX=no
12819             ;;
12820           *)
12821             # FIXME: insert proper C++ library support
12822             ld_shlibs_CXX=no
12823             ;;
12824         esac
12825         ;;
12826
12827       netbsd*)
12828         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12829           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12830           wlarc=
12831           hardcode_libdir_flag_spec_CXX='-R$libdir'
12832           hardcode_direct_CXX=yes
12833           hardcode_shlibpath_var_CXX=no
12834         fi
12835         # Workaround some broken pre-1.5 toolchains
12836         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12837         ;;
12838
12839       *nto* | *qnx*)
12840         ld_shlibs_CXX=yes
12841         ;;
12842
12843       openbsd2*)
12844         # C++ shared libraries are fairly broken
12845         ld_shlibs_CXX=no
12846         ;;
12847
12848       openbsd*)
12849         if test -f /usr/libexec/ld.so; then
12850           hardcode_direct_CXX=yes
12851           hardcode_shlibpath_var_CXX=no
12852           hardcode_direct_absolute_CXX=yes
12853           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12854           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12855           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12856             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12857             export_dynamic_flag_spec_CXX='${wl}-E'
12858             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12859           fi
12860           output_verbose_link_cmd=func_echo_all
12861         else
12862           ld_shlibs_CXX=no
12863         fi
12864         ;;
12865
12866       osf3* | osf4* | osf5*)
12867         case $cc_basename in
12868           KCC*)
12869             # Kuck and Associates, Inc. (KAI) C++ Compiler
12870
12871             # KCC will only create a shared library if the output file
12872             # ends with ".so" (or ".sl" for HP-UX), so rename the library
12873             # to its proper name (with version) after linking.
12874             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12875
12876             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12877             hardcode_libdir_separator_CXX=:
12878
12879             # Archives containing C++ object files must be created using
12880             # the KAI C++ compiler.
12881             case $host in
12882               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12883               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12884             esac
12885             ;;
12886           RCC*)
12887             # Rational C++ 2.4.1
12888             # FIXME: insert proper C++ library support
12889             ld_shlibs_CXX=no
12890             ;;
12891           cxx*)
12892             case $host in
12893               osf3*)
12894                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12895                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12896                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12897                 ;;
12898               *)
12899                 allow_undefined_flag_CXX=' -expect_unresolved \*'
12900                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12901                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12902                   echo "-hidden">> $lib.exp~
12903                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12904                   $RM $lib.exp'
12905                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906                 ;;
12907             esac
12908
12909             hardcode_libdir_separator_CXX=:
12910
12911             # Commands to make compiler produce verbose output that lists
12912             # what "hidden" libraries, object files and flags are used when
12913             # linking a shared library.
12914             #
12915             # There doesn't appear to be a way to prevent this compiler from
12916             # explicitly linking system object files so we need to strip them
12917             # from the output so that they don't get included in the library
12918             # dependencies.
12919             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12920             ;;
12921           *)
12922             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12923               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12924               case $host in
12925                 osf3*)
12926                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12927                   ;;
12928                 *)
12929                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12930                   ;;
12931               esac
12932
12933               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12934               hardcode_libdir_separator_CXX=:
12935
12936               # Commands to make compiler produce verbose output that lists
12937               # what "hidden" libraries, object files and flags are used when
12938               # linking a shared library.
12939               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12940
12941             else
12942               # FIXME: insert proper C++ library support
12943               ld_shlibs_CXX=no
12944             fi
12945             ;;
12946         esac
12947         ;;
12948
12949       psos*)
12950         # FIXME: insert proper C++ library support
12951         ld_shlibs_CXX=no
12952         ;;
12953
12954       sunos4*)
12955         case $cc_basename in
12956           CC*)
12957             # Sun C++ 4.x
12958             # FIXME: insert proper C++ library support
12959             ld_shlibs_CXX=no
12960             ;;
12961           lcc*)
12962             # Lucid
12963             # FIXME: insert proper C++ library support
12964             ld_shlibs_CXX=no
12965             ;;
12966           *)
12967             # FIXME: insert proper C++ library support
12968             ld_shlibs_CXX=no
12969             ;;
12970         esac
12971         ;;
12972
12973       solaris*)
12974         case $cc_basename in
12975           CC*)
12976             # Sun C++ 4.2, 5.x and Centerline C++
12977             archive_cmds_need_lc_CXX=yes
12978             no_undefined_flag_CXX=' -zdefs'
12979             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12980             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12981               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12982
12983             hardcode_libdir_flag_spec_CXX='-R$libdir'
12984             hardcode_shlibpath_var_CXX=no
12985             case $host_os in
12986               solaris2.[0-5] | solaris2.[0-5].*) ;;
12987               *)
12988                 # The compiler driver will combine and reorder linker options,
12989                 # but understands `-z linker_flag'.
12990                 # Supported since Solaris 2.6 (maybe 2.5.1?)
12991                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12992                 ;;
12993             esac
12994             link_all_deplibs_CXX=yes
12995
12996             output_verbose_link_cmd='func_echo_all'
12997
12998             # Archives containing C++ object files must be created using
12999             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13000             # necessary to make sure instantiated templates are included
13001             # in the archive.
13002             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13003             ;;
13004           gcx*)
13005             # Green Hills C++ Compiler
13006             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13007
13008             # The C++ compiler must be used to create the archive.
13009             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13010             ;;
13011           *)
13012             # GNU C++ compiler with Solaris linker
13013             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13014               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13015               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13016                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13017                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13018                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13019
13020                 # Commands to make compiler produce verbose output that lists
13021                 # what "hidden" libraries, object files and flags are used when
13022                 # linking a shared library.
13023                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13024               else
13025                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13026                 # platform.
13027                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13028                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13029                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13030
13031                 # Commands to make compiler produce verbose output that lists
13032                 # what "hidden" libraries, object files and flags are used when
13033                 # linking a shared library.
13034                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13035               fi
13036
13037               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13038               case $host_os in
13039                 solaris2.[0-5] | solaris2.[0-5].*) ;;
13040                 *)
13041                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13042                   ;;
13043               esac
13044             fi
13045             ;;
13046         esac
13047         ;;
13048
13049     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13050       no_undefined_flag_CXX='${wl}-z,text'
13051       archive_cmds_need_lc_CXX=no
13052       hardcode_shlibpath_var_CXX=no
13053       runpath_var='LD_RUN_PATH'
13054
13055       case $cc_basename in
13056         CC*)
13057           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13058           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13059           ;;
13060         *)
13061           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13062           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063           ;;
13064       esac
13065       ;;
13066
13067       sysv5* | sco3.2v5* | sco5v6*)
13068         # Note: We can NOT use -z defs as we might desire, because we do not
13069         # link with -lc, and that would cause any symbols used from libc to
13070         # always be unresolved, which means just about no library would
13071         # ever link correctly.  If we're not using GNU ld we use -z text
13072         # though, which does catch some bad symbols but isn't as heavy-handed
13073         # as -z defs.
13074         no_undefined_flag_CXX='${wl}-z,text'
13075         allow_undefined_flag_CXX='${wl}-z,nodefs'
13076         archive_cmds_need_lc_CXX=no
13077         hardcode_shlibpath_var_CXX=no
13078         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13079         hardcode_libdir_separator_CXX=':'
13080         link_all_deplibs_CXX=yes
13081         export_dynamic_flag_spec_CXX='${wl}-Bexport'
13082         runpath_var='LD_RUN_PATH'
13083
13084         case $cc_basename in
13085           CC*)
13086             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13087             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13088             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13089               '"$old_archive_cmds_CXX"
13090             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13091               '"$reload_cmds_CXX"
13092             ;;
13093           *)
13094             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13095             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13096             ;;
13097         esac
13098       ;;
13099
13100       tandem*)
13101         case $cc_basename in
13102           NCC*)
13103             # NonStop-UX NCC 3.20
13104             # FIXME: insert proper C++ library support
13105             ld_shlibs_CXX=no
13106             ;;
13107           *)
13108             # FIXME: insert proper C++ library support
13109             ld_shlibs_CXX=no
13110             ;;
13111         esac
13112         ;;
13113
13114       vxworks*)
13115         # FIXME: insert proper C++ library support
13116         ld_shlibs_CXX=no
13117         ;;
13118
13119       *)
13120         # FIXME: insert proper C++ library support
13121         ld_shlibs_CXX=no
13122         ;;
13123     esac
13124
13125     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13126 $as_echo "$ld_shlibs_CXX" >&6; }
13127     test "$ld_shlibs_CXX" = no && can_build_shared=no
13128
13129     GCC_CXX="$GXX"
13130     LD_CXX="$LD"
13131
13132     ## CAVEAT EMPTOR:
13133     ## There is no encapsulation within the following macros, do not change
13134     ## the running order or otherwise move them around unless you know exactly
13135     ## what you are doing...
13136     # Dependencies to place before and after the object being linked:
13137 predep_objects_CXX=
13138 postdep_objects_CXX=
13139 predeps_CXX=
13140 postdeps_CXX=
13141 compiler_lib_search_path_CXX=
13142
13143 cat > conftest.$ac_ext <<_LT_EOF
13144 class Foo
13145 {
13146 public:
13147   Foo (void) { a = 0; }
13148 private:
13149   int a;
13150 };
13151 _LT_EOF
13152
13153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13154   (eval $ac_compile) 2>&5
13155   ac_status=$?
13156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13157   test $ac_status = 0; }; then
13158   # Parse the compiler output and extract the necessary
13159   # objects, libraries and library flags.
13160
13161   # Sentinel used to keep track of whether or not we are before
13162   # the conftest object file.
13163   pre_test_object_deps_done=no
13164
13165   for p in `eval "$output_verbose_link_cmd"`; do
13166     case $p in
13167
13168     -L* | -R* | -l*)
13169        # Some compilers place space between "-{L,R}" and the path.
13170        # Remove the space.
13171        if test $p = "-L" ||
13172           test $p = "-R"; then
13173          prev=$p
13174          continue
13175        else
13176          prev=
13177        fi
13178
13179        if test "$pre_test_object_deps_done" = no; then
13180          case $p in
13181          -L* | -R*)
13182            # Internal compiler library paths should come after those
13183            # provided the user.  The postdeps already come after the
13184            # user supplied libs so there is no need to process them.
13185            if test -z "$compiler_lib_search_path_CXX"; then
13186              compiler_lib_search_path_CXX="${prev}${p}"
13187            else
13188              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13189            fi
13190            ;;
13191          # The "-l" case would never come before the object being
13192          # linked, so don't bother handling this case.
13193          esac
13194        else
13195          if test -z "$postdeps_CXX"; then
13196            postdeps_CXX="${prev}${p}"
13197          else
13198            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13199          fi
13200        fi
13201        ;;
13202
13203     *.$objext)
13204        # This assumes that the test object file only shows up
13205        # once in the compiler output.
13206        if test "$p" = "conftest.$objext"; then
13207          pre_test_object_deps_done=yes
13208          continue
13209        fi
13210
13211        if test "$pre_test_object_deps_done" = no; then
13212          if test -z "$predep_objects_CXX"; then
13213            predep_objects_CXX="$p"
13214          else
13215            predep_objects_CXX="$predep_objects_CXX $p"
13216          fi
13217        else
13218          if test -z "$postdep_objects_CXX"; then
13219            postdep_objects_CXX="$p"
13220          else
13221            postdep_objects_CXX="$postdep_objects_CXX $p"
13222          fi
13223        fi
13224        ;;
13225
13226     *) ;; # Ignore the rest.
13227
13228     esac
13229   done
13230
13231   # Clean up.
13232   rm -f a.out a.exe
13233 else
13234   echo "libtool.m4: error: problem compiling CXX test program"
13235 fi
13236
13237 $RM -f confest.$objext
13238
13239 # PORTME: override above test on systems where it is broken
13240 case $host_os in
13241 interix[3-9]*)
13242   # Interix 3.5 installs completely hosed .la files for C++, so rather than
13243   # hack all around it, let's just trust "g++" to DTRT.
13244   predep_objects_CXX=
13245   postdep_objects_CXX=
13246   postdeps_CXX=
13247   ;;
13248
13249 linux*)
13250   case `$CC -V 2>&1 | sed 5q` in
13251   *Sun\ C*)
13252     # Sun C++ 5.9
13253
13254     # The more standards-conforming stlport4 library is
13255     # incompatible with the Cstd library. Avoid specifying
13256     # it if it's in CXXFLAGS. Ignore libCrun as
13257     # -library=stlport4 depends on it.
13258     case " $CXX $CXXFLAGS " in
13259     *" -library=stlport4 "*)
13260       solaris_use_stlport4=yes
13261       ;;
13262     esac
13263
13264     if test "$solaris_use_stlport4" != yes; then
13265       postdeps_CXX='-library=Cstd -library=Crun'
13266     fi
13267     ;;
13268   esac
13269   ;;
13270
13271 solaris*)
13272   case $cc_basename in
13273   CC*)
13274     # The more standards-conforming stlport4 library is
13275     # incompatible with the Cstd library. Avoid specifying
13276     # it if it's in CXXFLAGS. Ignore libCrun as
13277     # -library=stlport4 depends on it.
13278     case " $CXX $CXXFLAGS " in
13279     *" -library=stlport4 "*)
13280       solaris_use_stlport4=yes
13281       ;;
13282     esac
13283
13284     # Adding this requires a known-good setup of shared libraries for
13285     # Sun compiler versions before 5.6, else PIC objects from an old
13286     # archive will be linked into the output, leading to subtle bugs.
13287     if test "$solaris_use_stlport4" != yes; then
13288       postdeps_CXX='-library=Cstd -library=Crun'
13289     fi
13290     ;;
13291   esac
13292   ;;
13293 esac
13294
13295
13296 case " $postdeps_CXX " in
13297 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13298 esac
13299  compiler_lib_search_dirs_CXX=
13300 if test -n "${compiler_lib_search_path_CXX}"; then
13301  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13302 fi
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334     lt_prog_compiler_wl_CXX=
13335 lt_prog_compiler_pic_CXX=
13336 lt_prog_compiler_static_CXX=
13337
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13339 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13340
13341   # C++ specific cases for pic, static, wl, etc.
13342   if test "$GXX" = yes; then
13343     lt_prog_compiler_wl_CXX='-Wl,'
13344     lt_prog_compiler_static_CXX='-static'
13345
13346     case $host_os in
13347     aix*)
13348       # All AIX code is PIC.
13349       if test "$host_cpu" = ia64; then
13350         # AIX 5 now supports IA64 processor
13351         lt_prog_compiler_static_CXX='-Bstatic'
13352       fi
13353       ;;
13354
13355     amigaos*)
13356       case $host_cpu in
13357       powerpc)
13358             # see comment about AmigaOS4 .so support
13359             lt_prog_compiler_pic_CXX='-fPIC'
13360         ;;
13361       m68k)
13362             # FIXME: we need at least 68020 code to build shared libraries, but
13363             # adding the `-m68020' flag to GCC prevents building anything better,
13364             # like `-m68040'.
13365             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13366         ;;
13367       esac
13368       ;;
13369
13370     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13371       # PIC is the default for these OSes.
13372       ;;
13373     mingw* | cygwin* | os2* | pw32* | cegcc*)
13374       # This hack is so that the source file can tell whether it is being
13375       # built for inclusion in a dll (and should export symbols for example).
13376       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13377       # (--disable-auto-import) libraries
13378       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13379       ;;
13380     darwin* | rhapsody*)
13381       # PIC is the default on this platform
13382       # Common symbols not allowed in MH_DYLIB files
13383       lt_prog_compiler_pic_CXX='-fno-common'
13384       ;;
13385     *djgpp*)
13386       # DJGPP does not support shared libraries at all
13387       lt_prog_compiler_pic_CXX=
13388       ;;
13389     haiku*)
13390       # PIC is the default for Haiku.
13391       # The "-static" flag exists, but is broken.
13392       lt_prog_compiler_static_CXX=
13393       ;;
13394     interix[3-9]*)
13395       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13396       # Instead, we relocate shared libraries at runtime.
13397       ;;
13398     sysv4*MP*)
13399       if test -d /usr/nec; then
13400         lt_prog_compiler_pic_CXX=-Kconform_pic
13401       fi
13402       ;;
13403     hpux*)
13404       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13405       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13406       # sets the default TLS model and affects inlining.
13407       case $host_cpu in
13408       hppa*64*)
13409         ;;
13410       *)
13411         lt_prog_compiler_pic_CXX='-fPIC'
13412         ;;
13413       esac
13414       ;;
13415     *qnx* | *nto*)
13416       # QNX uses GNU C++, but need to define -shared option too, otherwise
13417       # it will coredump.
13418       lt_prog_compiler_pic_CXX='-fPIC -shared'
13419       ;;
13420     *)
13421       lt_prog_compiler_pic_CXX='-fPIC'
13422       ;;
13423     esac
13424   else
13425     case $host_os in
13426       aix[4-9]*)
13427         # All AIX code is PIC.
13428         if test "$host_cpu" = ia64; then
13429           # AIX 5 now supports IA64 processor
13430           lt_prog_compiler_static_CXX='-Bstatic'
13431         else
13432           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13433         fi
13434         ;;
13435       chorus*)
13436         case $cc_basename in
13437         cxch68*)
13438           # Green Hills C++ Compiler
13439           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13440           ;;
13441         esac
13442         ;;
13443       dgux*)
13444         case $cc_basename in
13445           ec++*)
13446             lt_prog_compiler_pic_CXX='-KPIC'
13447             ;;
13448           ghcx*)
13449             # Green Hills C++ Compiler
13450             lt_prog_compiler_pic_CXX='-pic'
13451             ;;
13452           *)
13453             ;;
13454         esac
13455         ;;
13456       freebsd* | dragonfly*)
13457         # FreeBSD uses GNU C++
13458         ;;
13459       hpux9* | hpux10* | hpux11*)
13460         case $cc_basename in
13461           CC*)
13462             lt_prog_compiler_wl_CXX='-Wl,'
13463             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13464             if test "$host_cpu" != ia64; then
13465               lt_prog_compiler_pic_CXX='+Z'
13466             fi
13467             ;;
13468           aCC*)
13469             lt_prog_compiler_wl_CXX='-Wl,'
13470             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13471             case $host_cpu in
13472             hppa*64*|ia64*)
13473               # +Z the default
13474               ;;
13475             *)
13476               lt_prog_compiler_pic_CXX='+Z'
13477               ;;
13478             esac
13479             ;;
13480           *)
13481             ;;
13482         esac
13483         ;;
13484       interix*)
13485         # This is c89, which is MS Visual C++ (no shared libs)
13486         # Anyone wants to do a port?
13487         ;;
13488       irix5* | irix6* | nonstopux*)
13489         case $cc_basename in
13490           CC*)
13491             lt_prog_compiler_wl_CXX='-Wl,'
13492             lt_prog_compiler_static_CXX='-non_shared'
13493             # CC pic flag -KPIC is the default.
13494             ;;
13495           *)
13496             ;;
13497         esac
13498         ;;
13499       linux* | k*bsd*-gnu | kopensolaris*-gnu)
13500         case $cc_basename in
13501           KCC*)
13502             # KAI C++ Compiler
13503             lt_prog_compiler_wl_CXX='--backend -Wl,'
13504             lt_prog_compiler_pic_CXX='-fPIC'
13505             ;;
13506           ecpc* )
13507             # old Intel C++ for x86_64 which still supported -KPIC.
13508             lt_prog_compiler_wl_CXX='-Wl,'
13509             lt_prog_compiler_pic_CXX='-KPIC'
13510             lt_prog_compiler_static_CXX='-static'
13511             ;;
13512           icpc* )
13513             # Intel C++, used to be incompatible with GCC.
13514             # ICC 10 doesn't accept -KPIC any more.
13515             lt_prog_compiler_wl_CXX='-Wl,'
13516             lt_prog_compiler_pic_CXX='-fPIC'
13517             lt_prog_compiler_static_CXX='-static'
13518             ;;
13519           pgCC* | pgcpp*)
13520             # Portland Group C++ compiler
13521             lt_prog_compiler_wl_CXX='-Wl,'
13522             lt_prog_compiler_pic_CXX='-fpic'
13523             lt_prog_compiler_static_CXX='-Bstatic'
13524             ;;
13525           cxx*)
13526             # Compaq C++
13527             # Make sure the PIC flag is empty.  It appears that all Alpha
13528             # Linux and Compaq Tru64 Unix objects are PIC.
13529             lt_prog_compiler_pic_CXX=
13530             lt_prog_compiler_static_CXX='-non_shared'
13531             ;;
13532           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13533             # IBM XL 8.0, 9.0 on PPC and BlueGene
13534             lt_prog_compiler_wl_CXX='-Wl,'
13535             lt_prog_compiler_pic_CXX='-qpic'
13536             lt_prog_compiler_static_CXX='-qstaticlink'
13537             ;;
13538           *)
13539             case `$CC -V 2>&1 | sed 5q` in
13540             *Sun\ C*)
13541               # Sun C++ 5.9
13542               lt_prog_compiler_pic_CXX='-KPIC'
13543               lt_prog_compiler_static_CXX='-Bstatic'
13544               lt_prog_compiler_wl_CXX='-Qoption ld '
13545               ;;
13546             esac
13547             ;;
13548         esac
13549         ;;
13550       lynxos*)
13551         ;;
13552       m88k*)
13553         ;;
13554       mvs*)
13555         case $cc_basename in
13556           cxx*)
13557             lt_prog_compiler_pic_CXX='-W c,exportall'
13558             ;;
13559           *)
13560             ;;
13561         esac
13562         ;;
13563       netbsd*)
13564         ;;
13565       *qnx* | *nto*)
13566         # QNX uses GNU C++, but need to define -shared option too, otherwise
13567         # it will coredump.
13568         lt_prog_compiler_pic_CXX='-fPIC -shared'
13569         ;;
13570       osf3* | osf4* | osf5*)
13571         case $cc_basename in
13572           KCC*)
13573             lt_prog_compiler_wl_CXX='--backend -Wl,'
13574             ;;
13575           RCC*)
13576             # Rational C++ 2.4.1
13577             lt_prog_compiler_pic_CXX='-pic'
13578             ;;
13579           cxx*)
13580             # Digital/Compaq C++
13581             lt_prog_compiler_wl_CXX='-Wl,'
13582             # Make sure the PIC flag is empty.  It appears that all Alpha
13583             # Linux and Compaq Tru64 Unix objects are PIC.
13584             lt_prog_compiler_pic_CXX=
13585             lt_prog_compiler_static_CXX='-non_shared'
13586             ;;
13587           *)
13588             ;;
13589         esac
13590         ;;
13591       psos*)
13592         ;;
13593       solaris*)
13594         case $cc_basename in
13595           CC*)
13596             # Sun C++ 4.2, 5.x and Centerline C++
13597             lt_prog_compiler_pic_CXX='-KPIC'
13598             lt_prog_compiler_static_CXX='-Bstatic'
13599             lt_prog_compiler_wl_CXX='-Qoption ld '
13600             ;;
13601           gcx*)
13602             # Green Hills C++ Compiler
13603             lt_prog_compiler_pic_CXX='-PIC'
13604             ;;
13605           *)
13606             ;;
13607         esac
13608         ;;
13609       sunos4*)
13610         case $cc_basename in
13611           CC*)
13612             # Sun C++ 4.x
13613             lt_prog_compiler_pic_CXX='-pic'
13614             lt_prog_compiler_static_CXX='-Bstatic'
13615             ;;
13616           lcc*)
13617             # Lucid
13618             lt_prog_compiler_pic_CXX='-pic'
13619             ;;
13620           *)
13621             ;;
13622         esac
13623         ;;
13624       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13625         case $cc_basename in
13626           CC*)
13627             lt_prog_compiler_wl_CXX='-Wl,'
13628             lt_prog_compiler_pic_CXX='-KPIC'
13629             lt_prog_compiler_static_CXX='-Bstatic'
13630             ;;
13631         esac
13632         ;;
13633       tandem*)
13634         case $cc_basename in
13635           NCC*)
13636             # NonStop-UX NCC 3.20
13637             lt_prog_compiler_pic_CXX='-KPIC'
13638             ;;
13639           *)
13640             ;;
13641         esac
13642         ;;
13643       vxworks*)
13644         ;;
13645       *)
13646         lt_prog_compiler_can_build_shared_CXX=no
13647         ;;
13648     esac
13649   fi
13650
13651 case $host_os in
13652   # For platforms which do not support PIC, -DPIC is meaningless:
13653   *djgpp*)
13654     lt_prog_compiler_pic_CXX=
13655     ;;
13656   *)
13657     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13658     ;;
13659 esac
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13661 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13662
13663
13664
13665 #
13666 # Check to make sure the PIC flag actually works.
13667 #
13668 if test -n "$lt_prog_compiler_pic_CXX"; then
13669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13670 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13671 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13672   $as_echo_n "(cached) " >&6
13673 else
13674   lt_cv_prog_compiler_pic_works_CXX=no
13675    ac_outfile=conftest.$ac_objext
13676    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13677    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13678    # Insert the option either (1) after the last *FLAGS variable, or
13679    # (2) before a word containing "conftest.", or (3) at the end.
13680    # Note that $ac_compile itself does not contain backslashes and begins
13681    # with a dollar sign (not a hyphen), so the echo should work correctly.
13682    # The option is referenced via a variable to avoid confusing sed.
13683    lt_compile=`echo "$ac_compile" | $SED \
13684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13686    -e 's:$: $lt_compiler_flag:'`
13687    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13688    (eval "$lt_compile" 2>conftest.err)
13689    ac_status=$?
13690    cat conftest.err >&5
13691    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692    if (exit $ac_status) && test -s "$ac_outfile"; then
13693      # The compiler can only warn and ignore the option if not recognized
13694      # So say no if there are warnings other than the usual output.
13695      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13696      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13697      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13698        lt_cv_prog_compiler_pic_works_CXX=yes
13699      fi
13700    fi
13701    $RM conftest*
13702
13703 fi
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13705 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13706
13707 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13708     case $lt_prog_compiler_pic_CXX in
13709      "" | " "*) ;;
13710      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13711      esac
13712 else
13713     lt_prog_compiler_pic_CXX=
13714      lt_prog_compiler_can_build_shared_CXX=no
13715 fi
13716
13717 fi
13718
13719
13720
13721 #
13722 # Check to make sure the static flag actually works.
13723 #
13724 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13726 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13727 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13728   $as_echo_n "(cached) " >&6
13729 else
13730   lt_cv_prog_compiler_static_works_CXX=no
13731    save_LDFLAGS="$LDFLAGS"
13732    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13733    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13734    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13735      # The linker can only warn and ignore the option if not recognized
13736      # So say no if there are warnings
13737      if test -s conftest.err; then
13738        # Append any errors to the config.log.
13739        cat conftest.err 1>&5
13740        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13741        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13742        if diff conftest.exp conftest.er2 >/dev/null; then
13743          lt_cv_prog_compiler_static_works_CXX=yes
13744        fi
13745      else
13746        lt_cv_prog_compiler_static_works_CXX=yes
13747      fi
13748    fi
13749    $RM -r conftest*
13750    LDFLAGS="$save_LDFLAGS"
13751
13752 fi
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13754 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13755
13756 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13757     :
13758 else
13759     lt_prog_compiler_static_CXX=
13760 fi
13761
13762
13763
13764
13765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13766 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13767 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13768   $as_echo_n "(cached) " >&6
13769 else
13770   lt_cv_prog_compiler_c_o_CXX=no
13771    $RM -r conftest 2>/dev/null
13772    mkdir conftest
13773    cd conftest
13774    mkdir out
13775    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13776
13777    lt_compiler_flag="-o out/conftest2.$ac_objext"
13778    # Insert the option either (1) after the last *FLAGS variable, or
13779    # (2) before a word containing "conftest.", or (3) at the end.
13780    # Note that $ac_compile itself does not contain backslashes and begins
13781    # with a dollar sign (not a hyphen), so the echo should work correctly.
13782    lt_compile=`echo "$ac_compile" | $SED \
13783    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13784    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13785    -e 's:$: $lt_compiler_flag:'`
13786    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13787    (eval "$lt_compile" 2>out/conftest.err)
13788    ac_status=$?
13789    cat out/conftest.err >&5
13790    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13792    then
13793      # The compiler can only warn and ignore the option if not recognized
13794      # So say no if there are warnings
13795      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13796      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13797      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13798        lt_cv_prog_compiler_c_o_CXX=yes
13799      fi
13800    fi
13801    chmod u+w . 2>&5
13802    $RM conftest*
13803    # SGI C++ compiler will create directory out/ii_files/ for
13804    # template instantiation
13805    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13806    $RM out/* && rmdir out
13807    cd ..
13808    $RM -r conftest
13809    $RM conftest*
13810
13811 fi
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13813 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13814
13815
13816
13817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13818 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13819 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13820   $as_echo_n "(cached) " >&6
13821 else
13822   lt_cv_prog_compiler_c_o_CXX=no
13823    $RM -r conftest 2>/dev/null
13824    mkdir conftest
13825    cd conftest
13826    mkdir out
13827    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13828
13829    lt_compiler_flag="-o out/conftest2.$ac_objext"
13830    # Insert the option either (1) after the last *FLAGS variable, or
13831    # (2) before a word containing "conftest.", or (3) at the end.
13832    # Note that $ac_compile itself does not contain backslashes and begins
13833    # with a dollar sign (not a hyphen), so the echo should work correctly.
13834    lt_compile=`echo "$ac_compile" | $SED \
13835    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13836    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13837    -e 's:$: $lt_compiler_flag:'`
13838    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13839    (eval "$lt_compile" 2>out/conftest.err)
13840    ac_status=$?
13841    cat out/conftest.err >&5
13842    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13844    then
13845      # The compiler can only warn and ignore the option if not recognized
13846      # So say no if there are warnings
13847      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13848      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13849      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13850        lt_cv_prog_compiler_c_o_CXX=yes
13851      fi
13852    fi
13853    chmod u+w . 2>&5
13854    $RM conftest*
13855    # SGI C++ compiler will create directory out/ii_files/ for
13856    # template instantiation
13857    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13858    $RM out/* && rmdir out
13859    cd ..
13860    $RM -r conftest
13861    $RM conftest*
13862
13863 fi
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13865 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13866
13867
13868
13869
13870 hard_links="nottested"
13871 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13872   # do not overwrite the value of need_locks provided by the user
13873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13874 $as_echo_n "checking if we can lock with hard links... " >&6; }
13875   hard_links=yes
13876   $RM conftest*
13877   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13878   touch conftest.a
13879   ln conftest.a conftest.b 2>&5 || hard_links=no
13880   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13882 $as_echo "$hard_links" >&6; }
13883   if test "$hard_links" = no; then
13884     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13885 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13886     need_locks=warn
13887   fi
13888 else
13889   need_locks=no
13890 fi
13891
13892
13893
13894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13895 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13896
13897   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13898   case $host_os in
13899   aix[4-9]*)
13900     # If we're using GNU nm, then we don't want the "-C" option.
13901     # -C means demangle to AIX nm, but means don't demangle with GNU nm
13902     # Also, AIX nm treats weak defined symbols like other global defined
13903     # symbols, whereas GNU nm marks them as "W".
13904     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13905       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13906     else
13907       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13908     fi
13909     ;;
13910   pw32*)
13911     export_symbols_cmds_CXX="$ltdll_cmds"
13912   ;;
13913   cygwin* | mingw* | cegcc*)
13914     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13915   ;;
13916   *)
13917     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13918   ;;
13919   esac
13920   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13921
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13923 $as_echo "$ld_shlibs_CXX" >&6; }
13924 test "$ld_shlibs_CXX" = no && can_build_shared=no
13925
13926 with_gnu_ld_CXX=$with_gnu_ld
13927
13928
13929
13930
13931
13932
13933 #
13934 # Do we need to explicitly link libc?
13935 #
13936 case "x$archive_cmds_need_lc_CXX" in
13937 x|xyes)
13938   # Assume -lc should be added
13939   archive_cmds_need_lc_CXX=yes
13940
13941   if test "$enable_shared" = yes && test "$GCC" = yes; then
13942     case $archive_cmds_CXX in
13943     *'~'*)
13944       # FIXME: we may have to deal with multi-command sequences.
13945       ;;
13946     '$CC '*)
13947       # Test whether the compiler implicitly links with -lc since on some
13948       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13949       # to ld, don't add -lc before -lgcc.
13950       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13951 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13952 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13953   $as_echo_n "(cached) " >&6
13954 else
13955   $RM conftest*
13956         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13957
13958         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13959   (eval $ac_compile) 2>&5
13960   ac_status=$?
13961   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13962   test $ac_status = 0; } 2>conftest.err; then
13963           soname=conftest
13964           lib=conftest
13965           libobjs=conftest.$ac_objext
13966           deplibs=
13967           wl=$lt_prog_compiler_wl_CXX
13968           pic_flag=$lt_prog_compiler_pic_CXX
13969           compiler_flags=-v
13970           linker_flags=-v
13971           verstring=
13972           output_objdir=.
13973           libname=conftest
13974           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13975           allow_undefined_flag_CXX=
13976           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13977   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13978   ac_status=$?
13979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980   test $ac_status = 0; }
13981           then
13982             lt_cv_archive_cmds_need_lc_CXX=no
13983           else
13984             lt_cv_archive_cmds_need_lc_CXX=yes
13985           fi
13986           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13987         else
13988           cat conftest.err 1>&5
13989         fi
13990         $RM conftest*
13991
13992 fi
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13994 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
13995       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13996       ;;
13997     esac
13998   fi
13999   ;;
14000 esac
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14066 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14067
14068 library_names_spec=
14069 libname_spec='lib$name'
14070 soname_spec=
14071 shrext_cmds=".so"
14072 postinstall_cmds=
14073 postuninstall_cmds=
14074 finish_cmds=
14075 finish_eval=
14076 shlibpath_var=
14077 shlibpath_overrides_runpath=unknown
14078 version_type=none
14079 dynamic_linker="$host_os ld.so"
14080 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14081 need_lib_prefix=unknown
14082 hardcode_into_libs=no
14083
14084 # when you set need_version to no, make sure it does not cause -set_version
14085 # flags to be left without arguments
14086 need_version=unknown
14087
14088 case $host_os in
14089 aix3*)
14090   version_type=linux
14091   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14092   shlibpath_var=LIBPATH
14093
14094   # AIX 3 has no versioning support, so we append a major version to the name.
14095   soname_spec='${libname}${release}${shared_ext}$major'
14096   ;;
14097
14098 aix[4-9]*)
14099   version_type=linux
14100   need_lib_prefix=no
14101   need_version=no
14102   hardcode_into_libs=yes
14103   if test "$host_cpu" = ia64; then
14104     # AIX 5 supports IA64
14105     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14106     shlibpath_var=LD_LIBRARY_PATH
14107   else
14108     # With GCC up to 2.95.x, collect2 would create an import file
14109     # for dependence libraries.  The import file would start with
14110     # the line `#! .'.  This would cause the generated library to
14111     # depend on `.', always an invalid library.  This was fixed in
14112     # development snapshots of GCC prior to 3.0.
14113     case $host_os in
14114       aix4 | aix4.[01] | aix4.[01].*)
14115       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14116            echo ' yes '
14117            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14118         :
14119       else
14120         can_build_shared=no
14121       fi
14122       ;;
14123     esac
14124     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14125     # soname into executable. Probably we can add versioning support to
14126     # collect2, so additional links can be useful in future.
14127     if test "$aix_use_runtimelinking" = yes; then
14128       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14129       # instead of lib<name>.a to let people know that these are not
14130       # typical AIX shared libraries.
14131       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14132     else
14133       # We preserve .a as extension for shared libraries through AIX4.2
14134       # and later when we are not doing run time linking.
14135       library_names_spec='${libname}${release}.a $libname.a'
14136       soname_spec='${libname}${release}${shared_ext}$major'
14137     fi
14138     shlibpath_var=LIBPATH
14139   fi
14140   ;;
14141
14142 amigaos*)
14143   case $host_cpu in
14144   powerpc)
14145     # Since July 2007 AmigaOS4 officially supports .so libraries.
14146     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14147     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148     ;;
14149   m68k)
14150     library_names_spec='$libname.ixlibrary $libname.a'
14151     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14152     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14153     ;;
14154   esac
14155   ;;
14156
14157 beos*)
14158   library_names_spec='${libname}${shared_ext}'
14159   dynamic_linker="$host_os ld.so"
14160   shlibpath_var=LIBRARY_PATH
14161   ;;
14162
14163 bsdi[45]*)
14164   version_type=linux
14165   need_version=no
14166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14167   soname_spec='${libname}${release}${shared_ext}$major'
14168   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14169   shlibpath_var=LD_LIBRARY_PATH
14170   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14171   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14172   # the default ld.so.conf also contains /usr/contrib/lib and
14173   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14174   # libtool to hard-code these into programs
14175   ;;
14176
14177 cygwin* | mingw* | pw32* | cegcc*)
14178   version_type=windows
14179   shrext_cmds=".dll"
14180   need_version=no
14181   need_lib_prefix=no
14182
14183   case $GCC,$host_os in
14184   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14185     library_names_spec='$libname.dll.a'
14186     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14187     postinstall_cmds='base_file=`basename \${file}`~
14188       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14189       dldir=$destdir/`dirname \$dlpath`~
14190       test -d \$dldir || mkdir -p \$dldir~
14191       $install_prog $dir/$dlname \$dldir/$dlname~
14192       chmod a+x \$dldir/$dlname~
14193       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14194         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14195       fi'
14196     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14197       dlpath=$dir/\$dldll~
14198        $RM \$dlpath'
14199     shlibpath_overrides_runpath=yes
14200
14201     case $host_os in
14202     cygwin*)
14203       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14204       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14205
14206       ;;
14207     mingw* | cegcc*)
14208       # MinGW DLLs use traditional 'lib' prefix
14209       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14210       ;;
14211     pw32*)
14212       # pw32 DLLs use 'pw' prefix rather than 'lib'
14213       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14214       ;;
14215     esac
14216     ;;
14217
14218   *)
14219     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14220     ;;
14221   esac
14222   dynamic_linker='Win32 ld.exe'
14223   # FIXME: first we should search . and the directory the executable is in
14224   shlibpath_var=PATH
14225   ;;
14226
14227 darwin* | rhapsody*)
14228   dynamic_linker="$host_os dyld"
14229   version_type=darwin
14230   need_lib_prefix=no
14231   need_version=no
14232   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14233   soname_spec='${libname}${release}${major}$shared_ext'
14234   shlibpath_overrides_runpath=yes
14235   shlibpath_var=DYLD_LIBRARY_PATH
14236   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14237
14238   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14239   ;;
14240
14241 dgux*)
14242   version_type=linux
14243   need_lib_prefix=no
14244   need_version=no
14245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14246   soname_spec='${libname}${release}${shared_ext}$major'
14247   shlibpath_var=LD_LIBRARY_PATH
14248   ;;
14249
14250 freebsd1*)
14251   dynamic_linker=no
14252   ;;
14253
14254 freebsd* | dragonfly*)
14255   # DragonFly does not have aout.  When/if they implement a new
14256   # versioning mechanism, adjust this.
14257   if test -x /usr/bin/objformat; then
14258     objformat=`/usr/bin/objformat`
14259   else
14260     case $host_os in
14261     freebsd[123]*) objformat=aout ;;
14262     *) objformat=elf ;;
14263     esac
14264   fi
14265   version_type=freebsd-$objformat
14266   case $version_type in
14267     freebsd-elf*)
14268       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14269       need_version=no
14270       need_lib_prefix=no
14271       ;;
14272     freebsd-*)
14273       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14274       need_version=yes
14275       ;;
14276   esac
14277   shlibpath_var=LD_LIBRARY_PATH
14278   case $host_os in
14279   freebsd2*)
14280     shlibpath_overrides_runpath=yes
14281     ;;
14282   freebsd3.[01]* | freebsdelf3.[01]*)
14283     shlibpath_overrides_runpath=yes
14284     hardcode_into_libs=yes
14285     ;;
14286   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14287   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14288     shlibpath_overrides_runpath=no
14289     hardcode_into_libs=yes
14290     ;;
14291   *) # from 4.6 on, and DragonFly
14292     shlibpath_overrides_runpath=yes
14293     hardcode_into_libs=yes
14294     ;;
14295   esac
14296   ;;
14297
14298 gnu*)
14299   version_type=linux
14300   need_lib_prefix=no
14301   need_version=no
14302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14303   soname_spec='${libname}${release}${shared_ext}$major'
14304   shlibpath_var=LD_LIBRARY_PATH
14305   hardcode_into_libs=yes
14306   ;;
14307
14308 haiku*)
14309   version_type=linux
14310   need_lib_prefix=no
14311   need_version=no
14312   dynamic_linker="$host_os runtime_loader"
14313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14314   soname_spec='${libname}${release}${shared_ext}$major'
14315   shlibpath_var=LIBRARY_PATH
14316   shlibpath_overrides_runpath=yes
14317   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14318   hardcode_into_libs=yes
14319   ;;
14320
14321 hpux9* | hpux10* | hpux11*)
14322   # Give a soname corresponding to the major version so that dld.sl refuses to
14323   # link against other versions.
14324   version_type=sunos
14325   need_lib_prefix=no
14326   need_version=no
14327   case $host_cpu in
14328   ia64*)
14329     shrext_cmds='.so'
14330     hardcode_into_libs=yes
14331     dynamic_linker="$host_os dld.so"
14332     shlibpath_var=LD_LIBRARY_PATH
14333     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14334     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14335     soname_spec='${libname}${release}${shared_ext}$major'
14336     if test "X$HPUX_IA64_MODE" = X32; then
14337       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14338     else
14339       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14340     fi
14341     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14342     ;;
14343   hppa*64*)
14344     shrext_cmds='.sl'
14345     hardcode_into_libs=yes
14346     dynamic_linker="$host_os dld.sl"
14347     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14348     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14349     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14350     soname_spec='${libname}${release}${shared_ext}$major'
14351     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14352     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14353     ;;
14354   *)
14355     shrext_cmds='.sl'
14356     dynamic_linker="$host_os dld.sl"
14357     shlibpath_var=SHLIB_PATH
14358     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14359     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14360     soname_spec='${libname}${release}${shared_ext}$major'
14361     ;;
14362   esac
14363   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14364   postinstall_cmds='chmod 555 $lib'
14365   # or fails outright, so override atomically:
14366   install_override_mode=555
14367   ;;
14368
14369 interix[3-9]*)
14370   version_type=linux
14371   need_lib_prefix=no
14372   need_version=no
14373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14374   soname_spec='${libname}${release}${shared_ext}$major'
14375   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14376   shlibpath_var=LD_LIBRARY_PATH
14377   shlibpath_overrides_runpath=no
14378   hardcode_into_libs=yes
14379   ;;
14380
14381 irix5* | irix6* | nonstopux*)
14382   case $host_os in
14383     nonstopux*) version_type=nonstopux ;;
14384     *)
14385         if test "$lt_cv_prog_gnu_ld" = yes; then
14386                 version_type=linux
14387         else
14388                 version_type=irix
14389         fi ;;
14390   esac
14391   need_lib_prefix=no
14392   need_version=no
14393   soname_spec='${libname}${release}${shared_ext}$major'
14394   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14395   case $host_os in
14396   irix5* | nonstopux*)
14397     libsuff= shlibsuff=
14398     ;;
14399   *)
14400     case $LD in # libtool.m4 will add one of these switches to LD
14401     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14402       libsuff= shlibsuff= libmagic=32-bit;;
14403     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14404       libsuff=32 shlibsuff=N32 libmagic=N32;;
14405     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14406       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14407     *) libsuff= shlibsuff= libmagic=never-match;;
14408     esac
14409     ;;
14410   esac
14411   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14412   shlibpath_overrides_runpath=no
14413   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14414   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14415   hardcode_into_libs=yes
14416   ;;
14417
14418 # No shared lib support for Linux oldld, aout, or coff.
14419 linux*oldld* | linux*aout* | linux*coff*)
14420   dynamic_linker=no
14421   ;;
14422
14423 # This must be Linux ELF.
14424 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14425   version_type=linux
14426   need_lib_prefix=no
14427   need_version=no
14428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429   soname_spec='${libname}${release}${shared_ext}$major'
14430   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14431   shlibpath_var=LD_LIBRARY_PATH
14432   shlibpath_overrides_runpath=no
14433
14434   # Some binutils ld are patched to set DT_RUNPATH
14435   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14436   $as_echo_n "(cached) " >&6
14437 else
14438   lt_cv_shlibpath_overrides_runpath=no
14439     save_LDFLAGS=$LDFLAGS
14440     save_libdir=$libdir
14441     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14442          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14443     if test x$gcc_no_link = xyes; then
14444   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14445 fi
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h.  */
14448
14449 int
14450 main ()
14451 {
14452
14453   ;
14454   return 0;
14455 }
14456 _ACEOF
14457 if ac_fn_cxx_try_link "$LINENO"; then :
14458   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14459   lt_cv_shlibpath_overrides_runpath=yes
14460 fi
14461 fi
14462 rm -f core conftest.err conftest.$ac_objext \
14463     conftest$ac_exeext conftest.$ac_ext
14464     LDFLAGS=$save_LDFLAGS
14465     libdir=$save_libdir
14466
14467 fi
14468
14469   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14470
14471   # This implies no fast_install, which is unacceptable.
14472   # Some rework will be needed to allow for fast_install
14473   # before this can be enabled.
14474   hardcode_into_libs=yes
14475
14476   # Append ld.so.conf contents to the search path
14477   if test -f /etc/ld.so.conf; then
14478     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14479     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14480   fi
14481
14482   # We used to test for /lib/ld.so.1 and disable shared libraries on
14483   # powerpc, because MkLinux only supported shared libraries with the
14484   # GNU dynamic linker.  Since this was broken with cross compilers,
14485   # most powerpc-linux boxes support dynamic linking these days and
14486   # people can always --disable-shared, the test was removed, and we
14487   # assume the GNU/Linux dynamic linker is in use.
14488   dynamic_linker='GNU/Linux ld.so'
14489   ;;
14490
14491 netbsd*)
14492   version_type=sunos
14493   need_lib_prefix=no
14494   need_version=no
14495   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14496     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14497     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14498     dynamic_linker='NetBSD (a.out) ld.so'
14499   else
14500     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14501     soname_spec='${libname}${release}${shared_ext}$major'
14502     dynamic_linker='NetBSD ld.elf_so'
14503   fi
14504   shlibpath_var=LD_LIBRARY_PATH
14505   shlibpath_overrides_runpath=yes
14506   hardcode_into_libs=yes
14507   ;;
14508
14509 newsos6)
14510   version_type=linux
14511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512   shlibpath_var=LD_LIBRARY_PATH
14513   shlibpath_overrides_runpath=yes
14514   ;;
14515
14516 *nto* | *qnx*)
14517   version_type=qnx
14518   need_lib_prefix=no
14519   need_version=no
14520   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14521   soname_spec='${libname}${release}${shared_ext}$major'
14522   shlibpath_var=LD_LIBRARY_PATH
14523   shlibpath_overrides_runpath=no
14524   hardcode_into_libs=yes
14525   dynamic_linker='ldqnx.so'
14526   ;;
14527
14528 openbsd*)
14529   version_type=sunos
14530   sys_lib_dlsearch_path_spec="/usr/lib"
14531   need_lib_prefix=no
14532   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14533   case $host_os in
14534     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14535     *)                          need_version=no  ;;
14536   esac
14537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14538   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14539   shlibpath_var=LD_LIBRARY_PATH
14540   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14541     case $host_os in
14542       openbsd2.[89] | openbsd2.[89].*)
14543         shlibpath_overrides_runpath=no
14544         ;;
14545       *)
14546         shlibpath_overrides_runpath=yes
14547         ;;
14548       esac
14549   else
14550     shlibpath_overrides_runpath=yes
14551   fi
14552   ;;
14553
14554 os2*)
14555   libname_spec='$name'
14556   shrext_cmds=".dll"
14557   need_lib_prefix=no
14558   library_names_spec='$libname${shared_ext} $libname.a'
14559   dynamic_linker='OS/2 ld.exe'
14560   shlibpath_var=LIBPATH
14561   ;;
14562
14563 osf3* | osf4* | osf5*)
14564   version_type=osf
14565   need_lib_prefix=no
14566   need_version=no
14567   soname_spec='${libname}${release}${shared_ext}$major'
14568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14569   shlibpath_var=LD_LIBRARY_PATH
14570   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14571   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14572   ;;
14573
14574 rdos*)
14575   dynamic_linker=no
14576   ;;
14577
14578 solaris*)
14579   version_type=linux
14580   need_lib_prefix=no
14581   need_version=no
14582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14583   soname_spec='${libname}${release}${shared_ext}$major'
14584   shlibpath_var=LD_LIBRARY_PATH
14585   shlibpath_overrides_runpath=yes
14586   hardcode_into_libs=yes
14587   # ldd complains unless libraries are executable
14588   postinstall_cmds='chmod +x $lib'
14589   ;;
14590
14591 sunos4*)
14592   version_type=sunos
14593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14594   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14595   shlibpath_var=LD_LIBRARY_PATH
14596   shlibpath_overrides_runpath=yes
14597   if test "$with_gnu_ld" = yes; then
14598     need_lib_prefix=no
14599   fi
14600   need_version=yes
14601   ;;
14602
14603 sysv4 | sysv4.3*)
14604   version_type=linux
14605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14606   soname_spec='${libname}${release}${shared_ext}$major'
14607   shlibpath_var=LD_LIBRARY_PATH
14608   case $host_vendor in
14609     sni)
14610       shlibpath_overrides_runpath=no
14611       need_lib_prefix=no
14612       runpath_var=LD_RUN_PATH
14613       ;;
14614     siemens)
14615       need_lib_prefix=no
14616       ;;
14617     motorola)
14618       need_lib_prefix=no
14619       need_version=no
14620       shlibpath_overrides_runpath=no
14621       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14622       ;;
14623   esac
14624   ;;
14625
14626 sysv4*MP*)
14627   if test -d /usr/nec ;then
14628     version_type=linux
14629     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14630     soname_spec='$libname${shared_ext}.$major'
14631     shlibpath_var=LD_LIBRARY_PATH
14632   fi
14633   ;;
14634
14635 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14636   version_type=freebsd-elf
14637   need_lib_prefix=no
14638   need_version=no
14639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14640   soname_spec='${libname}${release}${shared_ext}$major'
14641   shlibpath_var=LD_LIBRARY_PATH
14642   shlibpath_overrides_runpath=yes
14643   hardcode_into_libs=yes
14644   if test "$with_gnu_ld" = yes; then
14645     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14646   else
14647     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14648     case $host_os in
14649       sco3.2v5*)
14650         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14651         ;;
14652     esac
14653   fi
14654   sys_lib_dlsearch_path_spec='/usr/lib'
14655   ;;
14656
14657 tpf*)
14658   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14659   version_type=linux
14660   need_lib_prefix=no
14661   need_version=no
14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14663   shlibpath_var=LD_LIBRARY_PATH
14664   shlibpath_overrides_runpath=no
14665   hardcode_into_libs=yes
14666   ;;
14667
14668 uts4*)
14669   version_type=linux
14670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671   soname_spec='${libname}${release}${shared_ext}$major'
14672   shlibpath_var=LD_LIBRARY_PATH
14673   ;;
14674
14675 *)
14676   dynamic_linker=no
14677   ;;
14678 esac
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14680 $as_echo "$dynamic_linker" >&6; }
14681 test "$dynamic_linker" = no && can_build_shared=no
14682
14683 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14684 if test "$GCC" = yes; then
14685   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14686 fi
14687
14688 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14689   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14690 fi
14691 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14692   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14693 fi
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14733 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14734 hardcode_action_CXX=
14735 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14736    test -n "$runpath_var_CXX" ||
14737    test "X$hardcode_automatic_CXX" = "Xyes" ; then
14738
14739   # We can hardcode non-existent directories.
14740   if test "$hardcode_direct_CXX" != no &&
14741      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14742      # have to relink, otherwise we might link with an installed library
14743      # when we should be linking with a yet-to-be-installed one
14744      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14745      test "$hardcode_minus_L_CXX" != no; then
14746     # Linking always hardcodes the temporary library directory.
14747     hardcode_action_CXX=relink
14748   else
14749     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14750     hardcode_action_CXX=immediate
14751   fi
14752 else
14753   # We cannot hardcode anything, or else we can only hardcode existing
14754   # directories.
14755   hardcode_action_CXX=unsupported
14756 fi
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14758 $as_echo "$hardcode_action_CXX" >&6; }
14759
14760 if test "$hardcode_action_CXX" = relink ||
14761    test "$inherit_rpath_CXX" = yes; then
14762   # Fast installation is not supported
14763   enable_fast_install=no
14764 elif test "$shlibpath_overrides_runpath" = yes ||
14765      test "$enable_shared" = no; then
14766   # Fast installation is not necessary
14767   enable_fast_install=needless
14768 fi
14769
14770
14771
14772
14773
14774
14775
14776   fi # test -n "$compiler"
14777
14778   CC=$lt_save_CC
14779   LDCXX=$LD
14780   LD=$lt_save_LD
14781   GCC=$lt_save_GCC
14782   with_gnu_ld=$lt_save_with_gnu_ld
14783   lt_cv_path_LDCXX=$lt_cv_path_LD
14784   lt_cv_path_LD=$lt_save_path_LD
14785   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14786   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14787 fi # test "$_lt_caught_CXX_error" != yes
14788
14789 ac_ext=c
14790 ac_cpp='$CPP $CPPFLAGS'
14791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807         ac_config_commands="$ac_config_commands libtool"
14808
14809
14810
14811
14812 # Only expand once:
14813
14814
14815
14816
14817
14818 # Possibly disable most of the library.
14819 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14820 ## than just ignoring the results.  Faster /and/ more correct, win win.
14821
14822   # Check whether --enable-hosted-libstdcxx was given.
14823 if test "${enable_hosted_libstdcxx+set}" = set; then :
14824   enableval=$enable_hosted_libstdcxx;
14825 else
14826   case "$host" in
14827         arm*-*-symbianelf*)
14828             enable_hosted_libstdcxx=no
14829             ;;
14830         *)
14831             enable_hosted_libstdcxx=yes
14832             ;;
14833      esac
14834 fi
14835
14836   if test "$enable_hosted_libstdcxx" = no; then
14837     { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14838 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14839     is_hosted=no
14840     hosted_define=0
14841     enable_abi_check=no
14842     enable_libstdcxx_pch=no
14843   else
14844     is_hosted=yes
14845     hosted_define=1
14846   fi
14847
14848
14849 cat >>confdefs.h <<_ACEOF
14850 #define _GLIBCXX_HOSTED $hosted_define
14851 _ACEOF
14852
14853
14854
14855 # Enable compiler support that doesn't require linking.
14856
14857   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14858 $as_echo_n "checking for exception model to use... " >&6; }
14859
14860   ac_ext=cpp
14861 ac_cpp='$CXXCPP $CPPFLAGS'
14862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14865
14866    # Check whether --enable-sjlj-exceptions was given.
14867 if test "${enable_sjlj_exceptions+set}" = set; then :
14868   enableval=$enable_sjlj_exceptions;
14869       case "$enableval" in
14870        yes|no|auto) ;;
14871        *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14872                           esac
14873
14874 else
14875   enable_sjlj_exceptions=auto
14876 fi
14877
14878
14879
14880   if test $enable_sjlj_exceptions = auto; then
14881     # Botheration.  Now we've got to detect the exception model.  Link tests
14882     # against libgcc.a are problematic since we've not been given proper -L
14883     # bits for single-tree newlib and libgloss.
14884     #
14885     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
14886     cat > conftest.$ac_ext << EOF
14887 #line 14887 "configure"
14888 struct S { ~S(); };
14889 void bar();
14890 void foo()
14891 {
14892   S s;
14893   bar();
14894 }
14895 EOF
14896     old_CXXFLAGS="$CXXFLAGS"
14897     CXXFLAGS=-S
14898     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14899   (eval $ac_compile) 2>&5
14900   ac_status=$?
14901   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14902   test $ac_status = 0; }; then
14903       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14904         enable_sjlj_exceptions=yes
14905       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14906         enable_sjlj_exceptions=no
14907       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14908         enable_sjlj_exceptions=no
14909       fi
14910     fi
14911     CXXFLAGS="$old_CXXFLAGS"
14912     rm -f conftest*
14913   fi
14914
14915   # This is a tad weird, for hysterical raisins.  We have to map
14916   # enable/disable to two different models.
14917   case $enable_sjlj_exceptions in
14918     yes)
14919
14920 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14921
14922       ac_exception_model_name=sjlj
14923       ;;
14924     no)
14925       ac_exception_model_name="call frame"
14926       ;;
14927     *)
14928       as_fn_error "unable to detect exception model" "$LINENO" 5
14929       ;;
14930   esac
14931  ac_ext=c
14932 ac_cpp='$CPP $CPPFLAGS'
14933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14936
14937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14938 $as_echo "$ac_exception_model_name" >&6; }
14939
14940
14941    # Check whether --enable-libstdcxx-pch was given.
14942 if test "${enable_libstdcxx_pch+set}" = set; then :
14943   enableval=$enable_libstdcxx_pch;
14944       case "$enableval" in
14945        yes|no) ;;
14946        *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14947       esac
14948
14949 else
14950   enable_libstdcxx_pch=$is_hosted
14951 fi
14952
14953
14954   if test $enable_libstdcxx_pch = yes; then
14955     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14956 $as_echo_n "checking for compiler with PCH support... " >&6; }
14957 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14958   $as_echo_n "(cached) " >&6
14959 else
14960   ac_save_CXXFLAGS="$CXXFLAGS"
14961        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14962
14963        ac_ext=cpp
14964 ac_cpp='$CXXCPP $CPPFLAGS'
14965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14968
14969        echo '#include <math.h>' > conftest.h
14970        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14971                           -o conftest.h.gch 1>&5 2>&1 &&
14972                 echo '#error "pch failed"' > conftest.h &&
14973           echo '#include "conftest.h"' > conftest.cc &&
14974                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14975        then
14976          glibcxx_cv_prog_CXX_pch=yes
14977        else
14978          glibcxx_cv_prog_CXX_pch=no
14979        fi
14980        rm -f conftest*
14981        CXXFLAGS=$ac_save_CXXFLAGS
14982        ac_ext=c
14983 ac_cpp='$CPP $CPPFLAGS'
14984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14987
14988
14989 fi
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
14991 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
14992     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14993   fi
14994
14995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
14996 $as_echo_n "checking for enabled PCH... " >&6; }
14997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
14998 $as_echo "$enable_libstdcxx_pch" >&6; }
14999
15000
15001   if test $enable_libstdcxx_pch = yes; then
15002     glibcxx_PCHFLAGS="-include bits/stdc++.h"
15003   else
15004     glibcxx_PCHFLAGS=""
15005   fi
15006
15007
15008
15009   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15010 $as_echo_n "checking for thread model used by GCC... " >&6; }
15011   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15013 $as_echo "$target_thread_file" >&6; }
15014
15015   if test $target_thread_file != single; then
15016
15017 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15018
15019   fi
15020
15021   glibcxx_thread_h=gthr-$target_thread_file.h
15022
15023     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15024   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15025     enable_thread=yes
15026   else
15027    enable_thread=no
15028   fi
15029
15030
15031
15032
15033
15034   ac_ext=cpp
15035 ac_cpp='$CXXCPP $CPPFLAGS'
15036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15039
15040   old_CXXFLAGS="$CXXFLAGS"
15041
15042   # Do link tests if possible, instead asm tests, limited to some platforms
15043   # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15044   # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15045   atomic_builtins_link_tests=no
15046   if test x$gcc_no_link != xyes; then
15047     # Can do link tests. Limit to some tested platforms
15048     case "$host" in
15049       *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15050         atomic_builtins_link_tests=yes
15051         ;;
15052     esac
15053   fi
15054
15055   if test x$atomic_builtins_link_tests = xyes; then
15056
15057   # Do link tests.
15058
15059   CXXFLAGS="$CXXFLAGS -fno-exceptions"
15060
15061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15062 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15063   if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15064   $as_echo_n "(cached) " >&6
15065 else
15066
15067     if test x$gcc_no_link = xyes; then
15068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15069 fi
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h.  */
15072
15073 int
15074 main ()
15075 {
15076 typedef bool atomic_type;
15077        atomic_type c1;
15078        atomic_type c2;
15079        const atomic_type c3(0);
15080        __sync_fetch_and_add(&c1, c2);
15081        __sync_val_compare_and_swap(&c1, c3, c2);
15082        __sync_lock_test_and_set(&c1, c3);
15083        __sync_lock_release(&c1);
15084        __sync_synchronize();
15085   ;
15086   return 0;
15087 }
15088 _ACEOF
15089 if ac_fn_cxx_try_link "$LINENO"; then :
15090   glibcxx_cv_atomic_bool=yes
15091 else
15092   glibcxx_cv_atomic_bool=no
15093 fi
15094 rm -f core conftest.err conftest.$ac_objext \
15095     conftest$ac_exeext conftest.$ac_ext
15096
15097 fi
15098
15099   if test $glibcxx_cv_atomic_bool = yes; then
15100
15101 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15102
15103   fi
15104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15105 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15106
15107   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15108 $as_echo_n "checking for atomic builtins for short... " >&6; }
15109   if test "${glibcxx_cv_atomic_short+set}" = set; then :
15110   $as_echo_n "(cached) " >&6
15111 else
15112
15113     if test x$gcc_no_link = xyes; then
15114   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15115 fi
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h.  */
15118
15119 int
15120 main ()
15121 {
15122 typedef short atomic_type;
15123        atomic_type c1;
15124        atomic_type c2;
15125        const atomic_type c3(0);
15126        __sync_fetch_and_add(&c1, c2);
15127        __sync_val_compare_and_swap(&c1, c3, c2);
15128        __sync_lock_test_and_set(&c1, c3);
15129        __sync_lock_release(&c1);
15130        __sync_synchronize();
15131   ;
15132   return 0;
15133 }
15134 _ACEOF
15135 if ac_fn_cxx_try_link "$LINENO"; then :
15136   glibcxx_cv_atomic_short=yes
15137 else
15138   glibcxx_cv_atomic_short=no
15139 fi
15140 rm -f core conftest.err conftest.$ac_objext \
15141     conftest$ac_exeext conftest.$ac_ext
15142
15143 fi
15144
15145   if test $glibcxx_cv_atomic_short = yes; then
15146
15147 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15148
15149   fi
15150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15151 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15152
15153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15154 $as_echo_n "checking for atomic builtins for int... " >&6; }
15155   if test "${glibcxx_cv_atomic_int+set}" = set; then :
15156   $as_echo_n "(cached) " >&6
15157 else
15158
15159     if test x$gcc_no_link = xyes; then
15160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15161 fi
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h.  */
15164
15165 int
15166 main ()
15167 {
15168 typedef int atomic_type;
15169        atomic_type c1;
15170        atomic_type c2;
15171        const atomic_type c3(0);
15172        __sync_fetch_and_add(&c1, c2);
15173        __sync_val_compare_and_swap(&c1, c3, c2);
15174        __sync_lock_test_and_set(&c1, c3);
15175        __sync_lock_release(&c1);
15176        __sync_synchronize();
15177   ;
15178   return 0;
15179 }
15180 _ACEOF
15181 if ac_fn_cxx_try_link "$LINENO"; then :
15182   glibcxx_cv_atomic_int=yes
15183 else
15184   glibcxx_cv_atomic_int=no
15185 fi
15186 rm -f core conftest.err conftest.$ac_objext \
15187     conftest$ac_exeext conftest.$ac_ext
15188
15189 fi
15190
15191   if test $glibcxx_cv_atomic_int = yes; then
15192
15193 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15194
15195   fi
15196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15197 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15198
15199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15200 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15201   if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15202   $as_echo_n "(cached) " >&6
15203 else
15204
15205     if test x$gcc_no_link = xyes; then
15206   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15207 fi
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h.  */
15210
15211 int
15212 main ()
15213 {
15214 typedef long long atomic_type;
15215        atomic_type c1;
15216        atomic_type c2;
15217        const atomic_type c3(0);
15218        __sync_fetch_and_add(&c1, c2);
15219        __sync_val_compare_and_swap(&c1, c3, c2);
15220        __sync_lock_test_and_set(&c1, c3);
15221        __sync_lock_release(&c1);
15222        __sync_synchronize();
15223   ;
15224   return 0;
15225 }
15226 _ACEOF
15227 if ac_fn_cxx_try_link "$LINENO"; then :
15228   glibcxx_cv_atomic_long_long=yes
15229 else
15230   glibcxx_cv_atomic_long_long=no
15231 fi
15232 rm -f core conftest.err conftest.$ac_objext \
15233     conftest$ac_exeext conftest.$ac_ext
15234
15235 fi
15236
15237   if test $glibcxx_cv_atomic_long_long = yes; then
15238
15239 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15240
15241   fi
15242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15243 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15244
15245   else
15246
15247   # Do asm tests.
15248
15249   # Compile unoptimized.
15250   CXXFLAGS='-O0 -S'
15251
15252   # Fake what AC_TRY_COMPILE does.
15253
15254     cat > conftest.$ac_ext << EOF
15255 #line 15255 "configure"
15256 int main()
15257 {
15258   typedef bool atomic_type;
15259   atomic_type c1;
15260   atomic_type c2;
15261   const atomic_type c3(0);
15262   __sync_fetch_and_add(&c1, c2);
15263   __sync_val_compare_and_swap(&c1, c3, c2);
15264   __sync_lock_test_and_set(&c1, c3);
15265   __sync_lock_release(&c1);
15266   __sync_synchronize();
15267   return 0;
15268 }
15269 EOF
15270
15271     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15272 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15273     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15274   (eval $ac_compile) 2>&5
15275   ac_status=$?
15276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15277   test $ac_status = 0; }; then
15278       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15279         glibcxx_cv_atomic_bool=no
15280       else
15281
15282 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15283
15284         glibcxx_cv_atomic_bool=yes
15285       fi
15286     fi
15287     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15288 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15289     rm -f conftest*
15290
15291     cat > conftest.$ac_ext << EOF
15292 #line 15292 "configure"
15293 int main()
15294 {
15295   typedef short atomic_type;
15296   atomic_type c1;
15297   atomic_type c2;
15298   const atomic_type c3(0);
15299   __sync_fetch_and_add(&c1, c2);
15300   __sync_val_compare_and_swap(&c1, c3, c2);
15301   __sync_lock_test_and_set(&c1, c3);
15302   __sync_lock_release(&c1);
15303   __sync_synchronize();
15304   return 0;
15305 }
15306 EOF
15307
15308     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15309 $as_echo_n "checking for atomic builtins for short... " >&6; }
15310     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15311   (eval $ac_compile) 2>&5
15312   ac_status=$?
15313   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15314   test $ac_status = 0; }; then
15315       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15316         glibcxx_cv_atomic_short=no
15317       else
15318
15319 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15320
15321         glibcxx_cv_atomic_short=yes
15322       fi
15323     fi
15324     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15325 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15326     rm -f conftest*
15327
15328     cat > conftest.$ac_ext << EOF
15329 #line 15329 "configure"
15330 int main()
15331 {
15332   // NB: _Atomic_word not necessarily int.
15333   typedef int atomic_type;
15334   atomic_type c1;
15335   atomic_type c2;
15336   const atomic_type c3(0);
15337   __sync_fetch_and_add(&c1, c2);
15338   __sync_val_compare_and_swap(&c1, c3, c2);
15339   __sync_lock_test_and_set(&c1, c3);
15340   __sync_lock_release(&c1);
15341   __sync_synchronize();
15342   return 0;
15343 }
15344 EOF
15345
15346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15347 $as_echo_n "checking for atomic builtins for int... " >&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_int=no
15355       else
15356
15357 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15358
15359         glibcxx_cv_atomic_int=yes
15360       fi
15361     fi
15362     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15363 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15364     rm -f conftest*
15365
15366     cat > conftest.$ac_ext << EOF
15367 #line 15367 "configure"
15368 int main()
15369 {
15370   typedef long long atomic_type;
15371   atomic_type c1;
15372   atomic_type c2;
15373   const atomic_type c3(0);
15374   __sync_fetch_and_add(&c1, c2);
15375   __sync_val_compare_and_swap(&c1, c3, c2);
15376   __sync_lock_test_and_set(&c1, c3);
15377   __sync_lock_release(&c1);
15378   __sync_synchronize();
15379   return 0;
15380 }
15381 EOF
15382
15383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15384 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15385     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15386   (eval $ac_compile) 2>&5
15387   ac_status=$?
15388   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15389   test $ac_status = 0; }; then
15390       if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15391         glibcxx_cv_atomic_long_long=no
15392       else
15393
15394 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15395
15396         glibcxx_cv_atomic_long_long=yes
15397       fi
15398     fi
15399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15400 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15401     rm -f conftest*
15402
15403   fi
15404
15405   CXXFLAGS="$old_CXXFLAGS"
15406   ac_ext=c
15407 ac_cpp='$CPP $CPPFLAGS'
15408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15411
15412
15413   # Set atomicity_dir to builtins if either of above tests pass.
15414   if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15415     atomicity_dir=cpu/generic/atomicity_builtins
15416   fi
15417
15418   # If still generic, set to mutex.
15419   if test $atomicity_dir = "cpu/generic" ; then
15420     atomicity_dir=cpu/generic/atomicity_mutex
15421     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15422 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15423       if test "x$target_thread_file" = xsingle; then
15424         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15425 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15426         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15427 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15428       else
15429         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15430 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15431         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15432 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15433       fi
15434   fi
15435
15436
15437
15438
15439   # Fake what AC_TRY_COMPILE does, without linking as this is
15440   # unnecessary for this test.
15441
15442     cat > conftest.$ac_ext << EOF
15443 #line 15443 "configure"
15444 int main()
15445 {
15446   _Decimal32 d1;
15447   _Decimal64 d2;
15448   _Decimal128 d3;
15449   return 0;
15450 }
15451 EOF
15452
15453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15454 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15455     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15456   (eval $ac_compile) 2>&5
15457   ac_status=$?
15458   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15459   test $ac_status = 0; }; then
15460
15461 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15462
15463       enable_dfp=yes
15464     else
15465       enable_dfp=no
15466     fi
15467     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15468 $as_echo "$enable_dfp" >&6; }
15469     rm -f conftest*
15470
15471
15472 # Checks for compiler support that doesn't require linking.
15473
15474   # All these tests are for C++; save the language and the compiler flags.
15475   # The CXXFLAGS thing is suspicious, but based on similar bits previously
15476   # found in GLIBCXX_CONFIGURE.
15477
15478   ac_ext=cpp
15479 ac_cpp='$CXXCPP $CPPFLAGS'
15480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15483
15484   ac_test_CXXFLAGS="${CXXFLAGS+set}"
15485   ac_save_CXXFLAGS="$CXXFLAGS"
15486
15487   # Check for maintainer-mode bits.
15488   if test x"$USE_MAINTAINER_MODE" = xno; then
15489     WERROR=''
15490   else
15491     WERROR='-Werror'
15492   fi
15493
15494   # Check for -ffunction-sections -fdata-sections
15495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15496 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15497   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h.  */
15500 int foo; void bar() { };
15501 int
15502 main ()
15503 {
15504
15505   ;
15506   return 0;
15507 }
15508 _ACEOF
15509 if ac_fn_cxx_try_compile "$LINENO"; then :
15510   ac_fdsections=yes
15511 else
15512   ac_fdsections=no
15513 fi
15514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515   if test "$ac_test_CXXFLAGS" = set; then
15516     CXXFLAGS="$ac_save_CXXFLAGS"
15517   else
15518     # this is the suspicious part
15519     CXXFLAGS=''
15520   fi
15521   if test x"$ac_fdsections" = x"yes"; then
15522     SECTION_FLAGS='-ffunction-sections -fdata-sections'
15523   fi
15524   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15525 $as_echo "$ac_fdsections" >&6; }
15526
15527   ac_ext=c
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532
15533
15534
15535
15536
15537 # Enable all the variable C++ runtime options that don't require linking.
15538
15539   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15540 $as_echo_n "checking for underlying I/O to use... " >&6; }
15541    # Check whether --enable-cstdio was given.
15542 if test "${enable_cstdio+set}" = set; then :
15543   enableval=$enable_cstdio;
15544       case "$enableval" in
15545        stdio) ;;
15546        *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15547                           esac
15548
15549 else
15550   enable_cstdio=stdio
15551 fi
15552
15553
15554
15555   # Now that libio has been removed, you can have any color you want as long
15556   # as it's black.  This is one big no-op until other packages are added, but
15557   # showing the framework never hurts.
15558   case ${enable_cstdio} in
15559     stdio)
15560       CSTDIO_H=config/io/c_io_stdio.h
15561       BASIC_FILE_H=config/io/basic_file_stdio.h
15562       BASIC_FILE_CC=config/io/basic_file_stdio.cc
15563       { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15564 $as_echo "stdio" >&6; }
15565       ;;
15566   esac
15567
15568
15569
15570
15571
15572
15573    # Check whether --enable-clocale was given.
15574 if test "${enable_clocale+set}" = set; then :
15575   enableval=$enable_clocale;
15576       case "$enableval" in
15577        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15578        *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15579                           esac
15580
15581 else
15582   enable_clocale=auto
15583 fi
15584
15585
15586
15587   # Deal with gettext issues.  Default to not using it (=no) until we detect
15588   # support for it later.  Let the user turn it off via --e/d, but let that
15589   # default to on for easier handling.
15590   USE_NLS=no
15591   # Check whether --enable-nls was given.
15592 if test "${enable_nls+set}" = set; then :
15593   enableval=$enable_nls;
15594 else
15595   enable_nls=yes
15596 fi
15597
15598
15599   # Either a known packaage, or "auto"
15600   if test $enable_clocale = no || test $enable_clocale = yes; then
15601      enable_clocale=auto
15602   fi
15603   enable_clocale_flag=$enable_clocale
15604
15605   # Probe for locale model to use if none specified.
15606   # Default to "generic".
15607   if test $enable_clocale_flag = auto; then
15608     case ${target_os} in
15609       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15610         enable_clocale_flag=gnu
15611         ;;
15612       darwin* | freebsd*)
15613         enable_clocale_flag=darwin
15614         ;;
15615       *)
15616         enable_clocale_flag=generic
15617         ;;
15618     esac
15619   fi
15620
15621   # Sanity check model, and test for special functionality.
15622   if test $enable_clocale_flag = gnu; then
15623     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h.  */
15625
15626     #include <features.h>
15627     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15628       _GLIBCXX_ok
15629     #endif
15630
15631 _ACEOF
15632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15633   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15634   enable_clocale_flag=gnu
15635 else
15636   enable_clocale_flag=generic
15637 fi
15638 rm -f conftest*
15639
15640
15641     if test $enable_clocale = auto; then
15642       # Test for bugs early in glibc-2.2.x series
15643       if test "$cross_compiling" = yes; then :
15644   enable_clocale_flag=generic
15645 else
15646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h.  */
15648
15649       #define _GNU_SOURCE 1
15650       #include <locale.h>
15651       #include <string.h>
15652       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15653       extern __typeof(newlocale) __newlocale;
15654       extern __typeof(duplocale) __duplocale;
15655       extern __typeof(strcoll_l) __strcoll_l;
15656       #endif
15657       int main()
15658       {
15659         const char __one[] = "Äuglein Augmen";
15660         const char __two[] = "Äuglein";
15661         int i;
15662         int j;
15663         __locale_t        loc;
15664         __locale_t        loc_dup;
15665         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15666         loc_dup = __duplocale(loc);
15667         i = __strcoll_l(__one, __two, loc);
15668         j = __strcoll_l(__one, __two, loc_dup);
15669         return 0;
15670       }
15671
15672 _ACEOF
15673 if ac_fn_c_try_run "$LINENO"; then :
15674   enable_clocale_flag=gnu
15675 else
15676   enable_clocale_flag=generic
15677 fi
15678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15679   conftest.$ac_objext conftest.beam conftest.$ac_ext
15680 fi
15681
15682     fi
15683
15684     # Set it to scream when it hurts.
15685     ac_save_CFLAGS="$CFLAGS"
15686     CFLAGS="-Wimplicit-function-declaration -Werror"
15687
15688     # Use strxfrm_l if available.
15689     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h.  */
15691 #define _GNU_SOURCE 1
15692                     #include <string.h>
15693                     #include <locale.h>
15694 int
15695 main ()
15696 {
15697 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15698   ;
15699   return 0;
15700 }
15701 _ACEOF
15702 if ac_fn_c_try_compile "$LINENO"; then :
15703
15704 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15705
15706 fi
15707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708
15709     # Use strerror_l if available.
15710     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h.  */
15712 #define _GNU_SOURCE 1
15713                     #include <string.h>
15714                     #include <locale.h>
15715 int
15716 main ()
15717 {
15718 __locale_t loc; strerror_l(5, loc);
15719   ;
15720   return 0;
15721 }
15722 _ACEOF
15723 if ac_fn_c_try_compile "$LINENO"; then :
15724
15725 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15726
15727 fi
15728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15729
15730     CFLAGS="$ac_save_CFLAGS"
15731   fi
15732
15733   # Perhaps use strerror_r if available, and strerror_l isn't.
15734   ac_save_CFLAGS="$CFLAGS"
15735   CFLAGS="-Wimplicit-function-declaration -Werror"
15736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15737 /* end confdefs.h.  */
15738 #define _GNU_SOURCE 1
15739                   #include <string.h>
15740                   #include <locale.h>
15741 int
15742 main ()
15743 {
15744 char s[128]; strerror_r(5, s, 128);
15745   ;
15746   return 0;
15747 }
15748 _ACEOF
15749 if ac_fn_c_try_compile "$LINENO"; then :
15750
15751 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15752
15753 fi
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755   CFLAGS="$ac_save_CFLAGS"
15756
15757   # Set configure bits for specified locale package
15758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15759 $as_echo_n "checking for C locale to use... " >&6; }
15760   case ${enable_clocale_flag} in
15761     generic)
15762       { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15763 $as_echo "generic" >&6; }
15764
15765       CLOCALE_H=config/locale/generic/c_locale.h
15766       CLOCALE_CC=config/locale/generic/c_locale.cc
15767       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15768       CCOLLATE_CC=config/locale/generic/collate_members.cc
15769       CCTYPE_CC=config/locale/generic/ctype_members.cc
15770       CMESSAGES_H=config/locale/generic/messages_members.h
15771       CMESSAGES_CC=config/locale/generic/messages_members.cc
15772       CMONEY_CC=config/locale/generic/monetary_members.cc
15773       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15774       CTIME_H=config/locale/generic/time_members.h
15775       CTIME_CC=config/locale/generic/time_members.cc
15776       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15777       ;;
15778     darwin)
15779       { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15780 $as_echo "darwin or freebsd" >&6; }
15781
15782       CLOCALE_H=config/locale/generic/c_locale.h
15783       CLOCALE_CC=config/locale/generic/c_locale.cc
15784       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15785       CCOLLATE_CC=config/locale/generic/collate_members.cc
15786       CCTYPE_CC=config/locale/darwin/ctype_members.cc
15787       CMESSAGES_H=config/locale/generic/messages_members.h
15788       CMESSAGES_CC=config/locale/generic/messages_members.cc
15789       CMONEY_CC=config/locale/generic/monetary_members.cc
15790       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15791       CTIME_H=config/locale/generic/time_members.h
15792       CTIME_CC=config/locale/generic/time_members.cc
15793       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15794       ;;
15795
15796     gnu)
15797       { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15798 $as_echo "gnu" >&6; }
15799
15800       # Declare intention to use gettext, and add support for specific
15801       # languages.
15802       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15803       ALL_LINGUAS="de fr"
15804
15805       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15806       # Extract the first word of "msgfmt", so it can be a program name with args.
15807 set dummy msgfmt; ac_word=$2
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15809 $as_echo_n "checking for $ac_word... " >&6; }
15810 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15811   $as_echo_n "(cached) " >&6
15812 else
15813   if test -n "$check_msgfmt"; then
15814   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15815 else
15816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15817 for as_dir in $PATH
15818 do
15819   IFS=$as_save_IFS
15820   test -z "$as_dir" && as_dir=.
15821     for ac_exec_ext in '' $ac_executable_extensions; do
15822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15823     ac_cv_prog_check_msgfmt="yes"
15824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15825     break 2
15826   fi
15827 done
15828   done
15829 IFS=$as_save_IFS
15830
15831   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15832 fi
15833 fi
15834 check_msgfmt=$ac_cv_prog_check_msgfmt
15835 if test -n "$check_msgfmt"; then
15836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15837 $as_echo "$check_msgfmt" >&6; }
15838 else
15839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15840 $as_echo "no" >&6; }
15841 fi
15842
15843
15844       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15845         USE_NLS=yes
15846       fi
15847       # Export the build objects.
15848       for ling in $ALL_LINGUAS; do \
15849         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15850         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15851       done
15852
15853
15854
15855       CLOCALE_H=config/locale/gnu/c_locale.h
15856       CLOCALE_CC=config/locale/gnu/c_locale.cc
15857       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15858       CCOLLATE_CC=config/locale/gnu/collate_members.cc
15859       CCTYPE_CC=config/locale/gnu/ctype_members.cc
15860       CMESSAGES_H=config/locale/gnu/messages_members.h
15861       CMESSAGES_CC=config/locale/gnu/messages_members.cc
15862       CMONEY_CC=config/locale/gnu/monetary_members.cc
15863       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15864       CTIME_H=config/locale/gnu/time_members.h
15865       CTIME_CC=config/locale/gnu/time_members.cc
15866       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15867       ;;
15868     ieee_1003.1-2001)
15869       { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15870 $as_echo "IEEE 1003.1" >&6; }
15871
15872       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15873       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15874       CCODECVT_CC=config/locale/generic/codecvt_members.cc
15875       CCOLLATE_CC=config/locale/generic/collate_members.cc
15876       CCTYPE_CC=config/locale/generic/ctype_members.cc
15877       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15878       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15879       CMONEY_CC=config/locale/generic/monetary_members.cc
15880       CNUMERIC_CC=config/locale/generic/numeric_members.cc
15881       CTIME_H=config/locale/generic/time_members.h
15882       CTIME_CC=config/locale/generic/time_members.cc
15883       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15884       ;;
15885   esac
15886
15887   # This is where the testsuite looks for locale catalogs, using the
15888   # -DLOCALEDIR define during testsuite compilation.
15889   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15890
15891
15892   # A standalone libintl (e.g., GNU libintl) may be in use.
15893   if test $USE_NLS = yes; then
15894     for ac_header in libintl.h
15895 do :
15896   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15897 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15898   cat >>confdefs.h <<_ACEOF
15899 #define HAVE_LIBINTL_H 1
15900 _ACEOF
15901
15902 else
15903   USE_NLS=no
15904 fi
15905
15906 done
15907
15908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15909 $as_echo_n "checking for library containing gettext... " >&6; }
15910 if test "${ac_cv_search_gettext+set}" = set; then :
15911   $as_echo_n "(cached) " >&6
15912 else
15913   ac_func_search_save_LIBS=$LIBS
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h.  */
15916
15917 /* Override any GCC internal prototype to avoid an error.
15918    Use char because int might match the return type of a GCC
15919    builtin and then its argument prototype would still apply.  */
15920 #ifdef __cplusplus
15921 extern "C"
15922 #endif
15923 char gettext ();
15924 int
15925 main ()
15926 {
15927 return gettext ();
15928   ;
15929   return 0;
15930 }
15931 _ACEOF
15932 for ac_lib in '' intl; do
15933   if test -z "$ac_lib"; then
15934     ac_res="none required"
15935   else
15936     ac_res=-l$ac_lib
15937     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15938   fi
15939   if test x$gcc_no_link = xyes; then
15940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15941 fi
15942 if ac_fn_c_try_link "$LINENO"; then :
15943   ac_cv_search_gettext=$ac_res
15944 fi
15945 rm -f core conftest.err conftest.$ac_objext \
15946     conftest$ac_exeext
15947   if test "${ac_cv_search_gettext+set}" = set; then :
15948   break
15949 fi
15950 done
15951 if test "${ac_cv_search_gettext+set}" = set; then :
15952
15953 else
15954   ac_cv_search_gettext=no
15955 fi
15956 rm conftest.$ac_ext
15957 LIBS=$ac_func_search_save_LIBS
15958 fi
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15960 $as_echo "$ac_cv_search_gettext" >&6; }
15961 ac_res=$ac_cv_search_gettext
15962 if test "$ac_res" != no; then :
15963   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15964
15965 else
15966   USE_NLS=no
15967 fi
15968
15969   fi
15970   if test $USE_NLS = yes; then
15971
15972 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15973
15974   fi
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15992 $as_echo_n "checking for std::allocator base class... " >&6; }
15993    # Check whether --enable-libstdcxx-allocator was given.
15994 if test "${enable_libstdcxx_allocator+set}" = set; then :
15995   enableval=$enable_libstdcxx_allocator;
15996       case "$enableval" in
15997        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15998        *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15999                           esac
16000
16001 else
16002   enable_libstdcxx_allocator=auto
16003 fi
16004
16005
16006
16007   # If they didn't use this option switch, or if they specified --enable
16008   # with no specific model, we'll have to look for one.  If they
16009   # specified --disable (???), do likewise.
16010   if test $enable_libstdcxx_allocator = no ||
16011      test $enable_libstdcxx_allocator = yes;
16012   then
16013      enable_libstdcxx_allocator=auto
16014   fi
16015
16016   # Either a known package, or "auto". Auto implies the default choice
16017   # for a particular platform.
16018   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16019
16020   # Probe for host-specific support if no specific model is specified.
16021   # Default to "new".
16022   if test $enable_libstdcxx_allocator_flag = auto; then
16023     case ${target_os} in
16024       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16025         enable_libstdcxx_allocator_flag=new
16026         ;;
16027       *)
16028         enable_libstdcxx_allocator_flag=new
16029         ;;
16030     esac
16031   fi
16032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16033 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16034
16035
16036   # Set configure bits for specified locale package
16037   case ${enable_libstdcxx_allocator_flag} in
16038     bitmap)
16039       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16040       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16041       ;;
16042     malloc)
16043       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16044       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16045       ;;
16046     mt)
16047       ALLOCATOR_H=config/allocator/mt_allocator_base.h
16048       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16049       ;;
16050     new)
16051       ALLOCATOR_H=config/allocator/new_allocator_base.h
16052       ALLOCATOR_NAME=__gnu_cxx::new_allocator
16053       ;;
16054     pool)
16055       ALLOCATOR_H=config/allocator/pool_allocator_base.h
16056       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16057       ;;
16058   esac
16059
16060
16061
16062
16063
16064    # Check whether --enable-cheaders was given.
16065 if test "${enable_cheaders+set}" = set; then :
16066   enableval=$enable_cheaders;
16067       case "$enableval" in
16068        c|c_std|c_global) ;;
16069        *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16070                           esac
16071
16072 else
16073   enable_cheaders=$c_model
16074 fi
16075
16076
16077   { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16078 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16079
16080   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16081
16082   # Allow overrides to configure.host here.
16083   if test $enable_cheaders = c_global; then
16084      c_compatibility=yes
16085   fi
16086
16087   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16088      c_extra=yes
16089   fi
16090
16091
16092
16093
16094
16095
16096
16097
16098    # Check whether --enable-long-long was given.
16099 if test "${enable_long_long+set}" = set; then :
16100   enableval=$enable_long_long;
16101       case "$enableval" in
16102        yes|no) ;;
16103        *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16104       esac
16105
16106 else
16107   enable_long_long=yes
16108 fi
16109
16110
16111   if test $enable_long_long = yes; then
16112
16113 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16114
16115   fi
16116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16117 $as_echo_n "checking for enabled long long specializations... " >&6; }
16118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16119 $as_echo "$enable_long_long" >&6; }
16120
16121
16122    # Check whether --enable-wchar_t was given.
16123 if test "${enable_wchar_t+set}" = set; then :
16124   enableval=$enable_wchar_t;
16125       case "$enableval" in
16126        yes|no) ;;
16127        *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16128       esac
16129
16130 else
16131   enable_wchar_t=yes
16132 fi
16133
16134
16135
16136   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16137   for ac_header in wchar.h
16138 do :
16139   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16140 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16141   cat >>confdefs.h <<_ACEOF
16142 #define HAVE_WCHAR_H 1
16143 _ACEOF
16144  ac_has_wchar_h=yes
16145 else
16146   ac_has_wchar_h=no
16147 fi
16148
16149 done
16150
16151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16152 $as_echo_n "checking for mbstate_t... " >&6; }
16153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h.  */
16155 #include <wchar.h>
16156 int
16157 main ()
16158 {
16159 mbstate_t teststate;
16160   ;
16161   return 0;
16162 }
16163 _ACEOF
16164 if ac_fn_c_try_compile "$LINENO"; then :
16165   have_mbstate_t=yes
16166 else
16167   have_mbstate_t=no
16168 fi
16169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16171 $as_echo "$have_mbstate_t" >&6; }
16172   if test x"$have_mbstate_t" = xyes; then
16173
16174 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16175
16176   fi
16177
16178   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16179   # ac_has_wchar_h.
16180   for ac_header in wctype.h
16181 do :
16182   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16183 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16184   cat >>confdefs.h <<_ACEOF
16185 #define HAVE_WCTYPE_H 1
16186 _ACEOF
16187  ac_has_wctype_h=yes
16188 else
16189   ac_has_wctype_h=no
16190 fi
16191
16192 done
16193
16194
16195   if test x"$enable_wchar_t" = x"yes"; then
16196
16197
16198     ac_ext=cpp
16199 ac_cpp='$CXXCPP $CPPFLAGS'
16200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16203
16204
16205     if test x"$ac_has_wchar_h" = xyes &&
16206        test x"$ac_has_wctype_h" = xyes; then
16207       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16208 /* end confdefs.h.  */
16209 #include <wchar.h>
16210                       #include <stddef.h>
16211                       wint_t i;
16212                       long l = WEOF;
16213                       long j = WCHAR_MIN;
16214                       long k = WCHAR_MAX;
16215                       namespace test
16216                       {
16217                         using ::btowc;
16218                         using ::fgetwc;
16219                         using ::fgetws;
16220                         using ::fputwc;
16221                         using ::fputws;
16222                         using ::fwide;
16223                         using ::fwprintf;
16224                         using ::fwscanf;
16225                         using ::getwc;
16226                         using ::getwchar;
16227                         using ::mbrlen;
16228                         using ::mbrtowc;
16229                         using ::mbsinit;
16230                         using ::mbsrtowcs;
16231                         using ::putwc;
16232                         using ::putwchar;
16233                         using ::swprintf;
16234                         using ::swscanf;
16235                         using ::ungetwc;
16236                         using ::vfwprintf;
16237                         using ::vswprintf;
16238                         using ::vwprintf;
16239                         using ::wcrtomb;
16240                         using ::wcscat;
16241                         using ::wcschr;
16242                         using ::wcscmp;
16243                         using ::wcscoll;
16244                         using ::wcscpy;
16245                         using ::wcscspn;
16246                         using ::wcsftime;
16247                         using ::wcslen;
16248                         using ::wcsncat;
16249                         using ::wcsncmp;
16250                         using ::wcsncpy;
16251                         using ::wcspbrk;
16252                         using ::wcsrchr;
16253                         using ::wcsrtombs;
16254                         using ::wcsspn;
16255                         using ::wcsstr;
16256                         using ::wcstod;
16257                         using ::wcstok;
16258                         using ::wcstol;
16259                         using ::wcstoul;
16260                         using ::wcsxfrm;
16261                         using ::wctob;
16262                         using ::wmemchr;
16263                         using ::wmemcmp;
16264                         using ::wmemcpy;
16265                         using ::wmemmove;
16266                         using ::wmemset;
16267                         using ::wprintf;
16268                         using ::wscanf;
16269                       }
16270
16271 int
16272 main ()
16273 {
16274
16275   ;
16276   return 0;
16277 }
16278 _ACEOF
16279 if ac_fn_cxx_try_compile "$LINENO"; then :
16280
16281 else
16282   enable_wchar_t=no
16283 fi
16284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16285     else
16286       enable_wchar_t=no
16287     fi
16288
16289     ac_ext=c
16290 ac_cpp='$CPP $CPPFLAGS'
16291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16294
16295   fi
16296
16297   if test x"$enable_wchar_t" = x"yes"; then
16298
16299 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16300
16301   fi
16302
16303   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16304 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16306 $as_echo "$enable_wchar_t" >&6; }
16307
16308
16309
16310    # Check whether --enable-c99 was given.
16311 if test "${enable_c99+set}" = set; then :
16312   enableval=$enable_c99;
16313       case "$enableval" in
16314        yes|no) ;;
16315        *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16316       esac
16317
16318 else
16319   enable_c99=yes
16320 fi
16321
16322
16323
16324   if test x"$enable_c99" = x"yes"; then
16325
16326
16327   ac_ext=cpp
16328 ac_cpp='$CXXCPP $CPPFLAGS'
16329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16332
16333
16334   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16335   # undefined and fake C99 facilities - like pre-standard snprintf - may be
16336   # spuriously enabled.
16337   # Long term, -std=c++0x could be even better, could manage to explicitely
16338   # request C99 facilities to the underlying C headers.
16339   ac_save_CXXFLAGS="$CXXFLAGS"
16340   CXXFLAGS="$CXXFLAGS -std=c++98"
16341   ac_save_LIBS="$LIBS"
16342   ac_save_gcc_no_link="$gcc_no_link"
16343
16344   if test x$gcc_no_link != xyes; then
16345     # Use -fno-exceptions to that the C driver can link these tests without
16346     # hitting undefined references to personality routines.
16347     CXXFLAGS="$CXXFLAGS -fno-exceptions"
16348     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16349 $as_echo_n "checking for sin in -lm... " >&6; }
16350 if test "${ac_cv_lib_m_sin+set}" = set; then :
16351   $as_echo_n "(cached) " >&6
16352 else
16353   ac_check_lib_save_LIBS=$LIBS
16354 LIBS="-lm  $LIBS"
16355 if test x$gcc_no_link = xyes; then
16356   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16357 fi
16358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16359 /* end confdefs.h.  */
16360
16361 /* Override any GCC internal prototype to avoid an error.
16362    Use char because int might match the return type of a GCC
16363    builtin and then its argument prototype would still apply.  */
16364 #ifdef __cplusplus
16365 extern "C"
16366 #endif
16367 char sin ();
16368 int
16369 main ()
16370 {
16371 return sin ();
16372   ;
16373   return 0;
16374 }
16375 _ACEOF
16376 if ac_fn_cxx_try_link "$LINENO"; then :
16377   ac_cv_lib_m_sin=yes
16378 else
16379   ac_cv_lib_m_sin=no
16380 fi
16381 rm -f core conftest.err conftest.$ac_objext \
16382     conftest$ac_exeext conftest.$ac_ext
16383 LIBS=$ac_check_lib_save_LIBS
16384 fi
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16386 $as_echo "$ac_cv_lib_m_sin" >&6; }
16387 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16388
16389       LIBS="$LIBS -lm"
16390
16391 else
16392
16393       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16394       gcc_no_link=yes
16395
16396 fi
16397
16398   fi
16399
16400   # Check for the existence of <math.h> functions used if C99 is enabled.
16401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16402 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16403   if test "${glibcxx_cv_c99_math+set}" = set; then :
16404   $as_echo_n "(cached) " >&6
16405 else
16406
16407   if test x$gcc_no_link = xyes; then
16408   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16409 /* end confdefs.h.  */
16410 #include <math.h>
16411       volatile double d1, d2;
16412       volatile int i;
16413 int
16414 main ()
16415 {
16416 i = fpclassify(d1);
16417       i = isfinite(d1);
16418       i = isinf(d1);
16419       i = isnan(d1);
16420       i = isnormal(d1);
16421       i = signbit(d1);
16422       i = isgreater(d1, d2);
16423       i = isgreaterequal(d1, d2);
16424       i = isless(d1, d2);
16425       i = islessequal(d1, d2);
16426       i = islessgreater(d1, d2);
16427       i = islessgreater(d1, d2);
16428       i = isunordered(d1, d2);
16429
16430   ;
16431   return 0;
16432 }
16433 _ACEOF
16434 if ac_fn_cxx_try_compile "$LINENO"; then :
16435   glibcxx_cv_c99_math=yes
16436 else
16437   glibcxx_cv_c99_math=no
16438 fi
16439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16440 else
16441   if test x$gcc_no_link = xyes; then
16442   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16443 fi
16444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16445 /* end confdefs.h.  */
16446 #include <math.h>
16447       volatile double d1, d2;
16448       volatile int i;
16449 int
16450 main ()
16451 {
16452 i = fpclassify(d1);
16453       i = isfinite(d1);
16454       i = isinf(d1);
16455       i = isnan(d1);
16456       i = isnormal(d1);
16457       i = signbit(d1);
16458       i = isgreater(d1, d2);
16459       i = isgreaterequal(d1, d2);
16460       i = isless(d1, d2);
16461       i = islessequal(d1, d2);
16462       i = islessgreater(d1, d2);
16463       i = islessgreater(d1, d2);
16464       i = isunordered(d1, d2);
16465
16466   ;
16467   return 0;
16468 }
16469 _ACEOF
16470 if ac_fn_cxx_try_link "$LINENO"; then :
16471   glibcxx_cv_c99_math=yes
16472 else
16473   glibcxx_cv_c99_math=no
16474 fi
16475 rm -f core conftest.err conftest.$ac_objext \
16476     conftest$ac_exeext conftest.$ac_ext
16477 fi
16478
16479 fi
16480
16481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16482 $as_echo "$glibcxx_cv_c99_math" >&6; }
16483   if test x"$glibcxx_cv_c99_math" = x"yes"; then
16484
16485 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16486
16487   fi
16488
16489   # Check for the existence of <complex.h> complex math functions.
16490   # This is necessary even though libstdc++ uses the builtin versions
16491   # of these functions, because if the builtin cannot be used, a reference
16492   # to the library function is emitted.
16493   for ac_header in tgmath.h
16494 do :
16495   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16496 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16497   cat >>confdefs.h <<_ACEOF
16498 #define HAVE_TGMATH_H 1
16499 _ACEOF
16500  ac_has_tgmath_h=yes
16501 else
16502   ac_has_tgmath_h=no
16503 fi
16504
16505 done
16506
16507   for ac_header in complex.h
16508 do :
16509   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16510 if test "x$ac_cv_header_complex_h" = x""yes; then :
16511   cat >>confdefs.h <<_ACEOF
16512 #define HAVE_COMPLEX_H 1
16513 _ACEOF
16514  ac_has_complex_h=yes
16515 else
16516   ac_has_complex_h=no
16517 fi
16518
16519 done
16520
16521   glibcxx_cv_c99_complex=no;
16522   if test x"$ac_has_complex_h" = x"yes"; then
16523     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16524 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16525     if test x$gcc_no_link = xyes; then
16526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h.  */
16528 #include <complex.h>
16529         typedef __complex__ float float_type;
16530         typedef __complex__ double double_type;
16531         typedef __complex__ long double ld_type;
16532         volatile float_type tmpf;
16533         volatile double_type tmpd;
16534         volatile ld_type tmpld;
16535         volatile float f;
16536         volatile double d;
16537         volatile long double ld;
16538 int
16539 main ()
16540 {
16541 f = cabsf(tmpf);
16542         f = cargf(tmpf);
16543         tmpf = ccosf(tmpf);
16544         tmpf = ccoshf(tmpf);
16545         tmpf = cexpf(tmpf);
16546         tmpf = clogf(tmpf);
16547         tmpf = csinf(tmpf);
16548         tmpf = csinhf(tmpf);
16549         tmpf = csqrtf(tmpf);
16550         tmpf = ctanf(tmpf);
16551         tmpf = ctanhf(tmpf);
16552         tmpf = cpowf(tmpf, tmpf);
16553         tmpf = cprojf(tmpf);
16554         d = cabs(tmpd);
16555         d = carg(tmpd);
16556         tmpd = ccos(tmpd);
16557         tmpd = ccosh(tmpd);
16558         tmpd = cexp(tmpd);
16559         tmpd = clog(tmpd);
16560         tmpd = csin(tmpd);
16561         tmpd = csinh(tmpd);
16562         tmpd = csqrt(tmpd);
16563         tmpd = ctan(tmpd);
16564         tmpd = ctanh(tmpd);
16565         tmpd = cpow(tmpd, tmpd);
16566         tmpd = cproj(tmpd);
16567         ld = cabsl(tmpld);
16568         ld = cargl(tmpld);
16569         tmpld = ccosl(tmpld);
16570         tmpld = ccoshl(tmpld);
16571         tmpld = cexpl(tmpld);
16572         tmpld = clogl(tmpld);
16573         tmpld = csinl(tmpld);
16574         tmpld = csinhl(tmpld);
16575         tmpld = csqrtl(tmpld);
16576         tmpld = ctanl(tmpld);
16577         tmpld = ctanhl(tmpld);
16578         tmpld = cpowl(tmpld, tmpld);
16579         tmpld = cprojl(tmpld);
16580
16581   ;
16582   return 0;
16583 }
16584 _ACEOF
16585 if ac_fn_cxx_try_compile "$LINENO"; then :
16586   glibcxx_cv_c99_complex=yes
16587 else
16588   glibcxx_cv_c99_complex=no
16589 fi
16590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16591 else
16592   if test x$gcc_no_link = xyes; then
16593   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16594 fi
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h.  */
16597 #include <complex.h>
16598         typedef __complex__ float float_type;
16599         typedef __complex__ double double_type;
16600         typedef __complex__ long double ld_type;
16601         volatile float_type tmpf;
16602         volatile double_type tmpd;
16603         volatile ld_type tmpld;
16604         volatile float f;
16605         volatile double d;
16606         volatile long double ld;
16607 int
16608 main ()
16609 {
16610 f = cabsf(tmpf);
16611         f = cargf(tmpf);
16612         tmpf = ccosf(tmpf);
16613         tmpf = ccoshf(tmpf);
16614         tmpf = cexpf(tmpf);
16615         tmpf = clogf(tmpf);
16616         tmpf = csinf(tmpf);
16617         tmpf = csinhf(tmpf);
16618         tmpf = csqrtf(tmpf);
16619         tmpf = ctanf(tmpf);
16620         tmpf = ctanhf(tmpf);
16621         tmpf = cpowf(tmpf, tmpf);
16622         tmpf = cprojf(tmpf);
16623         d = cabs(tmpd);
16624         d = carg(tmpd);
16625         tmpd = ccos(tmpd);
16626         tmpd = ccosh(tmpd);
16627         tmpd = cexp(tmpd);
16628         tmpd = clog(tmpd);
16629         tmpd = csin(tmpd);
16630         tmpd = csinh(tmpd);
16631         tmpd = csqrt(tmpd);
16632         tmpd = ctan(tmpd);
16633         tmpd = ctanh(tmpd);
16634         tmpd = cpow(tmpd, tmpd);
16635         tmpd = cproj(tmpd);
16636         ld = cabsl(tmpld);
16637         ld = cargl(tmpld);
16638         tmpld = ccosl(tmpld);
16639         tmpld = ccoshl(tmpld);
16640         tmpld = cexpl(tmpld);
16641         tmpld = clogl(tmpld);
16642         tmpld = csinl(tmpld);
16643         tmpld = csinhl(tmpld);
16644         tmpld = csqrtl(tmpld);
16645         tmpld = ctanl(tmpld);
16646         tmpld = ctanhl(tmpld);
16647         tmpld = cpowl(tmpld, tmpld);
16648         tmpld = cprojl(tmpld);
16649
16650   ;
16651   return 0;
16652 }
16653 _ACEOF
16654 if ac_fn_cxx_try_link "$LINENO"; then :
16655   glibcxx_cv_c99_complex=yes
16656 else
16657   glibcxx_cv_c99_complex=no
16658 fi
16659 rm -f core conftest.err conftest.$ac_objext \
16660     conftest$ac_exeext conftest.$ac_ext
16661 fi
16662   fi
16663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16664 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16665   if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16666
16667 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16668
16669   fi
16670
16671   # Check for the existence in <stdio.h> of vscanf, et. al.
16672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16673 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16674   if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16675   $as_echo_n "(cached) " >&6
16676 else
16677
16678   if test x$gcc_no_link = xyes; then
16679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h.  */
16681 #include <stdio.h>
16682       #include <stdarg.h>
16683       void foo(char* fmt, ...)
16684       {
16685         va_list args; va_start(args, fmt);
16686         vfscanf(stderr, "%i", args);
16687         vscanf("%i", args);
16688         vsnprintf(fmt, 0, "%i", args);
16689         vsscanf(fmt, "%i", args);
16690       }
16691 int
16692 main ()
16693 {
16694 snprintf("12", 0, "%i");
16695   ;
16696   return 0;
16697 }
16698 _ACEOF
16699 if ac_fn_cxx_try_compile "$LINENO"; then :
16700   glibcxx_cv_c99_stdio=yes
16701 else
16702   glibcxx_cv_c99_stdio=no
16703 fi
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705 else
16706   if test x$gcc_no_link = xyes; then
16707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16708 fi
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h.  */
16711 #include <stdio.h>
16712       #include <stdarg.h>
16713       void foo(char* fmt, ...)
16714       {
16715         va_list args; va_start(args, fmt);
16716         vfscanf(stderr, "%i", args);
16717         vscanf("%i", args);
16718         vsnprintf(fmt, 0, "%i", args);
16719         vsscanf(fmt, "%i", args);
16720       }
16721 int
16722 main ()
16723 {
16724 snprintf("12", 0, "%i");
16725   ;
16726   return 0;
16727 }
16728 _ACEOF
16729 if ac_fn_cxx_try_link "$LINENO"; then :
16730   glibcxx_cv_c99_stdio=yes
16731 else
16732   glibcxx_cv_c99_stdio=no
16733 fi
16734 rm -f core conftest.err conftest.$ac_objext \
16735     conftest$ac_exeext conftest.$ac_ext
16736 fi
16737
16738 fi
16739
16740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16741 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16742
16743   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16744   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16745 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16746   if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16747   $as_echo_n "(cached) " >&6
16748 else
16749
16750   if test x$gcc_no_link = xyes; then
16751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h.  */
16753 #include <stdlib.h>
16754       volatile float f;
16755       volatile long double ld;
16756       volatile unsigned long long ll;
16757       lldiv_t mydivt;
16758 int
16759 main ()
16760 {
16761 char* tmp;
16762       f = strtof("gnu", &tmp);
16763       ld = strtold("gnu", &tmp);
16764       ll = strtoll("gnu", &tmp, 10);
16765       ll = strtoull("gnu", &tmp, 10);
16766       ll = llabs(10);
16767       mydivt = lldiv(10,1);
16768       ll = mydivt.quot;
16769       ll = mydivt.rem;
16770       ll = atoll("10");
16771       _Exit(0);
16772
16773   ;
16774   return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778   glibcxx_cv_c99_stdlib=yes
16779 else
16780   glibcxx_cv_c99_stdlib=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784   if test x$gcc_no_link = xyes; then
16785   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h.  */
16789 #include <stdlib.h>
16790       volatile float f;
16791       volatile long double ld;
16792       volatile unsigned long long ll;
16793       lldiv_t mydivt;
16794 int
16795 main ()
16796 {
16797 char* tmp;
16798       f = strtof("gnu", &tmp);
16799       ld = strtold("gnu", &tmp);
16800       ll = strtoll("gnu", &tmp, 10);
16801       ll = strtoull("gnu", &tmp, 10);
16802       ll = llabs(10);
16803       mydivt = lldiv(10,1);
16804       ll = mydivt.quot;
16805       ll = mydivt.rem;
16806       ll = atoll("10");
16807       _Exit(0);
16808
16809   ;
16810   return 0;
16811 }
16812 _ACEOF
16813 if ac_fn_cxx_try_link "$LINENO"; then :
16814   glibcxx_cv_c99_stdlib=yes
16815 else
16816   glibcxx_cv_c99_stdlib=no
16817 fi
16818 rm -f core conftest.err conftest.$ac_objext \
16819     conftest$ac_exeext conftest.$ac_ext
16820 fi
16821
16822 fi
16823
16824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16825 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16826
16827   # Check for the existence in <wchar.h> of wcstold, etc.
16828   glibcxx_cv_c99_wchar=no;
16829   if test x"$ac_has_wchar_h" = xyes &&
16830      test x"$ac_has_wctype_h" = xyes; then
16831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16832 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16833     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16834 /* end confdefs.h.  */
16835 #include <wchar.h>
16836                     namespace test
16837                     {
16838                       using ::wcstold;
16839                       using ::wcstoll;
16840                       using ::wcstoull;
16841                     }
16842
16843 int
16844 main ()
16845 {
16846
16847   ;
16848   return 0;
16849 }
16850 _ACEOF
16851 if ac_fn_cxx_try_compile "$LINENO"; then :
16852   glibcxx_cv_c99_wchar=yes
16853 else
16854   glibcxx_cv_c99_wchar=no
16855 fi
16856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857
16858     # Checks for wide character functions that may not be present.
16859     # Injection of these is wrapped with guard macros.
16860     # NB: only put functions here, instead of immediately above, if
16861     # absolutely necessary.
16862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h.  */
16864 #include <wchar.h>
16865                     namespace test { using ::vfwscanf; }
16866 int
16867 main ()
16868 {
16869
16870   ;
16871   return 0;
16872 }
16873 _ACEOF
16874 if ac_fn_cxx_try_compile "$LINENO"; then :
16875
16876 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16877
16878 fi
16879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16880
16881     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h.  */
16883 #include <wchar.h>
16884                     namespace test { using ::vswscanf; }
16885 int
16886 main ()
16887 {
16888
16889   ;
16890   return 0;
16891 }
16892 _ACEOF
16893 if ac_fn_cxx_try_compile "$LINENO"; then :
16894
16895 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16896
16897 fi
16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16899
16900     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h.  */
16902 #include <wchar.h>
16903                     namespace test { using ::vwscanf; }
16904 int
16905 main ()
16906 {
16907
16908   ;
16909   return 0;
16910 }
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913
16914 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16915
16916 fi
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918
16919     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h.  */
16921 #include <wchar.h>
16922                     namespace test { using ::wcstof; }
16923 int
16924 main ()
16925 {
16926
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 if ac_fn_cxx_try_compile "$LINENO"; then :
16932
16933 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16934
16935 fi
16936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16937
16938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h.  */
16940 #include <wctype.h>
16941 int
16942 main ()
16943 {
16944  wint_t t; int i = iswblank(t);
16945   ;
16946   return 0;
16947 }
16948 _ACEOF
16949 if ac_fn_cxx_try_compile "$LINENO"; then :
16950
16951 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16952
16953 fi
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16955
16956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16957 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16958   fi
16959
16960   # Option parsed, now set things appropriately.
16961   if test x"$glibcxx_cv_c99_math" = x"no" ||
16962      test x"$glibcxx_cv_c99_complex" = x"no" ||
16963      test x"$glibcxx_cv_c99_stdio" = x"no" ||
16964      test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16965      test x"$glibcxx_cv_c99_wchar" = x"no"; then
16966     enable_c99=no;
16967   else
16968
16969 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16970
16971   fi
16972
16973   gcc_no_link="$ac_save_gcc_no_link"
16974   LIBS="$ac_save_LIBS"
16975   CXXFLAGS="$ac_save_CXXFLAGS"
16976   ac_ext=c
16977 ac_cpp='$CPP $CPPFLAGS'
16978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16981
16982   fi
16983
16984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16985 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16987 $as_echo "$enable_c99" >&6; }
16988
16989
16990    # Check whether --enable-concept-checks was given.
16991 if test "${enable_concept_checks+set}" = set; then :
16992   enableval=$enable_concept_checks;
16993       case "$enableval" in
16994        yes|no) ;;
16995        *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16996       esac
16997
16998 else
16999   enable_concept_checks=no
17000 fi
17001
17002
17003   if test $enable_concept_checks = yes; then
17004
17005 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17006
17007   fi
17008
17009
17010    # Check whether --enable-libstdcxx-debug-flags was given.
17011 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17012   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17013       xno | x)    enable_libstdcxx_debug_flags= ;;
17014       x-*)        ;;
17015       *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17016      esac
17017 else
17018   enable_libstdcxx_debug_flags="-g3 -O0"
17019 fi
17020
17021
17022
17023   # Option parsed, now set things appropriately
17024   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17025
17026
17027   { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17028 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17029
17030
17031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17032 $as_echo_n "checking for additional debug build... " >&6; }
17033    # Check whether --enable-libstdcxx-debug was given.
17034 if test "${enable_libstdcxx_debug+set}" = set; then :
17035   enableval=$enable_libstdcxx_debug;
17036       case "$enableval" in
17037        yes|no) ;;
17038        *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17039       esac
17040
17041 else
17042   enable_libstdcxx_debug=no
17043 fi
17044
17045
17046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17047 $as_echo "$enable_libstdcxx_debug" >&6; }
17048
17049
17050
17051
17052   enable_parallel=no;
17053
17054   # See if configured libgomp/omp.h exists. (libgomp may be in
17055   # noconfigdirs but not explicitly disabled.)
17056   if test -f $glibcxx_builddir/../libgomp/omp.h; then
17057     enable_parallel=yes;
17058   else
17059     { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17060 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17061   fi
17062
17063   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17064 $as_echo_n "checking for parallel mode support... " >&6; }
17065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17066 $as_echo "$enable_parallel" >&6; }
17067
17068
17069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17070 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17071    # Check whether --enable-cxx-flags was given.
17072 if test "${enable_cxx_flags+set}" = set; then :
17073   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17074       xno | x)   enable_cxx_flags= ;;
17075       x-*)       ;;
17076       *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17077      esac
17078 else
17079   enable_cxx_flags=
17080 fi
17081
17082
17083
17084   # Run through flags (either default or command-line) and set anything
17085   # extra (e.g., #defines) that must accompany particular g++ options.
17086   if test -n "$enable_cxx_flags"; then
17087     for f in $enable_cxx_flags; do
17088       case "$f" in
17089         -fhonor-std)  ;;
17090         -*)  ;;
17091         *)   # and we're trying to pass /what/ exactly?
17092              as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17093       esac
17094     done
17095   fi
17096
17097   EXTRA_CXX_FLAGS="$enable_cxx_flags"
17098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17099 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17100
17101
17102
17103    # Check whether --enable-fully-dynamic-string was given.
17104 if test "${enable_fully_dynamic_string+set}" = set; then :
17105   enableval=$enable_fully_dynamic_string;
17106       case "$enableval" in
17107        yes|no) ;;
17108        *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17109       esac
17110
17111 else
17112   enable_fully_dynamic_string=no
17113 fi
17114
17115
17116   if test $enable_fully_dynamic_string = yes; then
17117
17118 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
17119
17120   fi
17121
17122
17123 # Checks for operating systems support that doesn't require linking.
17124
17125
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17127 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17128 if test "${glibcxx_cv_system_error1+set}" = set; then :
17129   $as_echo_n "(cached) " >&6
17130 else
17131
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h.  */
17134 #include <errno.h>
17135 int
17136 main ()
17137 {
17138 int i = EOWNERDEAD;
17139   ;
17140   return 0;
17141 }
17142 _ACEOF
17143 if ac_fn_c_try_compile "$LINENO"; then :
17144   glibcxx_cv_system_error1=yes
17145 else
17146   glibcxx_cv_system_error1=no
17147 fi
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17149
17150 fi
17151
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17153 $as_echo "$glibcxx_cv_system_error1" >&6; }
17154 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17155
17156 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17157
17158 fi
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17160 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17161 if test "${glibcxx_cv_system_error2+set}" = set; then :
17162   $as_echo_n "(cached) " >&6
17163 else
17164
17165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17166 /* end confdefs.h.  */
17167 #include <errno.h>
17168 int
17169 main ()
17170 {
17171 int i = ENOTRECOVERABLE;
17172   ;
17173   return 0;
17174 }
17175 _ACEOF
17176 if ac_fn_c_try_compile "$LINENO"; then :
17177   glibcxx_cv_system_error2=yes
17178 else
17179   glibcxx_cv_system_error2=no
17180 fi
17181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182
17183 fi
17184
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17186 $as_echo "$glibcxx_cv_system_error2" >&6; }
17187 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17188
17189 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17190
17191 fi
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17193 $as_echo_n "checking for ENOLINK... " >&6; }
17194 if test "${glibcxx_cv_system_error3+set}" = set; then :
17195   $as_echo_n "(cached) " >&6
17196 else
17197
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h.  */
17200 #include <errno.h>
17201 int
17202 main ()
17203 {
17204 int i = ENOLINK;
17205   ;
17206   return 0;
17207 }
17208 _ACEOF
17209 if ac_fn_c_try_compile "$LINENO"; then :
17210   glibcxx_cv_system_error3=yes
17211 else
17212   glibcxx_cv_system_error3=no
17213 fi
17214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17215
17216 fi
17217
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17219 $as_echo "$glibcxx_cv_system_error3" >&6; }
17220 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17221
17222 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17223
17224 fi
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17226 $as_echo_n "checking for EPROTO... " >&6; }
17227 if test "${glibcxx_cv_system_error4+set}" = set; then :
17228   $as_echo_n "(cached) " >&6
17229 else
17230
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h.  */
17233 #include <errno.h>
17234 int
17235 main ()
17236 {
17237 int i = EPROTO;
17238   ;
17239   return 0;
17240 }
17241 _ACEOF
17242 if ac_fn_c_try_compile "$LINENO"; then :
17243   glibcxx_cv_system_error4=yes
17244 else
17245   glibcxx_cv_system_error4=no
17246 fi
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248
17249 fi
17250
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17252 $as_echo "$glibcxx_cv_system_error4" >&6; }
17253 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17254
17255 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17256
17257 fi
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17259 $as_echo_n "checking for ENODATA... " >&6; }
17260 if test "${glibcxx_cv_system_error5+set}" = set; then :
17261   $as_echo_n "(cached) " >&6
17262 else
17263
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h.  */
17266 #include <errno.h>
17267 int
17268 main ()
17269 {
17270 int i = ENODATA;
17271   ;
17272   return 0;
17273 }
17274 _ACEOF
17275 if ac_fn_c_try_compile "$LINENO"; then :
17276   glibcxx_cv_system_error5=yes
17277 else
17278   glibcxx_cv_system_error5=no
17279 fi
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281
17282 fi
17283
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17285 $as_echo "$glibcxx_cv_system_error5" >&6; }
17286 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17287
17288 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17289
17290 fi
17291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17292 $as_echo_n "checking for ENOSR... " >&6; }
17293 if test "${glibcxx_cv_system_error6+set}" = set; then :
17294   $as_echo_n "(cached) " >&6
17295 else
17296
17297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17298 /* end confdefs.h.  */
17299 #include <errno.h>
17300 int
17301 main ()
17302 {
17303 int i = ENOSR;
17304   ;
17305   return 0;
17306 }
17307 _ACEOF
17308 if ac_fn_c_try_compile "$LINENO"; then :
17309   glibcxx_cv_system_error6=yes
17310 else
17311   glibcxx_cv_system_error6=no
17312 fi
17313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17314
17315 fi
17316
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17318 $as_echo "$glibcxx_cv_system_error6" >&6; }
17319 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17320
17321 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17322
17323 fi
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17325 $as_echo_n "checking for ENOSTR... " >&6; }
17326 if test "${glibcxx_cv_system_error7+set}" = set; then :
17327   $as_echo_n "(cached) " >&6
17328 else
17329
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h.  */
17332 #include <errno.h>
17333 int
17334 main ()
17335 {
17336 int i = ENOSTR;
17337   ;
17338   return 0;
17339 }
17340 _ACEOF
17341 if ac_fn_c_try_compile "$LINENO"; then :
17342   glibcxx_cv_system_error7=yes
17343 else
17344   glibcxx_cv_system_error7=no
17345 fi
17346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17347
17348 fi
17349
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17351 $as_echo "$glibcxx_cv_system_error7" >&6; }
17352 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17353
17354 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17355
17356 fi
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17358 $as_echo_n "checking for ETIME... " >&6; }
17359 if test "${glibcxx_cv_system_error8+set}" = set; then :
17360   $as_echo_n "(cached) " >&6
17361 else
17362
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h.  */
17365 #include <errno.h>
17366 int
17367 main ()
17368 {
17369 int i = ETIME;
17370   ;
17371   return 0;
17372 }
17373 _ACEOF
17374 if ac_fn_c_try_compile "$LINENO"; then :
17375   glibcxx_cv_system_error8=yes
17376 else
17377   glibcxx_cv_system_error8=no
17378 fi
17379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17380
17381 fi
17382
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17384 $as_echo "$glibcxx_cv_system_error8" >&6; }
17385 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17386
17387 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17388
17389 fi
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17391 $as_echo_n "checking for EBADMSG... " >&6; }
17392 if test "${glibcxx_cv_system_error9+set}" = set; then :
17393   $as_echo_n "(cached) " >&6
17394 else
17395
17396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17397 /* end confdefs.h.  */
17398 #include <errno.h>
17399 int
17400 main ()
17401 {
17402 int i = EBADMSG;
17403   ;
17404   return 0;
17405 }
17406 _ACEOF
17407 if ac_fn_c_try_compile "$LINENO"; then :
17408   glibcxx_cv_system_error9=yes
17409 else
17410   glibcxx_cv_system_error9=no
17411 fi
17412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17413
17414 fi
17415
17416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17417 $as_echo "$glibcxx_cv_system_error9" >&6; }
17418 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17419
17420 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17421
17422 fi
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17424 $as_echo_n "checking for ECANCELED... " >&6; }
17425 if test "${glibcxx_cv_system_error10+set}" = set; then :
17426   $as_echo_n "(cached) " >&6
17427 else
17428
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h.  */
17431 #include <errno.h>
17432 int
17433 main ()
17434 {
17435 int i = ECANCELED;
17436   ;
17437   return 0;
17438 }
17439 _ACEOF
17440 if ac_fn_c_try_compile "$LINENO"; then :
17441   glibcxx_cv_system_error10=yes
17442 else
17443   glibcxx_cv_system_error10=no
17444 fi
17445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17446
17447 fi
17448
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17450 $as_echo "$glibcxx_cv_system_error10" >&6; }
17451 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17452
17453 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17454
17455 fi
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17457 $as_echo_n "checking for EOVERFLOW... " >&6; }
17458 if test "${glibcxx_cv_system_error11+set}" = set; then :
17459   $as_echo_n "(cached) " >&6
17460 else
17461
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h.  */
17464 #include <errno.h>
17465 int
17466 main ()
17467 {
17468 int i = EOVERFLOW;
17469   ;
17470   return 0;
17471 }
17472 _ACEOF
17473 if ac_fn_c_try_compile "$LINENO"; then :
17474   glibcxx_cv_system_error11=yes
17475 else
17476   glibcxx_cv_system_error11=no
17477 fi
17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17479
17480 fi
17481
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17483 $as_echo "$glibcxx_cv_system_error11" >&6; }
17484 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17485
17486 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17487
17488 fi
17489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17490 $as_echo_n "checking for ENOTSUP... " >&6; }
17491 if test "${glibcxx_cv_system_error12+set}" = set; then :
17492   $as_echo_n "(cached) " >&6
17493 else
17494
17495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17496 /* end confdefs.h.  */
17497 #include <errno.h>
17498 int
17499 main ()
17500 {
17501 int i = ENOTSUP;
17502   ;
17503   return 0;
17504 }
17505 _ACEOF
17506 if ac_fn_c_try_compile "$LINENO"; then :
17507   glibcxx_cv_system_error12=yes
17508 else
17509   glibcxx_cv_system_error12=no
17510 fi
17511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17512
17513 fi
17514
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17516 $as_echo "$glibcxx_cv_system_error12" >&6; }
17517 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17518
17519 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17520
17521 fi
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17523 $as_echo_n "checking for EIDRM... " >&6; }
17524 if test "${glibcxx_cv_system_error13+set}" = set; then :
17525   $as_echo_n "(cached) " >&6
17526 else
17527
17528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h.  */
17530 #include <errno.h>
17531 int
17532 main ()
17533 {
17534 int i = EIDRM;
17535   ;
17536   return 0;
17537 }
17538 _ACEOF
17539 if ac_fn_c_try_compile "$LINENO"; then :
17540   glibcxx_cv_system_error13=yes
17541 else
17542   glibcxx_cv_system_error13=no
17543 fi
17544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17545
17546 fi
17547
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17549 $as_echo "$glibcxx_cv_system_error13" >&6; }
17550 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17551
17552 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17553
17554 fi
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17556 $as_echo_n "checking for ETXTBSY... " >&6; }
17557 if test "${glibcxx_cv_system_error14+set}" = set; then :
17558   $as_echo_n "(cached) " >&6
17559 else
17560
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h.  */
17563 #include <errno.h>
17564 int
17565 main ()
17566 {
17567 int i = ETXTBSY;
17568   ;
17569   return 0;
17570 }
17571 _ACEOF
17572 if ac_fn_c_try_compile "$LINENO"; then :
17573   glibcxx_cv_system_error14=yes
17574 else
17575   glibcxx_cv_system_error14=no
17576 fi
17577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17578
17579 fi
17580
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17582 $as_echo "$glibcxx_cv_system_error14" >&6; }
17583 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17584
17585 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17586
17587 fi
17588
17589
17590
17591 # For the streamoff typedef.
17592
17593
17594
17595   ac_ext=cpp
17596 ac_cpp='$CXXCPP $CPPFLAGS'
17597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17600
17601
17602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17603 $as_echo_n "checking for int64_t... " >&6; }
17604   if test "${glibcxx_cv_INT64_T+set}" = set; then :
17605   $as_echo_n "(cached) " >&6
17606 else
17607
17608     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h.  */
17610 #include <stdint.h>
17611 int
17612 main ()
17613 {
17614 int64_t var;
17615   ;
17616   return 0;
17617 }
17618 _ACEOF
17619 if ac_fn_cxx_try_compile "$LINENO"; then :
17620   glibcxx_cv_INT64_T=yes
17621 else
17622   glibcxx_cv_INT64_T=no
17623 fi
17624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17625
17626 fi
17627
17628
17629   if test $glibcxx_cv_INT64_T = yes; then
17630
17631 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17632
17633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17634 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17635
17636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17637 $as_echo_n "checking for int64_t as long... " >&6; }
17638     if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17639   $as_echo_n "(cached) " >&6
17640 else
17641
17642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h.  */
17644 #include <stdint.h>
17645         template<typename, typename> struct same { enum { value = -1 }; };
17646         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17647         int array[same<int64_t, long>::value];
17648 int
17649 main ()
17650 {
17651
17652   ;
17653   return 0;
17654 }
17655 _ACEOF
17656 if ac_fn_cxx_try_compile "$LINENO"; then :
17657   glibcxx_cv_int64_t_long=yes
17658 else
17659   glibcxx_cv_int64_t_long=no
17660 fi
17661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662
17663 fi
17664
17665
17666     if test $glibcxx_cv_int64_t_long = yes; then
17667
17668 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17669
17670       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17671 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17672     fi
17673
17674     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17675 $as_echo_n "checking for int64_t as long long... " >&6; }
17676     if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17677   $as_echo_n "(cached) " >&6
17678 else
17679
17680       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17681 /* end confdefs.h.  */
17682 #include <stdint.h>
17683         template<typename, typename> struct same { enum { value = -1 }; };
17684         template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17685         int array[same<int64_t, long long>::value];
17686 int
17687 main ()
17688 {
17689
17690   ;
17691   return 0;
17692 }
17693 _ACEOF
17694 if ac_fn_cxx_try_compile "$LINENO"; then :
17695   glibcxx_cv_int64_t_long_long=yes
17696 else
17697   glibcxx_cv_int64_t_long_long=no
17698 fi
17699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17700
17701 fi
17702
17703
17704     if test $glibcxx_cv_int64_t_long_long = yes; then
17705
17706 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17707
17708       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17709 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17710     fi
17711   fi
17712
17713   ac_ext=c
17714 ac_cpp='$CPP $CPPFLAGS'
17715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17718
17719
17720
17721 # For LFS support.
17722
17723
17724   ac_ext=cpp
17725 ac_cpp='$CXXCPP $CPPFLAGS'
17726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17729
17730   ac_save_CXXFLAGS="$CXXFLAGS"
17731   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17733 $as_echo_n "checking for LFS support... " >&6; }
17734   if test "${glibcxx_cv_LFS+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737
17738     if test x$gcc_no_link = xyes; then
17739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17740 /* end confdefs.h.  */
17741 #include <unistd.h>
17742        #include <stdio.h>
17743        #include <sys/stat.h>
17744
17745 int
17746 main ()
17747 {
17748 FILE* fp;
17749        fopen64("t", "w");
17750        fseeko64(fp, 0, SEEK_CUR);
17751        ftello64(fp);
17752        lseek64(1, 0, SEEK_CUR);
17753        struct stat64 buf;
17754        fstat64(1, &buf);
17755   ;
17756   return 0;
17757 }
17758 _ACEOF
17759 if ac_fn_cxx_try_compile "$LINENO"; then :
17760   glibcxx_cv_LFS=yes
17761 else
17762   glibcxx_cv_LFS=no
17763 fi
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765 else
17766   if test x$gcc_no_link = xyes; then
17767   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17768 fi
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h.  */
17771 #include <unistd.h>
17772        #include <stdio.h>
17773        #include <sys/stat.h>
17774
17775 int
17776 main ()
17777 {
17778 FILE* fp;
17779        fopen64("t", "w");
17780        fseeko64(fp, 0, SEEK_CUR);
17781        ftello64(fp);
17782        lseek64(1, 0, SEEK_CUR);
17783        struct stat64 buf;
17784        fstat64(1, &buf);
17785   ;
17786   return 0;
17787 }
17788 _ACEOF
17789 if ac_fn_cxx_try_link "$LINENO"; then :
17790   glibcxx_cv_LFS=yes
17791 else
17792   glibcxx_cv_LFS=no
17793 fi
17794 rm -f core conftest.err conftest.$ac_objext \
17795     conftest$ac_exeext conftest.$ac_ext
17796 fi
17797
17798 fi
17799
17800   if test $glibcxx_cv_LFS = yes; then
17801
17802 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17803
17804   fi
17805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17806 $as_echo "$glibcxx_cv_LFS" >&6; }
17807   CXXFLAGS="$ac_save_CXXFLAGS"
17808   ac_ext=c
17809 ac_cpp='$CPP $CPPFLAGS'
17810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17813
17814
17815
17816 # For showmanyc_helper().
17817 for ac_header in sys/ioctl.h sys/filio.h
17818 do :
17819   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17820 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17821 eval as_val=\$$as_ac_Header
17822    if test "x$as_val" = x""yes; then :
17823   cat >>confdefs.h <<_ACEOF
17824 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17825 _ACEOF
17826
17827 fi
17828
17829 done
17830
17831
17832
17833
17834   ac_ext=cpp
17835 ac_cpp='$CXXCPP $CPPFLAGS'
17836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17839
17840   ac_save_CXXFLAGS="$CXXFLAGS"
17841   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17842
17843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17844 $as_echo_n "checking for poll... " >&6; }
17845   if test "${glibcxx_cv_POLL+set}" = set; then :
17846   $as_echo_n "(cached) " >&6
17847 else
17848
17849     if test x$gcc_no_link = xyes; then
17850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h.  */
17852 #include <poll.h>
17853 int
17854 main ()
17855 {
17856 struct pollfd pfd[1];
17857        pfd[0].events = POLLIN;
17858        poll(pfd, 1, 0);
17859   ;
17860   return 0;
17861 }
17862 _ACEOF
17863 if ac_fn_cxx_try_compile "$LINENO"; then :
17864   glibcxx_cv_POLL=yes
17865 else
17866   glibcxx_cv_POLL=no
17867 fi
17868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17869 else
17870   if test x$gcc_no_link = xyes; then
17871   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17872 fi
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h.  */
17875 #include <poll.h>
17876 int
17877 main ()
17878 {
17879 struct pollfd pfd[1];
17880        pfd[0].events = POLLIN;
17881        poll(pfd, 1, 0);
17882   ;
17883   return 0;
17884 }
17885 _ACEOF
17886 if ac_fn_cxx_try_link "$LINENO"; then :
17887   glibcxx_cv_POLL=yes
17888 else
17889   glibcxx_cv_POLL=no
17890 fi
17891 rm -f core conftest.err conftest.$ac_objext \
17892     conftest$ac_exeext conftest.$ac_ext
17893 fi
17894
17895 fi
17896
17897   if test $glibcxx_cv_POLL = yes; then
17898
17899 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17900
17901   fi
17902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17903 $as_echo "$glibcxx_cv_POLL" >&6; }
17904
17905   CXXFLAGS="$ac_save_CXXFLAGS"
17906   ac_ext=c
17907 ac_cpp='$CPP $CPPFLAGS'
17908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17911
17912
17913
17914
17915
17916   ac_ext=cpp
17917 ac_cpp='$CXXCPP $CPPFLAGS'
17918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17921
17922   ac_save_CXXFLAGS="$CXXFLAGS"
17923   CXXFLAGS="$CXXFLAGS -fno-exceptions"
17924
17925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17926 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17927   if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17928   $as_echo_n "(cached) " >&6
17929 else
17930
17931     if test x$gcc_no_link = xyes; then
17932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h.  */
17934 #include <sys/stat.h>
17935 int
17936 main ()
17937 {
17938 struct stat buffer;
17939        fstat(0, &buffer);
17940        S_ISREG(buffer.st_mode);
17941   ;
17942   return 0;
17943 }
17944 _ACEOF
17945 if ac_fn_cxx_try_compile "$LINENO"; then :
17946   glibcxx_cv_S_ISREG=yes
17947 else
17948   glibcxx_cv_S_ISREG=no
17949 fi
17950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951 else
17952   if test x$gcc_no_link = xyes; then
17953   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 fi
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h.  */
17957 #include <sys/stat.h>
17958 int
17959 main ()
17960 {
17961 struct stat buffer;
17962        fstat(0, &buffer);
17963        S_ISREG(buffer.st_mode);
17964   ;
17965   return 0;
17966 }
17967 _ACEOF
17968 if ac_fn_cxx_try_link "$LINENO"; then :
17969   glibcxx_cv_S_ISREG=yes
17970 else
17971   glibcxx_cv_S_ISREG=no
17972 fi
17973 rm -f core conftest.err conftest.$ac_objext \
17974     conftest$ac_exeext conftest.$ac_ext
17975 fi
17976
17977 fi
17978
17979   if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17980   $as_echo_n "(cached) " >&6
17981 else
17982
17983     if test x$gcc_no_link = xyes; then
17984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h.  */
17986 #include <sys/stat.h>
17987 int
17988 main ()
17989 {
17990 struct stat buffer;
17991        fstat(0, &buffer);
17992        S_IFREG & buffer.st_mode;
17993   ;
17994   return 0;
17995 }
17996 _ACEOF
17997 if ac_fn_cxx_try_compile "$LINENO"; then :
17998   glibcxx_cv_S_IFREG=yes
17999 else
18000   glibcxx_cv_S_IFREG=no
18001 fi
18002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003 else
18004   if test x$gcc_no_link = xyes; then
18005   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18006 fi
18007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h.  */
18009 #include <sys/stat.h>
18010 int
18011 main ()
18012 {
18013 struct stat buffer;
18014        fstat(0, &buffer);
18015        S_IFREG & buffer.st_mode;
18016   ;
18017   return 0;
18018 }
18019 _ACEOF
18020 if ac_fn_cxx_try_link "$LINENO"; then :
18021   glibcxx_cv_S_IFREG=yes
18022 else
18023   glibcxx_cv_S_IFREG=no
18024 fi
18025 rm -f core conftest.err conftest.$ac_objext \
18026     conftest$ac_exeext conftest.$ac_ext
18027 fi
18028
18029 fi
18030
18031   res=no
18032   if test $glibcxx_cv_S_ISREG = yes; then
18033
18034 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18035
18036     res=S_ISREG
18037   elif test $glibcxx_cv_S_IFREG = yes; then
18038
18039 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18040
18041     res=S_IFREG
18042   fi
18043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18044 $as_echo "$res" >&6; }
18045
18046   CXXFLAGS="$ac_save_CXXFLAGS"
18047   ac_ext=c
18048 ac_cpp='$CPP $CPPFLAGS'
18049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18052
18053
18054
18055 # For xsputn_2().
18056 for ac_header in sys/uio.h
18057 do :
18058   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18059 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18060   cat >>confdefs.h <<_ACEOF
18061 #define HAVE_SYS_UIO_H 1
18062 _ACEOF
18063
18064 fi
18065
18066 done
18067
18068
18069
18070
18071   ac_ext=cpp
18072 ac_cpp='$CXXCPP $CPPFLAGS'
18073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18076
18077   ac_save_CXXFLAGS="$CXXFLAGS"
18078   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18079
18080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18081 $as_echo_n "checking for writev... " >&6; }
18082   if test "${glibcxx_cv_WRITEV+set}" = set; then :
18083   $as_echo_n "(cached) " >&6
18084 else
18085
18086     if test x$gcc_no_link = xyes; then
18087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088 /* end confdefs.h.  */
18089 #include <sys/uio.h>
18090 int
18091 main ()
18092 {
18093 struct iovec iov[2];
18094        writev(0, iov, 0);
18095   ;
18096   return 0;
18097 }
18098 _ACEOF
18099 if ac_fn_cxx_try_compile "$LINENO"; then :
18100   glibcxx_cv_WRITEV=yes
18101 else
18102   glibcxx_cv_WRITEV=no
18103 fi
18104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 else
18106   if test x$gcc_no_link = xyes; then
18107   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18108 fi
18109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18110 /* end confdefs.h.  */
18111 #include <sys/uio.h>
18112 int
18113 main ()
18114 {
18115 struct iovec iov[2];
18116        writev(0, iov, 0);
18117   ;
18118   return 0;
18119 }
18120 _ACEOF
18121 if ac_fn_cxx_try_link "$LINENO"; then :
18122   glibcxx_cv_WRITEV=yes
18123 else
18124   glibcxx_cv_WRITEV=no
18125 fi
18126 rm -f core conftest.err conftest.$ac_objext \
18127     conftest$ac_exeext conftest.$ac_ext
18128 fi
18129
18130 fi
18131
18132   if test $glibcxx_cv_WRITEV = yes; then
18133
18134 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18135
18136   fi
18137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18138 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18139
18140   CXXFLAGS="$ac_save_CXXFLAGS"
18141   ac_ext=c
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18146
18147
18148
18149 # For C99 support to TR1.
18150
18151
18152
18153   ac_ext=cpp
18154 ac_cpp='$CXXCPP $CPPFLAGS'
18155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18158
18159
18160   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18161   # undefined and fake C99 facilities may be spuriously enabled.
18162   ac_save_CXXFLAGS="$CXXFLAGS"
18163   CXXFLAGS="$CXXFLAGS -std=c++98"
18164
18165   # Check for the existence of <complex.h> complex math functions used
18166   # by tr1/complex.
18167   for ac_header in complex.h
18168 do :
18169   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18170 if test "x$ac_cv_header_complex_h" = x""yes; then :
18171   cat >>confdefs.h <<_ACEOF
18172 #define HAVE_COMPLEX_H 1
18173 _ACEOF
18174  ac_has_complex_h=yes
18175 else
18176   ac_has_complex_h=no
18177 fi
18178
18179 done
18180
18181   ac_c99_complex_tr1=no;
18182   if test x"$ac_has_complex_h" = x"yes"; then
18183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18184 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18185     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h.  */
18187 #include <complex.h>
18188 int
18189 main ()
18190 {
18191 typedef __complex__ float float_type; float_type tmpf;
18192                     cacosf(tmpf);
18193                     casinf(tmpf);
18194                     catanf(tmpf);
18195                     cacoshf(tmpf);
18196                     casinhf(tmpf);
18197                     catanhf(tmpf);
18198                     typedef __complex__ double double_type; double_type tmpd;
18199                     cacos(tmpd);
18200                     casin(tmpd);
18201                     catan(tmpd);
18202                     cacosh(tmpd);
18203                     casinh(tmpd);
18204                     catanh(tmpd);
18205                     typedef __complex__ long double ld_type; ld_type tmpld;
18206                     cacosl(tmpld);
18207                     casinl(tmpld);
18208                     catanl(tmpld);
18209                     cacoshl(tmpld);
18210                     casinhl(tmpld);
18211                     catanhl(tmpld);
18212
18213   ;
18214   return 0;
18215 }
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218   ac_c99_complex_tr1=yes
18219 else
18220   ac_c99_complex_tr1=no
18221 fi
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223   fi
18224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18225 $as_echo "$ac_c99_complex_tr1" >&6; }
18226   if test x"$ac_c99_complex_tr1" = x"yes"; then
18227
18228 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18229
18230   fi
18231
18232   # Check for the existence of <ctype.h> functions.
18233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18234 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18235   if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18236   $as_echo_n "(cached) " >&6
18237 else
18238
18239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h.  */
18241 #include <ctype.h>
18242 int
18243 main ()
18244 {
18245 int ch;
18246                   int ret;
18247                   ret = isblank(ch);
18248
18249   ;
18250   return 0;
18251 }
18252 _ACEOF
18253 if ac_fn_cxx_try_compile "$LINENO"; then :
18254   glibcxx_cv_c99_ctype_tr1=yes
18255 else
18256   glibcxx_cv_c99_ctype_tr1=no
18257 fi
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259
18260 fi
18261
18262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18263 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18264   if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18265
18266 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18267
18268   fi
18269
18270   # Check for the existence of <fenv.h> functions.
18271   for ac_header in fenv.h
18272 do :
18273   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18274 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18275   cat >>confdefs.h <<_ACEOF
18276 #define HAVE_FENV_H 1
18277 _ACEOF
18278  ac_has_fenv_h=yes
18279 else
18280   ac_has_fenv_h=no
18281 fi
18282
18283 done
18284
18285   ac_c99_fenv_tr1=no;
18286   if test x"$ac_has_fenv_h" = x"yes"; then
18287     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18288 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18289     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h.  */
18291 #include <fenv.h>
18292 int
18293 main ()
18294 {
18295 int except, mode;
18296                     fexcept_t* pflag;
18297                     fenv_t* penv;
18298                     int ret;
18299                     ret = feclearexcept(except);
18300                     ret = fegetexceptflag(pflag, except);
18301                     ret = feraiseexcept(except);
18302                     ret = fesetexceptflag(pflag, except);
18303                     ret = fetestexcept(except);
18304                     ret = fegetround();
18305                     ret = fesetround(mode);
18306                     ret = fegetenv(penv);
18307                     ret = feholdexcept(penv);
18308                     ret = fesetenv(penv);
18309                     ret = feupdateenv(penv);
18310
18311   ;
18312   return 0;
18313 }
18314 _ACEOF
18315 if ac_fn_cxx_try_compile "$LINENO"; then :
18316   ac_c99_fenv_tr1=yes
18317 else
18318   ac_c99_fenv_tr1=no
18319 fi
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321   fi
18322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18323 $as_echo "$ac_c99_fenv_tr1" >&6; }
18324   if test x"$ac_c99_fenv_tr1" = x"yes"; then
18325
18326 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18327
18328   fi
18329
18330   # Check for the existence of <stdint.h> types.
18331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18332 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18333   if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18334   $as_echo_n "(cached) " >&6
18335 else
18336
18337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h.  */
18339 #define __STDC_LIMIT_MACROS
18340                   #define __STDC_CONSTANT_MACROS
18341                   #include <stdint.h>
18342 int
18343 main ()
18344 {
18345 typedef int8_t          my_int8_t;
18346                   my_int8_t               i8 = INT8_MIN;
18347                   i8 = INT8_MAX;
18348                   typedef int16_t         my_int16_t;
18349                   my_int16_t              i16 = INT16_MIN;
18350                   i16 = INT16_MAX;
18351                   typedef int32_t         my_int32_t;
18352                   my_int32_t              i32 = INT32_MIN;
18353                   i32 = INT32_MAX;
18354                   typedef int64_t         my_int64_t;
18355                   my_int64_t              i64 = INT64_MIN;
18356                   i64 = INT64_MAX;
18357                   typedef int_fast8_t     my_int_fast8_t;
18358                   my_int_fast8_t          if8 = INT_FAST8_MIN;
18359                   if8 = INT_FAST8_MAX;
18360                   typedef int_fast16_t    my_int_fast16_t;
18361                   my_int_fast16_t         if16 = INT_FAST16_MIN;
18362                   if16 = INT_FAST16_MAX;
18363                   typedef int_fast32_t    my_int_fast32_t;
18364                   my_int_fast32_t         if32 = INT_FAST32_MIN;
18365                   if32 = INT_FAST32_MAX;
18366                   typedef int_fast64_t    my_int_fast64_t;
18367                   my_int_fast64_t         if64 = INT_FAST64_MIN;
18368                   if64 = INT_FAST64_MAX;
18369                   typedef int_least8_t    my_int_least8_t;
18370                   my_int_least8_t         il8 = INT_LEAST8_MIN;
18371                   il8 = INT_LEAST8_MAX;
18372                   typedef int_least16_t   my_int_least16_t;
18373                   my_int_least16_t        il16 = INT_LEAST16_MIN;
18374                   il16 = INT_LEAST16_MAX;
18375                   typedef int_least32_t   my_int_least32_t;
18376                   my_int_least32_t        il32 = INT_LEAST32_MIN;
18377                   il32 = INT_LEAST32_MAX;
18378                   typedef int_least64_t   my_int_least64_t;
18379                   my_int_least64_t        il64 = INT_LEAST64_MIN;
18380                   il64 = INT_LEAST64_MAX;
18381                   typedef intmax_t        my_intmax_t;
18382                   my_intmax_t             im = INTMAX_MAX;
18383                   im = INTMAX_MIN;
18384                   typedef intptr_t        my_intptr_t;
18385                   my_intptr_t             ip = INTPTR_MAX;
18386                   ip = INTPTR_MIN;
18387                   typedef uint8_t         my_uint8_t;
18388                   my_uint8_t              ui8 = UINT8_MAX;
18389                   ui8 = UINT8_MAX;
18390                   typedef uint16_t        my_uint16_t;
18391                   my_uint16_t             ui16 = UINT16_MAX;
18392                   ui16 = UINT16_MAX;
18393                   typedef uint32_t        my_uint32_t;
18394                   my_uint32_t             ui32 = UINT32_MAX;
18395                   ui32 = UINT32_MAX;
18396                   typedef uint64_t        my_uint64_t;
18397                   my_uint64_t             ui64 = UINT64_MAX;
18398                   ui64 = UINT64_MAX;
18399                   typedef uint_fast8_t    my_uint_fast8_t;
18400                   my_uint_fast8_t         uif8 = UINT_FAST8_MAX;
18401                   uif8 = UINT_FAST8_MAX;
18402                   typedef uint_fast16_t   my_uint_fast16_t;
18403                   my_uint_fast16_t        uif16 = UINT_FAST16_MAX;
18404                   uif16 = UINT_FAST16_MAX;
18405                   typedef uint_fast32_t   my_uint_fast32_t;
18406                   my_uint_fast32_t        uif32 = UINT_FAST32_MAX;
18407                   uif32 = UINT_FAST32_MAX;
18408                   typedef uint_fast64_t   my_uint_fast64_t;
18409                   my_uint_fast64_t        uif64 = UINT_FAST64_MAX;
18410                   uif64 = UINT_FAST64_MAX;
18411                   typedef uint_least8_t   my_uint_least8_t;
18412                   my_uint_least8_t        uil8 = UINT_LEAST8_MAX;
18413                   uil8 = UINT_LEAST8_MAX;
18414                   typedef uint_least16_t  my_uint_least16_t;
18415                   my_uint_least16_t       uil16 = UINT_LEAST16_MAX;
18416                   uil16 = UINT_LEAST16_MAX;
18417                   typedef uint_least32_t  my_uint_least32_t;
18418                   my_uint_least32_t       uil32 = UINT_LEAST32_MAX;
18419                   uil32 = UINT_LEAST32_MAX;
18420                   typedef uint_least64_t  my_uint_least64_t;
18421                   my_uint_least64_t       uil64 = UINT_LEAST64_MAX;
18422                   uil64 = UINT_LEAST64_MAX;
18423                   typedef uintmax_t       my_uintmax_t;
18424                   my_uintmax_t            uim = UINTMAX_MAX;
18425                   uim = UINTMAX_MAX;
18426                   typedef uintptr_t       my_uintptr_t;
18427                   my_uintptr_t            uip = UINTPTR_MAX;
18428                   uip = UINTPTR_MAX;
18429
18430   ;
18431   return 0;
18432 }
18433 _ACEOF
18434 if ac_fn_cxx_try_compile "$LINENO"; then :
18435   glibcxx_cv_c99_stdint_tr1=yes
18436 else
18437   glibcxx_cv_c99_stdint_tr1=no
18438 fi
18439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440
18441 fi
18442
18443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18444 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18445   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18446
18447 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18448
18449   fi
18450
18451   # Check for the existence of <math.h> functions.
18452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18453 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18454   if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18455   $as_echo_n "(cached) " >&6
18456 else
18457
18458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h.  */
18460 #include <math.h>
18461 int
18462 main ()
18463 {
18464 typedef double_t  my_double_t;
18465                   typedef float_t   my_float_t;
18466                   acosh(0.0);
18467                   acoshf(0.0f);
18468                   acoshl(0.0l);
18469                   asinh(0.0);
18470                   asinhf(0.0f);
18471                   asinhl(0.0l);
18472                   atanh(0.0);
18473                   atanhf(0.0f);
18474                   atanhl(0.0l);
18475                   cbrt(0.0);
18476                   cbrtf(0.0f);
18477                   cbrtl(0.0l);
18478                   copysign(0.0, 0.0);
18479                   copysignf(0.0f, 0.0f);
18480                   copysignl(0.0l, 0.0l);
18481                   erf(0.0);
18482                   erff(0.0f);
18483                   erfl(0.0l);
18484                   erfc(0.0);
18485                   erfcf(0.0f);
18486                   erfcl(0.0l);
18487                   exp2(0.0);
18488                   exp2f(0.0f);
18489                   exp2l(0.0l);
18490                   expm1(0.0);
18491                   expm1f(0.0f);
18492                   expm1l(0.0l);
18493                   fdim(0.0, 0.0);
18494                   fdimf(0.0f, 0.0f);
18495                   fdiml(0.0l, 0.0l);
18496                   fma(0.0, 0.0, 0.0);
18497                   fmaf(0.0f, 0.0f, 0.0f);
18498                   fmal(0.0l, 0.0l, 0.0l);
18499                   fmax(0.0, 0.0);
18500                   fmaxf(0.0f, 0.0f);
18501                   fmaxl(0.0l, 0.0l);
18502                   fmin(0.0, 0.0);
18503                   fminf(0.0f, 0.0f);
18504                   fminl(0.0l, 0.0l);
18505                   hypot(0.0, 0.0);
18506                   hypotf(0.0f, 0.0f);
18507                   hypotl(0.0l, 0.0l);
18508                   ilogb(0.0);
18509                   ilogbf(0.0f);
18510                   ilogbl(0.0l);
18511                   lgamma(0.0);
18512                   lgammaf(0.0f);
18513                   lgammal(0.0l);
18514                   llrint(0.0);
18515                   llrintf(0.0f);
18516                   llrintl(0.0l);
18517                   llround(0.0);
18518                   llroundf(0.0f);
18519                   llroundl(0.0l);
18520                   log1p(0.0);
18521                   log1pf(0.0f);
18522                   log1pl(0.0l);
18523                   log2(0.0);
18524                   log2f(0.0f);
18525                   log2l(0.0l);
18526                   logb(0.0);
18527                   logbf(0.0f);
18528                   logbl(0.0l);
18529                   lrint(0.0);
18530                   lrintf(0.0f);
18531                   lrintl(0.0l);
18532                   lround(0.0);
18533                   lroundf(0.0f);
18534                   lroundl(0.0l);
18535                   nan(0);
18536                   nanf(0);
18537                   nanl(0);
18538                   nearbyint(0.0);
18539                   nearbyintf(0.0f);
18540                   nearbyintl(0.0l);
18541                   nextafter(0.0, 0.0);
18542                   nextafterf(0.0f, 0.0f);
18543                   nextafterl(0.0l, 0.0l);
18544                   nexttoward(0.0, 0.0);
18545                   nexttowardf(0.0f, 0.0f);
18546                   nexttowardl(0.0l, 0.0l);
18547                   remainder(0.0, 0.0);
18548                   remainderf(0.0f, 0.0f);
18549                   remainderl(0.0l, 0.0l);
18550                   remquo(0.0, 0.0, 0);
18551                   remquof(0.0f, 0.0f, 0);
18552                   remquol(0.0l, 0.0l, 0);
18553                   rint(0.0);
18554                   rintf(0.0f);
18555                   rintl(0.0l);
18556                   round(0.0);
18557                   roundf(0.0f);
18558                   roundl(0.0l);
18559                   scalbln(0.0, 0l);
18560                   scalblnf(0.0f, 0l);
18561                   scalblnl(0.0l, 0l);
18562                   scalbn(0.0, 0);
18563                   scalbnf(0.0f, 0);
18564                   scalbnl(0.0l, 0);
18565                   tgamma(0.0);
18566                   tgammaf(0.0f);
18567                   tgammal(0.0l);
18568                   trunc(0.0);
18569                   truncf(0.0f);
18570                   truncl(0.0l);
18571
18572   ;
18573   return 0;
18574 }
18575 _ACEOF
18576 if ac_fn_cxx_try_compile "$LINENO"; then :
18577   glibcxx_cv_c99_math_tr1=yes
18578 else
18579   glibcxx_cv_c99_math_tr1=no
18580 fi
18581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18582
18583 fi
18584
18585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18586 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18587   if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18588
18589 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18590
18591   fi
18592
18593   # Check for the existence of <inttypes.h> functions (NB: doesn't make
18594   # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18595   ac_c99_inttypes_tr1=no;
18596   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18597     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18598 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18599     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18600 /* end confdefs.h.  */
18601 #include <inttypes.h>
18602 int
18603 main ()
18604 {
18605 intmax_t i, numer, denom, base;
18606                     const char* s;
18607                     char** endptr;
18608                     intmax_t ret = imaxabs(i);
18609                     imaxdiv_t dret = imaxdiv(numer, denom);
18610                     ret = strtoimax(s, endptr, base);
18611                     uintmax_t uret = strtoumax(s, endptr, base);
18612
18613   ;
18614   return 0;
18615 }
18616 _ACEOF
18617 if ac_fn_cxx_try_compile "$LINENO"; then :
18618   ac_c99_inttypes_tr1=yes
18619 else
18620   ac_c99_inttypes_tr1=no
18621 fi
18622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18623   fi
18624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18625 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18626   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18627
18628 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18629
18630   fi
18631
18632   # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18633   # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18634   ac_c99_inttypes_wchar_t_tr1=no;
18635   if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18636     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18637 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18638     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h.  */
18640 #include <inttypes.h>
18641 int
18642 main ()
18643 {
18644 intmax_t base;
18645                     const wchar_t* s;
18646                     wchar_t** endptr;
18647                     intmax_t ret = wcstoimax(s, endptr, base);
18648                     uintmax_t uret = wcstoumax(s, endptr, base);
18649
18650   ;
18651   return 0;
18652 }
18653 _ACEOF
18654 if ac_fn_cxx_try_compile "$LINENO"; then :
18655   ac_c99_inttypes_wchar_t_tr1=yes
18656 else
18657   ac_c99_inttypes_wchar_t_tr1=no
18658 fi
18659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18660   fi
18661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18662 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18663   if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18664
18665 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18666
18667   fi
18668
18669   # Check for the existence of the <stdbool.h> header.
18670   for ac_header in stdbool.h
18671 do :
18672   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18673 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18674   cat >>confdefs.h <<_ACEOF
18675 #define HAVE_STDBOOL_H 1
18676 _ACEOF
18677
18678 fi
18679
18680 done
18681
18682
18683   CXXFLAGS="$ac_save_CXXFLAGS"
18684   ac_ext=c
18685 ac_cpp='$CPP $CPPFLAGS'
18686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18689
18690
18691
18692 # For common values of EOF, SEEK_CUR, SEEK_END.
18693
18694
18695   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18696 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18697   if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18698   $as_echo_n "(cached) " >&6
18699 else
18700
18701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h.  */
18703 #include <stdio.h>
18704 int
18705 main ()
18706 {
18707 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18708                     unusual values...
18709                   #endif
18710
18711   ;
18712   return 0;
18713 }
18714 _ACEOF
18715 if ac_fn_c_try_compile "$LINENO"; then :
18716   glibcxx_cv_stdio_macros=yes
18717 else
18718   glibcxx_cv_stdio_macros=no
18719 fi
18720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18721
18722 fi
18723
18724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18725 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18726   if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18727
18728 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18729
18730   fi
18731
18732
18733
18734 # For gettimeofday support.
18735
18736
18737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18738 $as_echo_n "checking for gettimeofday... " >&6; }
18739
18740
18741   ac_ext=cpp
18742 ac_cpp='$CXXCPP $CPPFLAGS'
18743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18746
18747   ac_save_CXXFLAGS="$CXXFLAGS"
18748   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18749
18750   ac_has_gettimeofday=no;
18751   for ac_header in sys/time.h
18752 do :
18753   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18754 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18755   cat >>confdefs.h <<_ACEOF
18756 #define HAVE_SYS_TIME_H 1
18757 _ACEOF
18758  ac_has_sys_time_h=yes
18759 else
18760   ac_has_sys_time_h=no
18761 fi
18762
18763 done
18764
18765   if test x"$ac_has_sys_time_h" = x"yes"; then
18766     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18767 $as_echo_n "checking for gettimeofday... " >&6; }
18768     if test x$gcc_no_link = xyes; then
18769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h.  */
18771 #include <sys/time.h>
18772 int
18773 main ()
18774 {
18775 timeval tv; gettimeofday(&tv, 0);
18776   ;
18777   return 0;
18778 }
18779 _ACEOF
18780 if ac_fn_cxx_try_compile "$LINENO"; then :
18781   ac_has_gettimeofday=yes
18782 else
18783   ac_has_gettimeofday=no
18784 fi
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 else
18787   if test x$gcc_no_link = xyes; then
18788   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18789 fi
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h.  */
18792 #include <sys/time.h>
18793 int
18794 main ()
18795 {
18796 timeval tv; gettimeofday(&tv, 0);
18797   ;
18798   return 0;
18799 }
18800 _ACEOF
18801 if ac_fn_cxx_try_link "$LINENO"; then :
18802   ac_has_gettimeofday=yes
18803 else
18804   ac_has_gettimeofday=no
18805 fi
18806 rm -f core conftest.err conftest.$ac_objext \
18807     conftest$ac_exeext conftest.$ac_ext
18808 fi
18809
18810     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18811 $as_echo "$ac_has_gettimeofday" >&6; }
18812   fi
18813
18814   if test x"$ac_has_gettimeofday" = x"yes"; then
18815
18816 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18817
18818   fi
18819
18820   CXXFLAGS="$ac_save_CXXFLAGS"
18821   ac_ext=c
18822 ac_cpp='$CPP $CPPFLAGS'
18823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18826
18827
18828
18829 # For clock_gettime, nanosleep and sched_yield support.
18830 # NB: The default is [no], because otherwise it requires linking.
18831
18832
18833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18834 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18835    # Check whether --enable-libstdcxx-time was given.
18836 if test "${enable_libstdcxx_time+set}" = set; then :
18837   enableval=$enable_libstdcxx_time;
18838       case "$enableval" in
18839        yes|no|rt) ;;
18840        *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18841                           esac
18842
18843 else
18844   enable_libstdcxx_time=no
18845 fi
18846
18847
18848
18849
18850   ac_ext=cpp
18851 ac_cpp='$CXXCPP $CPPFLAGS'
18852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18855
18856   ac_save_CXXFLAGS="$CXXFLAGS"
18857   CXXFLAGS="$CXXFLAGS -fno-exceptions"
18858   ac_save_LIBS="$LIBS"
18859
18860   ac_has_clock_monotonic=no;
18861   ac_has_clock_realtime=no;
18862
18863   if test x"$enable_libstdcxx_time" != x"no"; then
18864
18865     if test x"$enable_libstdcxx_time" = x"rt"; then
18866       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18867 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18868 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18869   $as_echo_n "(cached) " >&6
18870 else
18871   ac_func_search_save_LIBS=$LIBS
18872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h.  */
18874
18875 /* Override any GCC internal prototype to avoid an error.
18876    Use char because int might match the return type of a GCC
18877    builtin and then its argument prototype would still apply.  */
18878 #ifdef __cplusplus
18879 extern "C"
18880 #endif
18881 char clock_gettime ();
18882 int
18883 main ()
18884 {
18885 return clock_gettime ();
18886   ;
18887   return 0;
18888 }
18889 _ACEOF
18890 for ac_lib in '' rt posix4; do
18891   if test -z "$ac_lib"; then
18892     ac_res="none required"
18893   else
18894     ac_res=-l$ac_lib
18895     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18896   fi
18897   if test x$gcc_no_link = xyes; then
18898   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18899 fi
18900 if ac_fn_cxx_try_link "$LINENO"; then :
18901   ac_cv_search_clock_gettime=$ac_res
18902 fi
18903 rm -f core conftest.err conftest.$ac_objext \
18904     conftest$ac_exeext
18905   if test "${ac_cv_search_clock_gettime+set}" = set; then :
18906   break
18907 fi
18908 done
18909 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18910
18911 else
18912   ac_cv_search_clock_gettime=no
18913 fi
18914 rm conftest.$ac_ext
18915 LIBS=$ac_func_search_save_LIBS
18916 fi
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18918 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18919 ac_res=$ac_cv_search_clock_gettime
18920 if test "$ac_res" != no; then :
18921   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18922
18923 fi
18924
18925       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18926 $as_echo_n "checking for library containing nanosleep... " >&6; }
18927 if test "${ac_cv_search_nanosleep+set}" = set; then :
18928   $as_echo_n "(cached) " >&6
18929 else
18930   ac_func_search_save_LIBS=$LIBS
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h.  */
18933
18934 /* Override any GCC internal prototype to avoid an error.
18935    Use char because int might match the return type of a GCC
18936    builtin and then its argument prototype would still apply.  */
18937 #ifdef __cplusplus
18938 extern "C"
18939 #endif
18940 char nanosleep ();
18941 int
18942 main ()
18943 {
18944 return nanosleep ();
18945   ;
18946   return 0;
18947 }
18948 _ACEOF
18949 for ac_lib in '' rt posix4; do
18950   if test -z "$ac_lib"; then
18951     ac_res="none required"
18952   else
18953     ac_res=-l$ac_lib
18954     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
18955   fi
18956   if test x$gcc_no_link = xyes; then
18957   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18958 fi
18959 if ac_fn_cxx_try_link "$LINENO"; then :
18960   ac_cv_search_nanosleep=$ac_res
18961 fi
18962 rm -f core conftest.err conftest.$ac_objext \
18963     conftest$ac_exeext
18964   if test "${ac_cv_search_nanosleep+set}" = set; then :
18965   break
18966 fi
18967 done
18968 if test "${ac_cv_search_nanosleep+set}" = set; then :
18969
18970 else
18971   ac_cv_search_nanosleep=no
18972 fi
18973 rm conftest.$ac_ext
18974 LIBS=$ac_func_search_save_LIBS
18975 fi
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18977 $as_echo "$ac_cv_search_nanosleep" >&6; }
18978 ac_res=$ac_cv_search_nanosleep
18979 if test "$ac_res" != no; then :
18980   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18981
18982 fi
18983
18984     else
18985       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18986 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18987 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18988   $as_echo_n "(cached) " >&6
18989 else
18990   ac_func_search_save_LIBS=$LIBS
18991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h.  */
18993
18994 /* Override any GCC internal prototype to avoid an error.
18995    Use char because int might match the return type of a GCC
18996    builtin and then its argument prototype would still apply.  */
18997 #ifdef __cplusplus
18998 extern "C"
18999 #endif
19000 char clock_gettime ();
19001 int
19002 main ()
19003 {
19004 return clock_gettime ();
19005   ;
19006   return 0;
19007 }
19008 _ACEOF
19009 for ac_lib in '' posix4; do
19010   if test -z "$ac_lib"; then
19011     ac_res="none required"
19012   else
19013     ac_res=-l$ac_lib
19014     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19015   fi
19016   if test x$gcc_no_link = xyes; then
19017   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19018 fi
19019 if ac_fn_cxx_try_link "$LINENO"; then :
19020   ac_cv_search_clock_gettime=$ac_res
19021 fi
19022 rm -f core conftest.err conftest.$ac_objext \
19023     conftest$ac_exeext
19024   if test "${ac_cv_search_clock_gettime+set}" = set; then :
19025   break
19026 fi
19027 done
19028 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19029
19030 else
19031   ac_cv_search_clock_gettime=no
19032 fi
19033 rm conftest.$ac_ext
19034 LIBS=$ac_func_search_save_LIBS
19035 fi
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19037 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19038 ac_res=$ac_cv_search_clock_gettime
19039 if test "$ac_res" != no; then :
19040   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19041
19042 fi
19043
19044       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19045 $as_echo_n "checking for library containing nanosleep... " >&6; }
19046 if test "${ac_cv_search_nanosleep+set}" = set; then :
19047   $as_echo_n "(cached) " >&6
19048 else
19049   ac_func_search_save_LIBS=$LIBS
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h.  */
19052
19053 /* Override any GCC internal prototype to avoid an error.
19054    Use char because int might match the return type of a GCC
19055    builtin and then its argument prototype would still apply.  */
19056 #ifdef __cplusplus
19057 extern "C"
19058 #endif
19059 char nanosleep ();
19060 int
19061 main ()
19062 {
19063 return nanosleep ();
19064   ;
19065   return 0;
19066 }
19067 _ACEOF
19068 for ac_lib in '' posix4; do
19069   if test -z "$ac_lib"; then
19070     ac_res="none required"
19071   else
19072     ac_res=-l$ac_lib
19073     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19074   fi
19075   if test x$gcc_no_link = xyes; then
19076   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 fi
19078 if ac_fn_cxx_try_link "$LINENO"; then :
19079   ac_cv_search_nanosleep=$ac_res
19080 fi
19081 rm -f core conftest.err conftest.$ac_objext \
19082     conftest$ac_exeext
19083   if test "${ac_cv_search_nanosleep+set}" = set; then :
19084   break
19085 fi
19086 done
19087 if test "${ac_cv_search_nanosleep+set}" = set; then :
19088
19089 else
19090   ac_cv_search_nanosleep=no
19091 fi
19092 rm conftest.$ac_ext
19093 LIBS=$ac_func_search_save_LIBS
19094 fi
19095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19096 $as_echo "$ac_cv_search_nanosleep" >&6; }
19097 ac_res=$ac_cv_search_nanosleep
19098 if test "$ac_res" != no; then :
19099   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19100
19101 fi
19102
19103     fi
19104
19105     case "$ac_cv_search_clock_gettime" in
19106       -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19107       ;;
19108     esac
19109     case "$ac_cv_search_nanosleep" in
19110       -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19111       ;;
19112     esac
19113
19114     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19115 $as_echo_n "checking for library containing sched_yield... " >&6; }
19116 if test "${ac_cv_search_sched_yield+set}" = set; then :
19117   $as_echo_n "(cached) " >&6
19118 else
19119   ac_func_search_save_LIBS=$LIBS
19120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121 /* end confdefs.h.  */
19122
19123 /* Override any GCC internal prototype to avoid an error.
19124    Use char because int might match the return type of a GCC
19125    builtin and then its argument prototype would still apply.  */
19126 #ifdef __cplusplus
19127 extern "C"
19128 #endif
19129 char sched_yield ();
19130 int
19131 main ()
19132 {
19133 return sched_yield ();
19134   ;
19135   return 0;
19136 }
19137 _ACEOF
19138 for ac_lib in '' rt posix4; do
19139   if test -z "$ac_lib"; then
19140     ac_res="none required"
19141   else
19142     ac_res=-l$ac_lib
19143     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
19144   fi
19145   if test x$gcc_no_link = xyes; then
19146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19147 fi
19148 if ac_fn_cxx_try_link "$LINENO"; then :
19149   ac_cv_search_sched_yield=$ac_res
19150 fi
19151 rm -f core conftest.err conftest.$ac_objext \
19152     conftest$ac_exeext
19153   if test "${ac_cv_search_sched_yield+set}" = set; then :
19154   break
19155 fi
19156 done
19157 if test "${ac_cv_search_sched_yield+set}" = set; then :
19158
19159 else
19160   ac_cv_search_sched_yield=no
19161 fi
19162 rm conftest.$ac_ext
19163 LIBS=$ac_func_search_save_LIBS
19164 fi
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19166 $as_echo "$ac_cv_search_sched_yield" >&6; }
19167 ac_res=$ac_cv_search_sched_yield
19168 if test "$ac_res" != no; then :
19169   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19170
19171 fi
19172
19173
19174     case "$ac_cv_search_sched_yield" in
19175       -lposix4*)
19176       GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19177
19178 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19179
19180       ;;
19181       -lrt*)
19182       if test x"$enable_libstdcxx_time" = x"rt"; then
19183         GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19184
19185 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19186
19187       fi
19188       ;;
19189       *)
19190
19191 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19192
19193       ;;
19194     esac
19195
19196     for ac_header in unistd.h
19197 do :
19198   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19199 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19200   cat >>confdefs.h <<_ACEOF
19201 #define HAVE_UNISTD_H 1
19202 _ACEOF
19203  ac_has_unistd_h=yes
19204 else
19205   ac_has_unistd_h=no
19206 fi
19207
19208 done
19209
19210
19211     if test x"$ac_has_unistd_h" = x"yes"; then
19212       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19213 $as_echo_n "checking for monotonic clock... " >&6; }
19214       if test x$gcc_no_link = xyes; then
19215   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19216 fi
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h.  */
19219 #include <unistd.h>
19220          #include <time.h>
19221
19222 int
19223 main ()
19224 {
19225 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19226           timespec tp;
19227          #endif
19228           clock_gettime(CLOCK_MONOTONIC, &tp);
19229
19230   ;
19231   return 0;
19232 }
19233 _ACEOF
19234 if ac_fn_cxx_try_link "$LINENO"; then :
19235   ac_has_clock_monotonic=yes
19236 else
19237   ac_has_clock_monotonic=no
19238 fi
19239 rm -f core conftest.err conftest.$ac_objext \
19240     conftest$ac_exeext conftest.$ac_ext
19241
19242       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19243 $as_echo "$ac_has_clock_monotonic" >&6; }
19244
19245       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19246 $as_echo_n "checking for realtime clock... " >&6; }
19247       if test x$gcc_no_link = xyes; then
19248   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19249 fi
19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h.  */
19252 #include <unistd.h>
19253          #include <time.h>
19254
19255 int
19256 main ()
19257 {
19258 #if _POSIX_TIMERS > 0
19259           timespec tp;
19260          #endif
19261           clock_gettime(CLOCK_REALTIME, &tp);
19262
19263   ;
19264   return 0;
19265 }
19266 _ACEOF
19267 if ac_fn_cxx_try_link "$LINENO"; then :
19268   ac_has_clock_realtime=yes
19269 else
19270   ac_has_clock_realtime=no
19271 fi
19272 rm -f core conftest.err conftest.$ac_objext \
19273     conftest$ac_exeext conftest.$ac_ext
19274
19275       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19276 $as_echo "$ac_has_clock_realtime" >&6; }
19277
19278       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19279 $as_echo_n "checking for nanosleep... " >&6; }
19280       if test x$gcc_no_link = xyes; then
19281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19282 fi
19283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19284 /* end confdefs.h.  */
19285 #include <unistd.h>
19286          #include <time.h>
19287
19288 int
19289 main ()
19290 {
19291 #if _POSIX_TIMERS > 0
19292           timespec tp;
19293          #endif
19294           nanosleep(&tp, 0);
19295
19296   ;
19297   return 0;
19298 }
19299 _ACEOF
19300 if ac_fn_cxx_try_link "$LINENO"; then :
19301   ac_has_nanosleep=yes
19302 else
19303   ac_has_nanosleep=no
19304 fi
19305 rm -f core conftest.err conftest.$ac_objext \
19306     conftest$ac_exeext conftest.$ac_ext
19307
19308       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19309 $as_echo "$ac_has_nanosleep" >&6; }
19310     fi
19311   fi
19312
19313   if test x"$ac_has_clock_monotonic" = x"yes"; then
19314
19315 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19316
19317   fi
19318
19319   if test x"$ac_has_clock_realtime" = x"yes"; then
19320
19321 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19322
19323   fi
19324
19325   if test x"$ac_has_nanosleep" = x"yes"; then
19326
19327 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19328
19329   fi
19330
19331
19332
19333   CXXFLAGS="$ac_save_CXXFLAGS"
19334   LIBS="$ac_save_LIBS"
19335   ac_ext=c
19336 ac_cpp='$CPP $CPPFLAGS'
19337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19340
19341
19342
19343 # For gthread support
19344
19345
19346   ac_ext=cpp
19347 ac_cpp='$CXXCPP $CPPFLAGS'
19348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19351
19352
19353   ac_save_CXXFLAGS="$CXXFLAGS"
19354   CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19355
19356   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19357   case $target_thread_file in
19358     posix)
19359       CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19360   esac
19361
19362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19363 $as_echo_n "checking for gthreads library... " >&6; }
19364
19365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h.  */
19367 #include "gthr.h"
19368 int
19369 main ()
19370 {
19371
19372       #ifndef __GTHREADS_CXX0X
19373       #error
19374       #endif
19375
19376       // In case of POSIX threads check _POSIX_TIMEOUTS too.
19377       #if (defined(_PTHREADS) \
19378            && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19379       #error
19380       #endif
19381
19382   ;
19383   return 0;
19384 }
19385 _ACEOF
19386 if ac_fn_cxx_try_compile "$LINENO"; then :
19387   ac_has_gthreads=yes
19388 else
19389   ac_has_gthreads=no
19390 fi
19391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392
19393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19394 $as_echo "$ac_has_gthreads" >&6; }
19395
19396   if test x"$ac_has_gthreads" = x"yes"; then
19397
19398 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19399
19400   fi
19401
19402   CXXFLAGS="$ac_save_CXXFLAGS"
19403   ac_ext=c
19404 ac_cpp='$CPP $CPPFLAGS'
19405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19408
19409
19410
19411
19412   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19413 if test "x$ac_cv_header_locale_h" = x""yes; then :
19414
19415     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19416 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19417 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19418   $as_echo_n "(cached) " >&6
19419 else
19420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h.  */
19422 #include <locale.h>
19423 int
19424 main ()
19425 {
19426 return LC_MESSAGES
19427   ;
19428   return 0;
19429 }
19430 _ACEOF
19431 if ac_fn_c_try_compile "$LINENO"; then :
19432   ac_cv_val_LC_MESSAGES=yes
19433 else
19434   ac_cv_val_LC_MESSAGES=no
19435 fi
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19437 fi
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19439 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19440     if test $ac_cv_val_LC_MESSAGES = yes; then
19441
19442 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19443
19444     fi
19445
19446 fi
19447
19448
19449
19450
19451 # Check for available headers.
19452 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
19453 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19454 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19455 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19456 wchar.h wctype.h
19457 do :
19458   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19459 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19460 eval as_val=\$$as_ac_Header
19461    if test "x$as_val" = x""yes; then :
19462   cat >>confdefs.h <<_ACEOF
19463 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19464 _ACEOF
19465
19466 fi
19467
19468 done
19469
19470
19471 # Only do link tests if native. Else, hardcode.
19472 if $GLIBCXX_IS_NATIVE; then
19473
19474   # We can do more elaborate tests that assume a working linker.
19475   CANADIAN=no
19476
19477
19478
19479 # Check whether --with-gnu-ld was given.
19480 if test "${with_gnu_ld+set}" = set; then :
19481   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19482 else
19483   with_gnu_ld=no
19484 fi
19485
19486 ac_prog=ld
19487 if test "$GCC" = yes; then
19488   # Check if gcc -print-prog-name=ld gives a path.
19489   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19490 $as_echo_n "checking for ld used by $CC... " >&6; }
19491   case $host in
19492   *-*-mingw*)
19493     # gcc leaves a trailing carriage return which upsets mingw
19494     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19495   *)
19496     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19497   esac
19498   case $ac_prog in
19499     # Accept absolute paths.
19500     [\\/]* | ?:[\\/]*)
19501       re_direlt='/[^/][^/]*/\.\./'
19502       # Canonicalize the pathname of ld
19503       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19504       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19505         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19506       done
19507       test -z "$LD" && LD="$ac_prog"
19508       ;;
19509   "")
19510     # If it fails, then pretend we aren't using GCC.
19511     ac_prog=ld
19512     ;;
19513   *)
19514     # If it is relative, then search for the first ld in PATH.
19515     with_gnu_ld=unknown
19516     ;;
19517   esac
19518 elif test "$with_gnu_ld" = yes; then
19519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19520 $as_echo_n "checking for GNU ld... " >&6; }
19521 else
19522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19523 $as_echo_n "checking for non-GNU ld... " >&6; }
19524 fi
19525 if test "${lt_cv_path_LD+set}" = set; then :
19526   $as_echo_n "(cached) " >&6
19527 else
19528   if test -z "$LD"; then
19529   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19530   for ac_dir in $PATH; do
19531     IFS="$lt_save_ifs"
19532     test -z "$ac_dir" && ac_dir=.
19533     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19534       lt_cv_path_LD="$ac_dir/$ac_prog"
19535       # Check to see if the program is GNU ld.  I'd rather use --version,
19536       # but apparently some variants of GNU ld only accept -v.
19537       # Break only if it was the GNU/non-GNU ld that we prefer.
19538       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19539       *GNU* | *'with BFD'*)
19540         test "$with_gnu_ld" != no && break
19541         ;;
19542       *)
19543         test "$with_gnu_ld" != yes && break
19544         ;;
19545       esac
19546     fi
19547   done
19548   IFS="$lt_save_ifs"
19549 else
19550   lt_cv_path_LD="$LD" # Let the user override the test with a path.
19551 fi
19552 fi
19553
19554 LD="$lt_cv_path_LD"
19555 if test -n "$LD"; then
19556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19557 $as_echo "$LD" >&6; }
19558 else
19559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19560 $as_echo "no" >&6; }
19561 fi
19562 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19564 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19565 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19566   $as_echo_n "(cached) " >&6
19567 else
19568   # I'd rather use --version here, but apparently some GNU lds only accept -v.
19569 case `$LD -v 2>&1 </dev/null` in
19570 *GNU* | *'with BFD'*)
19571   lt_cv_prog_gnu_ld=yes
19572   ;;
19573 *)
19574   lt_cv_prog_gnu_ld=no
19575   ;;
19576 esac
19577 fi
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19579 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19580 with_gnu_ld=$lt_cv_prog_gnu_ld
19581
19582
19583
19584
19585
19586
19587
19588   # If we're not using GNU ld, then there's no point in even trying these
19589   # tests.  Check for that first.  We should have already tested for gld
19590   # by now (in libtool), but require it now just to be safe...
19591   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19592   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19593
19594
19595
19596   # The name set by libtool depends on the version of libtool.  Shame on us
19597   # for depending on an impl detail, but c'est la vie.  Older versions used
19598   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19599   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19600   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
19601   # set (hence we're using an older libtool), then set it.
19602   if test x${with_gnu_ld+set} != xset; then
19603     if test x${ac_cv_prog_gnu_ld+set} != xset; then
19604       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
19605       with_gnu_ld=no
19606     else
19607       with_gnu_ld=$ac_cv_prog_gnu_ld
19608     fi
19609   fi
19610
19611   # Start by getting the version number.  I think the libtool test already
19612   # does some of this, but throws away the result.
19613   glibcxx_ld_is_gold=no
19614   if test x"$with_gnu_ld" = x"yes"; then
19615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19616 $as_echo_n "checking for ld version... " >&6; }
19617
19618     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19619       glibcxx_ld_is_gold=yes
19620     fi
19621     ldver=`$LD --version 2>/dev/null |
19622            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'`
19623
19624     glibcxx_gnu_ld_version=`echo $ldver | \
19625            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19626     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19627 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19628   fi
19629
19630   # Set --gc-sections.
19631   glibcxx_have_gc_sections=no
19632   if test "$glibcxx_ld_is_gold" = "yes"; then
19633     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19634       glibcxx_have_gc_sections=yes
19635     fi
19636   else
19637     glibcxx_gcsections_min_ld=21602
19638     if test x"$with_gnu_ld" = x"yes" &&
19639         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19640       glibcxx_have_gc_sections=yes
19641     fi
19642   fi
19643   if test "$glibcxx_have_gc_sections" = "yes"; then
19644     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
19645     # NB: This flag only works reliably after 2.16.1. Configure tests
19646     # for this are difficult, so hard wire a value that should work.
19647
19648     ac_test_CFLAGS="${CFLAGS+set}"
19649     ac_save_CFLAGS="$CFLAGS"
19650     CFLAGS='-Wl,--gc-sections'
19651
19652     # Check for -Wl,--gc-sections
19653     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19654 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19655     if test x$gcc_no_link = xyes; then
19656   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19657 fi
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h.  */
19660  int one(void) { return 1; }
19661      int two(void) { return 2; }
19662
19663 int
19664 main ()
19665 {
19666  two();
19667   ;
19668   return 0;
19669 }
19670 _ACEOF
19671 if ac_fn_c_try_link "$LINENO"; then :
19672   ac_gcsections=yes
19673 else
19674   ac_gcsections=no
19675 fi
19676 rm -f core conftest.err conftest.$ac_objext \
19677     conftest$ac_exeext conftest.$ac_ext
19678     if test "$ac_gcsections" = "yes"; then
19679       rm -f conftest.c
19680       touch conftest.c
19681       if $CC -c conftest.c; then
19682         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19683            grep "Warning: gc-sections option ignored" > /dev/null; then
19684           ac_gcsections=no
19685         fi
19686       fi
19687       rm -f conftest.c conftest.o conftest
19688     fi
19689     if test "$ac_gcsections" = "yes"; then
19690       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19691     fi
19692     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19693 $as_echo "$ac_gcsections" >&6; }
19694
19695     if test "$ac_test_CFLAGS" = set; then
19696       CFLAGS="$ac_save_CFLAGS"
19697     else
19698       # this is the suspicious part
19699       CFLAGS=''
19700     fi
19701   fi
19702
19703   # Set -z,relro.
19704   # Note this is only for shared objects.
19705   ac_ld_relro=no
19706   if test x"$with_gnu_ld" = x"yes"; then
19707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19708 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19709     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19710     if test -n "$cxx_z_relo"; then
19711       OPT_LDFLAGS="-Wl,-z,relro"
19712       ac_ld_relro=yes
19713     fi
19714     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19715 $as_echo "$ac_ld_relro" >&6; }
19716   fi
19717
19718   # Set linker optimization flags.
19719   if test x"$with_gnu_ld" = x"yes"; then
19720     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19721   fi
19722
19723
19724
19725
19726
19727   ac_test_CXXFLAGS="${CXXFLAGS+set}"
19728   ac_save_CXXFLAGS="$CXXFLAGS"
19729   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19730
19731     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19732 $as_echo_n "checking for sin in -lm... " >&6; }
19733 if test "${ac_cv_lib_m_sin+set}" = set; then :
19734   $as_echo_n "(cached) " >&6
19735 else
19736   ac_check_lib_save_LIBS=$LIBS
19737 LIBS="-lm  $LIBS"
19738 if test x$gcc_no_link = xyes; then
19739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19740 fi
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h.  */
19743
19744 /* Override any GCC internal prototype to avoid an error.
19745    Use char because int might match the return type of a GCC
19746    builtin and then its argument prototype would still apply.  */
19747 #ifdef __cplusplus
19748 extern "C"
19749 #endif
19750 char sin ();
19751 int
19752 main ()
19753 {
19754 return sin ();
19755   ;
19756   return 0;
19757 }
19758 _ACEOF
19759 if ac_fn_c_try_link "$LINENO"; then :
19760   ac_cv_lib_m_sin=yes
19761 else
19762   ac_cv_lib_m_sin=no
19763 fi
19764 rm -f core conftest.err conftest.$ac_objext \
19765     conftest$ac_exeext conftest.$ac_ext
19766 LIBS=$ac_check_lib_save_LIBS
19767 fi
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19769 $as_echo "$ac_cv_lib_m_sin" >&6; }
19770 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19771   libm="-lm"
19772 fi
19773
19774   ac_save_LIBS="$LIBS"
19775   LIBS="$LIBS $libm"
19776
19777
19778
19779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19780 $as_echo_n "checking for isinf declaration... " >&6; }
19781   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19782     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19783   $as_echo_n "(cached) " >&6
19784 else
19785
19786
19787       ac_ext=cpp
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19792
19793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h.  */
19795 #include <math.h>
19796                       #ifdef HAVE_IEEEFP_H
19797                       #include <ieeefp.h>
19798                       #endif
19799
19800 int
19801 main ()
19802 {
19803  isinf(0);
19804   ;
19805   return 0;
19806 }
19807 _ACEOF
19808 if ac_fn_cxx_try_compile "$LINENO"; then :
19809   glibcxx_cv_func_isinf_use=yes
19810 else
19811   glibcxx_cv_func_isinf_use=no
19812 fi
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814       ac_ext=c
19815 ac_cpp='$CPP $CPPFLAGS'
19816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19819
19820
19821 fi
19822
19823   fi
19824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19825 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19826
19827   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19828     for ac_func in isinf
19829 do :
19830   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19831 if test "x$ac_cv_func_isinf" = x""yes; then :
19832   cat >>confdefs.h <<_ACEOF
19833 #define HAVE_ISINF 1
19834 _ACEOF
19835
19836 fi
19837 done
19838
19839   else
19840
19841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19842 $as_echo_n "checking for _isinf declaration... " >&6; }
19843   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19844     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19845   $as_echo_n "(cached) " >&6
19846 else
19847
19848
19849       ac_ext=cpp
19850 ac_cpp='$CXXCPP $CPPFLAGS'
19851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19854
19855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h.  */
19857 #include <math.h>
19858                       #ifdef HAVE_IEEEFP_H
19859                       #include <ieeefp.h>
19860                       #endif
19861
19862 int
19863 main ()
19864 {
19865  _isinf(0);
19866   ;
19867   return 0;
19868 }
19869 _ACEOF
19870 if ac_fn_cxx_try_compile "$LINENO"; then :
19871   glibcxx_cv_func__isinf_use=yes
19872 else
19873   glibcxx_cv_func__isinf_use=no
19874 fi
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876       ac_ext=c
19877 ac_cpp='$CPP $CPPFLAGS'
19878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19881
19882
19883 fi
19884
19885   fi
19886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19887 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19888
19889     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19890       for ac_func in _isinf
19891 do :
19892   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19893 if test "x$ac_cv_func__isinf" = x""yes; then :
19894   cat >>confdefs.h <<_ACEOF
19895 #define HAVE__ISINF 1
19896 _ACEOF
19897
19898 fi
19899 done
19900
19901     fi
19902   fi
19903
19904
19905
19906
19907
19908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19909 $as_echo_n "checking for isnan declaration... " >&6; }
19910   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19911     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19912   $as_echo_n "(cached) " >&6
19913 else
19914
19915
19916       ac_ext=cpp
19917 ac_cpp='$CXXCPP $CPPFLAGS'
19918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19921
19922       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h.  */
19924 #include <math.h>
19925                       #ifdef HAVE_IEEEFP_H
19926                       #include <ieeefp.h>
19927                       #endif
19928
19929 int
19930 main ()
19931 {
19932  isnan(0);
19933   ;
19934   return 0;
19935 }
19936 _ACEOF
19937 if ac_fn_cxx_try_compile "$LINENO"; then :
19938   glibcxx_cv_func_isnan_use=yes
19939 else
19940   glibcxx_cv_func_isnan_use=no
19941 fi
19942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943       ac_ext=c
19944 ac_cpp='$CPP $CPPFLAGS'
19945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19948
19949
19950 fi
19951
19952   fi
19953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19954 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19955
19956   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19957     for ac_func in isnan
19958 do :
19959   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19960 if test "x$ac_cv_func_isnan" = x""yes; then :
19961   cat >>confdefs.h <<_ACEOF
19962 #define HAVE_ISNAN 1
19963 _ACEOF
19964
19965 fi
19966 done
19967
19968   else
19969
19970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19971 $as_echo_n "checking for _isnan declaration... " >&6; }
19972   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19973     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19974   $as_echo_n "(cached) " >&6
19975 else
19976
19977
19978       ac_ext=cpp
19979 ac_cpp='$CXXCPP $CPPFLAGS'
19980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19983
19984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19985 /* end confdefs.h.  */
19986 #include <math.h>
19987                       #ifdef HAVE_IEEEFP_H
19988                       #include <ieeefp.h>
19989                       #endif
19990
19991 int
19992 main ()
19993 {
19994  _isnan(0);
19995   ;
19996   return 0;
19997 }
19998 _ACEOF
19999 if ac_fn_cxx_try_compile "$LINENO"; then :
20000   glibcxx_cv_func__isnan_use=yes
20001 else
20002   glibcxx_cv_func__isnan_use=no
20003 fi
20004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005       ac_ext=c
20006 ac_cpp='$CPP $CPPFLAGS'
20007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20010
20011
20012 fi
20013
20014   fi
20015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20016 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20017
20018     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20019       for ac_func in _isnan
20020 do :
20021   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20022 if test "x$ac_cv_func__isnan" = x""yes; then :
20023   cat >>confdefs.h <<_ACEOF
20024 #define HAVE__ISNAN 1
20025 _ACEOF
20026
20027 fi
20028 done
20029
20030     fi
20031   fi
20032
20033
20034
20035
20036
20037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20038 $as_echo_n "checking for finite declaration... " >&6; }
20039   if test x${glibcxx_cv_func_finite_use+set} != xset; then
20040     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20041   $as_echo_n "(cached) " >&6
20042 else
20043
20044
20045       ac_ext=cpp
20046 ac_cpp='$CXXCPP $CPPFLAGS'
20047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20050
20051       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052 /* end confdefs.h.  */
20053 #include <math.h>
20054                       #ifdef HAVE_IEEEFP_H
20055                       #include <ieeefp.h>
20056                       #endif
20057
20058 int
20059 main ()
20060 {
20061  finite(0);
20062   ;
20063   return 0;
20064 }
20065 _ACEOF
20066 if ac_fn_cxx_try_compile "$LINENO"; then :
20067   glibcxx_cv_func_finite_use=yes
20068 else
20069   glibcxx_cv_func_finite_use=no
20070 fi
20071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20072       ac_ext=c
20073 ac_cpp='$CPP $CPPFLAGS'
20074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20077
20078
20079 fi
20080
20081   fi
20082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20083 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20084
20085   if test x$glibcxx_cv_func_finite_use = x"yes"; then
20086     for ac_func in finite
20087 do :
20088   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20089 if test "x$ac_cv_func_finite" = x""yes; then :
20090   cat >>confdefs.h <<_ACEOF
20091 #define HAVE_FINITE 1
20092 _ACEOF
20093
20094 fi
20095 done
20096
20097   else
20098
20099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20100 $as_echo_n "checking for _finite declaration... " >&6; }
20101   if test x${glibcxx_cv_func__finite_use+set} != xset; then
20102     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20103   $as_echo_n "(cached) " >&6
20104 else
20105
20106
20107       ac_ext=cpp
20108 ac_cpp='$CXXCPP $CPPFLAGS'
20109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20112
20113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h.  */
20115 #include <math.h>
20116                       #ifdef HAVE_IEEEFP_H
20117                       #include <ieeefp.h>
20118                       #endif
20119
20120 int
20121 main ()
20122 {
20123  _finite(0);
20124   ;
20125   return 0;
20126 }
20127 _ACEOF
20128 if ac_fn_cxx_try_compile "$LINENO"; then :
20129   glibcxx_cv_func__finite_use=yes
20130 else
20131   glibcxx_cv_func__finite_use=no
20132 fi
20133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 fi
20142
20143   fi
20144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20145 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20146
20147     if test x$glibcxx_cv_func__finite_use = x"yes"; then
20148       for ac_func in _finite
20149 do :
20150   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20151 if test "x$ac_cv_func__finite" = x""yes; then :
20152   cat >>confdefs.h <<_ACEOF
20153 #define HAVE__FINITE 1
20154 _ACEOF
20155
20156 fi
20157 done
20158
20159     fi
20160   fi
20161
20162
20163
20164
20165
20166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20167 $as_echo_n "checking for sincos declaration... " >&6; }
20168   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20169     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20170   $as_echo_n "(cached) " >&6
20171 else
20172
20173
20174       ac_ext=cpp
20175 ac_cpp='$CXXCPP $CPPFLAGS'
20176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20179
20180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h.  */
20182 #include <math.h>
20183 int
20184 main ()
20185 {
20186  sincos(0, 0, 0);
20187   ;
20188   return 0;
20189 }
20190 _ACEOF
20191 if ac_fn_cxx_try_compile "$LINENO"; then :
20192   glibcxx_cv_func_sincos_use=yes
20193 else
20194   glibcxx_cv_func_sincos_use=no
20195 fi
20196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20197       ac_ext=c
20198 ac_cpp='$CPP $CPPFLAGS'
20199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20202
20203
20204 fi
20205
20206   fi
20207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20208 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20209
20210   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20211     for ac_func in sincos
20212 do :
20213   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20214 if test "x$ac_cv_func_sincos" = x""yes; then :
20215   cat >>confdefs.h <<_ACEOF
20216 #define HAVE_SINCOS 1
20217 _ACEOF
20218
20219 fi
20220 done
20221
20222   else
20223
20224   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20225 $as_echo_n "checking for _sincos declaration... " >&6; }
20226   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20227     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20228   $as_echo_n "(cached) " >&6
20229 else
20230
20231
20232       ac_ext=cpp
20233 ac_cpp='$CXXCPP $CPPFLAGS'
20234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20237
20238       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20239 /* end confdefs.h.  */
20240 #include <math.h>
20241 int
20242 main ()
20243 {
20244  _sincos(0, 0, 0);
20245   ;
20246   return 0;
20247 }
20248 _ACEOF
20249 if ac_fn_cxx_try_compile "$LINENO"; then :
20250   glibcxx_cv_func__sincos_use=yes
20251 else
20252   glibcxx_cv_func__sincos_use=no
20253 fi
20254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20255       ac_ext=c
20256 ac_cpp='$CPP $CPPFLAGS'
20257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260
20261
20262 fi
20263
20264   fi
20265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20266 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20267
20268     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20269       for ac_func in _sincos
20270 do :
20271   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20272 if test "x$ac_cv_func__sincos" = x""yes; then :
20273   cat >>confdefs.h <<_ACEOF
20274 #define HAVE__SINCOS 1
20275 _ACEOF
20276
20277 fi
20278 done
20279
20280     fi
20281   fi
20282
20283
20284
20285
20286
20287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20288 $as_echo_n "checking for fpclass declaration... " >&6; }
20289   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20290     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20291   $as_echo_n "(cached) " >&6
20292 else
20293
20294
20295       ac_ext=cpp
20296 ac_cpp='$CXXCPP $CPPFLAGS'
20297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20300
20301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h.  */
20303 #include <math.h>
20304                       #ifdef HAVE_IEEEFP_H
20305                       #include <ieeefp.h>
20306                       #endif
20307
20308 int
20309 main ()
20310 {
20311  fpclass(0);
20312   ;
20313   return 0;
20314 }
20315 _ACEOF
20316 if ac_fn_cxx_try_compile "$LINENO"; then :
20317   glibcxx_cv_func_fpclass_use=yes
20318 else
20319   glibcxx_cv_func_fpclass_use=no
20320 fi
20321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20322       ac_ext=c
20323 ac_cpp='$CPP $CPPFLAGS'
20324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20327
20328
20329 fi
20330
20331   fi
20332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20333 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20334
20335   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20336     for ac_func in fpclass
20337 do :
20338   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20339 if test "x$ac_cv_func_fpclass" = x""yes; then :
20340   cat >>confdefs.h <<_ACEOF
20341 #define HAVE_FPCLASS 1
20342 _ACEOF
20343
20344 fi
20345 done
20346
20347   else
20348
20349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20350 $as_echo_n "checking for _fpclass declaration... " >&6; }
20351   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20352     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20353   $as_echo_n "(cached) " >&6
20354 else
20355
20356
20357       ac_ext=cpp
20358 ac_cpp='$CXXCPP $CPPFLAGS'
20359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20362
20363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h.  */
20365 #include <math.h>
20366                       #ifdef HAVE_IEEEFP_H
20367                       #include <ieeefp.h>
20368                       #endif
20369
20370 int
20371 main ()
20372 {
20373  _fpclass(0);
20374   ;
20375   return 0;
20376 }
20377 _ACEOF
20378 if ac_fn_cxx_try_compile "$LINENO"; then :
20379   glibcxx_cv_func__fpclass_use=yes
20380 else
20381   glibcxx_cv_func__fpclass_use=no
20382 fi
20383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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 fi
20392
20393   fi
20394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20395 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20396
20397     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20398       for ac_func in _fpclass
20399 do :
20400   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20401 if test "x$ac_cv_func__fpclass" = x""yes; then :
20402   cat >>confdefs.h <<_ACEOF
20403 #define HAVE__FPCLASS 1
20404 _ACEOF
20405
20406 fi
20407 done
20408
20409     fi
20410   fi
20411
20412
20413
20414
20415
20416   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20417 $as_echo_n "checking for qfpclass declaration... " >&6; }
20418   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20419     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20420   $as_echo_n "(cached) " >&6
20421 else
20422
20423
20424       ac_ext=cpp
20425 ac_cpp='$CXXCPP $CPPFLAGS'
20426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20429
20430       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h.  */
20432 #include <math.h>
20433                       #ifdef HAVE_IEEEFP_H
20434                       #include <ieeefp.h>
20435                       #endif
20436
20437 int
20438 main ()
20439 {
20440  qfpclass(0);
20441   ;
20442   return 0;
20443 }
20444 _ACEOF
20445 if ac_fn_cxx_try_compile "$LINENO"; then :
20446   glibcxx_cv_func_qfpclass_use=yes
20447 else
20448   glibcxx_cv_func_qfpclass_use=no
20449 fi
20450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20451       ac_ext=c
20452 ac_cpp='$CPP $CPPFLAGS'
20453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20456
20457
20458 fi
20459
20460   fi
20461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20462 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20463
20464   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20465     for ac_func in qfpclass
20466 do :
20467   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20468 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20469   cat >>confdefs.h <<_ACEOF
20470 #define HAVE_QFPCLASS 1
20471 _ACEOF
20472
20473 fi
20474 done
20475
20476   else
20477
20478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20479 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20480   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20481     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20482   $as_echo_n "(cached) " >&6
20483 else
20484
20485
20486       ac_ext=cpp
20487 ac_cpp='$CXXCPP $CPPFLAGS'
20488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20491
20492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h.  */
20494 #include <math.h>
20495                       #ifdef HAVE_IEEEFP_H
20496                       #include <ieeefp.h>
20497                       #endif
20498
20499 int
20500 main ()
20501 {
20502  _qfpclass(0);
20503   ;
20504   return 0;
20505 }
20506 _ACEOF
20507 if ac_fn_cxx_try_compile "$LINENO"; then :
20508   glibcxx_cv_func__qfpclass_use=yes
20509 else
20510   glibcxx_cv_func__qfpclass_use=no
20511 fi
20512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20513       ac_ext=c
20514 ac_cpp='$CPP $CPPFLAGS'
20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20518
20519
20520 fi
20521
20522   fi
20523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20524 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20525
20526     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20527       for ac_func in _qfpclass
20528 do :
20529   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20530 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20531   cat >>confdefs.h <<_ACEOF
20532 #define HAVE__QFPCLASS 1
20533 _ACEOF
20534
20535 fi
20536 done
20537
20538     fi
20539   fi
20540
20541
20542
20543
20544
20545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20546 $as_echo_n "checking for hypot declaration... " >&6; }
20547   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20548     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20549   $as_echo_n "(cached) " >&6
20550 else
20551
20552
20553       ac_ext=cpp
20554 ac_cpp='$CXXCPP $CPPFLAGS'
20555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20558
20559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20560 /* end confdefs.h.  */
20561 #include <math.h>
20562 int
20563 main ()
20564 {
20565  hypot(0, 0);
20566   ;
20567   return 0;
20568 }
20569 _ACEOF
20570 if ac_fn_cxx_try_compile "$LINENO"; then :
20571   glibcxx_cv_func_hypot_use=yes
20572 else
20573   glibcxx_cv_func_hypot_use=no
20574 fi
20575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20576       ac_ext=c
20577 ac_cpp='$CPP $CPPFLAGS'
20578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20581
20582
20583 fi
20584
20585   fi
20586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20587 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20588
20589   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20590     for ac_func in hypot
20591 do :
20592   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20593 if test "x$ac_cv_func_hypot" = x""yes; then :
20594   cat >>confdefs.h <<_ACEOF
20595 #define HAVE_HYPOT 1
20596 _ACEOF
20597
20598 fi
20599 done
20600
20601   else
20602
20603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20604 $as_echo_n "checking for _hypot declaration... " >&6; }
20605   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20606     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20607   $as_echo_n "(cached) " >&6
20608 else
20609
20610
20611       ac_ext=cpp
20612 ac_cpp='$CXXCPP $CPPFLAGS'
20613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20616
20617       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h.  */
20619 #include <math.h>
20620 int
20621 main ()
20622 {
20623  _hypot(0, 0);
20624   ;
20625   return 0;
20626 }
20627 _ACEOF
20628 if ac_fn_cxx_try_compile "$LINENO"; then :
20629   glibcxx_cv_func__hypot_use=yes
20630 else
20631   glibcxx_cv_func__hypot_use=no
20632 fi
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634       ac_ext=c
20635 ac_cpp='$CPP $CPPFLAGS'
20636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20639
20640
20641 fi
20642
20643   fi
20644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20645 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20646
20647     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20648       for ac_func in _hypot
20649 do :
20650   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20651 if test "x$ac_cv_func__hypot" = x""yes; then :
20652   cat >>confdefs.h <<_ACEOF
20653 #define HAVE__HYPOT 1
20654 _ACEOF
20655
20656 fi
20657 done
20658
20659     fi
20660   fi
20661
20662
20663
20664
20665
20666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20667 $as_echo_n "checking for float trig functions... " >&6; }
20668   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20669   $as_echo_n "(cached) " >&6
20670 else
20671
20672
20673     ac_ext=cpp
20674 ac_cpp='$CXXCPP $CPPFLAGS'
20675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20678
20679     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h.  */
20681 #include <math.h>
20682 int
20683 main ()
20684 {
20685 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20686   ;
20687   return 0;
20688 }
20689 _ACEOF
20690 if ac_fn_cxx_try_compile "$LINENO"; then :
20691   glibcxx_cv_func_float_trig_use=yes
20692 else
20693   glibcxx_cv_func_float_trig_use=no
20694 fi
20695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696     ac_ext=c
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20701
20702 fi
20703
20704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20705 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20706   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20707     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20708 do :
20709   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20711 eval as_val=\$$as_ac_var
20712    if test "x$as_val" = x""yes; then :
20713   cat >>confdefs.h <<_ACEOF
20714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20715 _ACEOF
20716
20717 fi
20718 done
20719
20720   else
20721     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20722 $as_echo_n "checking for _float trig functions... " >&6; }
20723     if test "${glibcxx_cv_func__float_trig_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 int
20738 main ()
20739 {
20740 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20741   ;
20742   return 0;
20743 }
20744 _ACEOF
20745 if ac_fn_cxx_try_compile "$LINENO"; then :
20746   glibcxx_cv_func__float_trig_use=yes
20747 else
20748   glibcxx_cv_func__float_trig_use=no
20749 fi
20750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751       ac_ext=c
20752 ac_cpp='$CPP $CPPFLAGS'
20753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20756
20757 fi
20758
20759     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20760 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20761     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20762       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20763 do :
20764   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20766 eval as_val=\$$as_ac_var
20767    if test "x$as_val" = x""yes; then :
20768   cat >>confdefs.h <<_ACEOF
20769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20770 _ACEOF
20771
20772 fi
20773 done
20774
20775     fi
20776   fi
20777
20778
20779
20780
20781
20782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20783 $as_echo_n "checking for float round functions... " >&6; }
20784   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20785   $as_echo_n "(cached) " >&6
20786 else
20787
20788
20789     ac_ext=cpp
20790 ac_cpp='$CXXCPP $CPPFLAGS'
20791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20794
20795     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h.  */
20797 #include <math.h>
20798 int
20799 main ()
20800 {
20801 ceilf (0); floorf (0);
20802   ;
20803   return 0;
20804 }
20805 _ACEOF
20806 if ac_fn_cxx_try_compile "$LINENO"; then :
20807   glibcxx_cv_func_float_round_use=yes
20808 else
20809   glibcxx_cv_func_float_round_use=no
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20812     ac_ext=c
20813 ac_cpp='$CPP $CPPFLAGS'
20814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20817
20818 fi
20819
20820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20821 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20822   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20823     for ac_func in ceilf floorf
20824 do :
20825   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20827 eval as_val=\$$as_ac_var
20828    if test "x$as_val" = x""yes; then :
20829   cat >>confdefs.h <<_ACEOF
20830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20831 _ACEOF
20832
20833 fi
20834 done
20835
20836   else
20837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20838 $as_echo_n "checking for _float round functions... " >&6; }
20839     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20840   $as_echo_n "(cached) " >&6
20841 else
20842
20843
20844       ac_ext=cpp
20845 ac_cpp='$CXXCPP $CPPFLAGS'
20846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20849
20850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h.  */
20852 #include <math.h>
20853 int
20854 main ()
20855 {
20856 _ceilf (0); _floorf (0);
20857   ;
20858   return 0;
20859 }
20860 _ACEOF
20861 if ac_fn_cxx_try_compile "$LINENO"; then :
20862   glibcxx_cv_func__float_round_use=yes
20863 else
20864   glibcxx_cv_func__float_round_use=no
20865 fi
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867       ac_ext=c
20868 ac_cpp='$CPP $CPPFLAGS'
20869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20872
20873 fi
20874
20875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20876 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20877     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20878       for ac_func in _ceilf _floorf
20879 do :
20880   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20882 eval as_val=\$$as_ac_var
20883    if test "x$as_val" = x""yes; then :
20884   cat >>confdefs.h <<_ACEOF
20885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20886 _ACEOF
20887
20888 fi
20889 done
20890
20891     fi
20892   fi
20893
20894
20895
20896
20897
20898
20899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20900 $as_echo_n "checking for expf declaration... " >&6; }
20901   if test x${glibcxx_cv_func_expf_use+set} != xset; then
20902     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20903   $as_echo_n "(cached) " >&6
20904 else
20905
20906
20907       ac_ext=cpp
20908 ac_cpp='$CXXCPP $CPPFLAGS'
20909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20912
20913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h.  */
20915 #include <math.h>
20916                       #ifdef HAVE_IEEEFP_H
20917                       #include <ieeefp.h>
20918                       #endif
20919
20920 int
20921 main ()
20922 {
20923  expf(0);
20924   ;
20925   return 0;
20926 }
20927 _ACEOF
20928 if ac_fn_cxx_try_compile "$LINENO"; then :
20929   glibcxx_cv_func_expf_use=yes
20930 else
20931   glibcxx_cv_func_expf_use=no
20932 fi
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934       ac_ext=c
20935 ac_cpp='$CPP $CPPFLAGS'
20936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20939
20940
20941 fi
20942
20943   fi
20944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20945 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20946
20947   if test x$glibcxx_cv_func_expf_use = x"yes"; then
20948     for ac_func in expf
20949 do :
20950   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20951 if test "x$ac_cv_func_expf" = x""yes; then :
20952   cat >>confdefs.h <<_ACEOF
20953 #define HAVE_EXPF 1
20954 _ACEOF
20955
20956 fi
20957 done
20958
20959   else
20960
20961   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20962 $as_echo_n "checking for _expf declaration... " >&6; }
20963   if test x${glibcxx_cv_func__expf_use+set} != xset; then
20964     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20965   $as_echo_n "(cached) " >&6
20966 else
20967
20968
20969       ac_ext=cpp
20970 ac_cpp='$CXXCPP $CPPFLAGS'
20971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20974
20975       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20976 /* end confdefs.h.  */
20977 #include <math.h>
20978                       #ifdef HAVE_IEEEFP_H
20979                       #include <ieeefp.h>
20980                       #endif
20981
20982 int
20983 main ()
20984 {
20985  _expf(0);
20986   ;
20987   return 0;
20988 }
20989 _ACEOF
20990 if ac_fn_cxx_try_compile "$LINENO"; then :
20991   glibcxx_cv_func__expf_use=yes
20992 else
20993   glibcxx_cv_func__expf_use=no
20994 fi
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996       ac_ext=c
20997 ac_cpp='$CPP $CPPFLAGS'
20998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21001
21002
21003 fi
21004
21005   fi
21006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21007 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21008
21009     if test x$glibcxx_cv_func__expf_use = x"yes"; then
21010       for ac_func in _expf
21011 do :
21012   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21013 if test "x$ac_cv_func__expf" = x""yes; then :
21014   cat >>confdefs.h <<_ACEOF
21015 #define HAVE__EXPF 1
21016 _ACEOF
21017
21018 fi
21019 done
21020
21021     fi
21022   fi
21023
21024
21025
21026
21027
21028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21029 $as_echo_n "checking for isnanf declaration... " >&6; }
21030   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21031     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21032   $as_echo_n "(cached) " >&6
21033 else
21034
21035
21036       ac_ext=cpp
21037 ac_cpp='$CXXCPP $CPPFLAGS'
21038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21041
21042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h.  */
21044 #include <math.h>
21045                       #ifdef HAVE_IEEEFP_H
21046                       #include <ieeefp.h>
21047                       #endif
21048
21049 int
21050 main ()
21051 {
21052  isnanf(0);
21053   ;
21054   return 0;
21055 }
21056 _ACEOF
21057 if ac_fn_cxx_try_compile "$LINENO"; then :
21058   glibcxx_cv_func_isnanf_use=yes
21059 else
21060   glibcxx_cv_func_isnanf_use=no
21061 fi
21062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21063       ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21068
21069
21070 fi
21071
21072   fi
21073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21074 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21075
21076   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21077     for ac_func in isnanf
21078 do :
21079   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21080 if test "x$ac_cv_func_isnanf" = x""yes; then :
21081   cat >>confdefs.h <<_ACEOF
21082 #define HAVE_ISNANF 1
21083 _ACEOF
21084
21085 fi
21086 done
21087
21088   else
21089
21090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21091 $as_echo_n "checking for _isnanf declaration... " >&6; }
21092   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21093     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21094   $as_echo_n "(cached) " >&6
21095 else
21096
21097
21098       ac_ext=cpp
21099 ac_cpp='$CXXCPP $CPPFLAGS'
21100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103
21104       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h.  */
21106 #include <math.h>
21107                       #ifdef HAVE_IEEEFP_H
21108                       #include <ieeefp.h>
21109                       #endif
21110
21111 int
21112 main ()
21113 {
21114  _isnanf(0);
21115   ;
21116   return 0;
21117 }
21118 _ACEOF
21119 if ac_fn_cxx_try_compile "$LINENO"; then :
21120   glibcxx_cv_func__isnanf_use=yes
21121 else
21122   glibcxx_cv_func__isnanf_use=no
21123 fi
21124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21125       ac_ext=c
21126 ac_cpp='$CPP $CPPFLAGS'
21127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130
21131
21132 fi
21133
21134   fi
21135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21136 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21137
21138     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21139       for ac_func in _isnanf
21140 do :
21141   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21142 if test "x$ac_cv_func__isnanf" = x""yes; then :
21143   cat >>confdefs.h <<_ACEOF
21144 #define HAVE__ISNANF 1
21145 _ACEOF
21146
21147 fi
21148 done
21149
21150     fi
21151   fi
21152
21153
21154
21155
21156
21157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21158 $as_echo_n "checking for isinff declaration... " >&6; }
21159   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21160     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21161   $as_echo_n "(cached) " >&6
21162 else
21163
21164
21165       ac_ext=cpp
21166 ac_cpp='$CXXCPP $CPPFLAGS'
21167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21170
21171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21172 /* end confdefs.h.  */
21173 #include <math.h>
21174                       #ifdef HAVE_IEEEFP_H
21175                       #include <ieeefp.h>
21176                       #endif
21177
21178 int
21179 main ()
21180 {
21181  isinff(0);
21182   ;
21183   return 0;
21184 }
21185 _ACEOF
21186 if ac_fn_cxx_try_compile "$LINENO"; then :
21187   glibcxx_cv_func_isinff_use=yes
21188 else
21189   glibcxx_cv_func_isinff_use=no
21190 fi
21191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21192       ac_ext=c
21193 ac_cpp='$CPP $CPPFLAGS'
21194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21197
21198
21199 fi
21200
21201   fi
21202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21203 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21204
21205   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21206     for ac_func in isinff
21207 do :
21208   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21209 if test "x$ac_cv_func_isinff" = x""yes; then :
21210   cat >>confdefs.h <<_ACEOF
21211 #define HAVE_ISINFF 1
21212 _ACEOF
21213
21214 fi
21215 done
21216
21217   else
21218
21219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21220 $as_echo_n "checking for _isinff declaration... " >&6; }
21221   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21222     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21223   $as_echo_n "(cached) " >&6
21224 else
21225
21226
21227       ac_ext=cpp
21228 ac_cpp='$CXXCPP $CPPFLAGS'
21229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21232
21233       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h.  */
21235 #include <math.h>
21236                       #ifdef HAVE_IEEEFP_H
21237                       #include <ieeefp.h>
21238                       #endif
21239
21240 int
21241 main ()
21242 {
21243  _isinff(0);
21244   ;
21245   return 0;
21246 }
21247 _ACEOF
21248 if ac_fn_cxx_try_compile "$LINENO"; then :
21249   glibcxx_cv_func__isinff_use=yes
21250 else
21251   glibcxx_cv_func__isinff_use=no
21252 fi
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254       ac_ext=c
21255 ac_cpp='$CPP $CPPFLAGS'
21256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21259
21260
21261 fi
21262
21263   fi
21264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21265 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21266
21267     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21268       for ac_func in _isinff
21269 do :
21270   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21271 if test "x$ac_cv_func__isinff" = x""yes; then :
21272   cat >>confdefs.h <<_ACEOF
21273 #define HAVE__ISINFF 1
21274 _ACEOF
21275
21276 fi
21277 done
21278
21279     fi
21280   fi
21281
21282
21283
21284
21285
21286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21287 $as_echo_n "checking for atan2f declaration... " >&6; }
21288   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21289     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21290   $as_echo_n "(cached) " >&6
21291 else
21292
21293
21294       ac_ext=cpp
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21299
21300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h.  */
21302 #include <math.h>
21303 int
21304 main ()
21305 {
21306  atan2f(0, 0);
21307   ;
21308   return 0;
21309 }
21310 _ACEOF
21311 if ac_fn_cxx_try_compile "$LINENO"; then :
21312   glibcxx_cv_func_atan2f_use=yes
21313 else
21314   glibcxx_cv_func_atan2f_use=no
21315 fi
21316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21317       ac_ext=c
21318 ac_cpp='$CPP $CPPFLAGS'
21319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21322
21323
21324 fi
21325
21326   fi
21327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21328 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21329
21330   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21331     for ac_func in atan2f
21332 do :
21333   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21334 if test "x$ac_cv_func_atan2f" = x""yes; then :
21335   cat >>confdefs.h <<_ACEOF
21336 #define HAVE_ATAN2F 1
21337 _ACEOF
21338
21339 fi
21340 done
21341
21342   else
21343
21344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21345 $as_echo_n "checking for _atan2f declaration... " >&6; }
21346   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21347     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21348   $as_echo_n "(cached) " >&6
21349 else
21350
21351
21352       ac_ext=cpp
21353 ac_cpp='$CXXCPP $CPPFLAGS'
21354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357
21358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h.  */
21360 #include <math.h>
21361 int
21362 main ()
21363 {
21364  _atan2f(0, 0);
21365   ;
21366   return 0;
21367 }
21368 _ACEOF
21369 if ac_fn_cxx_try_compile "$LINENO"; then :
21370   glibcxx_cv_func__atan2f_use=yes
21371 else
21372   glibcxx_cv_func__atan2f_use=no
21373 fi
21374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21375       ac_ext=c
21376 ac_cpp='$CPP $CPPFLAGS'
21377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21380
21381
21382 fi
21383
21384   fi
21385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21386 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21387
21388     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21389       for ac_func in _atan2f
21390 do :
21391   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21392 if test "x$ac_cv_func__atan2f" = x""yes; then :
21393   cat >>confdefs.h <<_ACEOF
21394 #define HAVE__ATAN2F 1
21395 _ACEOF
21396
21397 fi
21398 done
21399
21400     fi
21401   fi
21402
21403
21404
21405
21406
21407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21408 $as_echo_n "checking for fabsf declaration... " >&6; }
21409   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21410     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21411   $as_echo_n "(cached) " >&6
21412 else
21413
21414
21415       ac_ext=cpp
21416 ac_cpp='$CXXCPP $CPPFLAGS'
21417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21420
21421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21422 /* end confdefs.h.  */
21423 #include <math.h>
21424                       #ifdef HAVE_IEEEFP_H
21425                       #include <ieeefp.h>
21426                       #endif
21427
21428 int
21429 main ()
21430 {
21431  fabsf(0);
21432   ;
21433   return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437   glibcxx_cv_func_fabsf_use=yes
21438 else
21439   glibcxx_cv_func_fabsf_use=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442       ac_ext=c
21443 ac_cpp='$CPP $CPPFLAGS'
21444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21447
21448
21449 fi
21450
21451   fi
21452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21453 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21454
21455   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21456     for ac_func in fabsf
21457 do :
21458   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21459 if test "x$ac_cv_func_fabsf" = x""yes; then :
21460   cat >>confdefs.h <<_ACEOF
21461 #define HAVE_FABSF 1
21462 _ACEOF
21463
21464 fi
21465 done
21466
21467   else
21468
21469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21470 $as_echo_n "checking for _fabsf declaration... " >&6; }
21471   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21472     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21473   $as_echo_n "(cached) " >&6
21474 else
21475
21476
21477       ac_ext=cpp
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21482
21483       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21484 /* end confdefs.h.  */
21485 #include <math.h>
21486                       #ifdef HAVE_IEEEFP_H
21487                       #include <ieeefp.h>
21488                       #endif
21489
21490 int
21491 main ()
21492 {
21493  _fabsf(0);
21494   ;
21495   return 0;
21496 }
21497 _ACEOF
21498 if ac_fn_cxx_try_compile "$LINENO"; then :
21499   glibcxx_cv_func__fabsf_use=yes
21500 else
21501   glibcxx_cv_func__fabsf_use=no
21502 fi
21503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504       ac_ext=c
21505 ac_cpp='$CPP $CPPFLAGS'
21506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21509
21510
21511 fi
21512
21513   fi
21514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21515 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21516
21517     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21518       for ac_func in _fabsf
21519 do :
21520   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21521 if test "x$ac_cv_func__fabsf" = x""yes; then :
21522   cat >>confdefs.h <<_ACEOF
21523 #define HAVE__FABSF 1
21524 _ACEOF
21525
21526 fi
21527 done
21528
21529     fi
21530   fi
21531
21532
21533
21534
21535
21536   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21537 $as_echo_n "checking for fmodf declaration... " >&6; }
21538   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21539     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21540   $as_echo_n "(cached) " >&6
21541 else
21542
21543
21544       ac_ext=cpp
21545 ac_cpp='$CXXCPP $CPPFLAGS'
21546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21549
21550       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21551 /* end confdefs.h.  */
21552 #include <math.h>
21553 int
21554 main ()
21555 {
21556  fmodf(0, 0);
21557   ;
21558   return 0;
21559 }
21560 _ACEOF
21561 if ac_fn_cxx_try_compile "$LINENO"; then :
21562   glibcxx_cv_func_fmodf_use=yes
21563 else
21564   glibcxx_cv_func_fmodf_use=no
21565 fi
21566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21567       ac_ext=c
21568 ac_cpp='$CPP $CPPFLAGS'
21569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21572
21573
21574 fi
21575
21576   fi
21577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21578 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21579
21580   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21581     for ac_func in fmodf
21582 do :
21583   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21584 if test "x$ac_cv_func_fmodf" = x""yes; then :
21585   cat >>confdefs.h <<_ACEOF
21586 #define HAVE_FMODF 1
21587 _ACEOF
21588
21589 fi
21590 done
21591
21592   else
21593
21594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21595 $as_echo_n "checking for _fmodf declaration... " >&6; }
21596   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21597     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21598   $as_echo_n "(cached) " >&6
21599 else
21600
21601
21602       ac_ext=cpp
21603 ac_cpp='$CXXCPP $CPPFLAGS'
21604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21607
21608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h.  */
21610 #include <math.h>
21611 int
21612 main ()
21613 {
21614  _fmodf(0, 0);
21615   ;
21616   return 0;
21617 }
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620   glibcxx_cv_func__fmodf_use=yes
21621 else
21622   glibcxx_cv_func__fmodf_use=no
21623 fi
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625       ac_ext=c
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21630
21631
21632 fi
21633
21634   fi
21635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21636 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21637
21638     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21639       for ac_func in _fmodf
21640 do :
21641   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21642 if test "x$ac_cv_func__fmodf" = x""yes; then :
21643   cat >>confdefs.h <<_ACEOF
21644 #define HAVE__FMODF 1
21645 _ACEOF
21646
21647 fi
21648 done
21649
21650     fi
21651   fi
21652
21653
21654
21655
21656
21657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21658 $as_echo_n "checking for frexpf declaration... " >&6; }
21659   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21660     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21661   $as_echo_n "(cached) " >&6
21662 else
21663
21664
21665       ac_ext=cpp
21666 ac_cpp='$CXXCPP $CPPFLAGS'
21667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21670
21671       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h.  */
21673 #include <math.h>
21674 int
21675 main ()
21676 {
21677  frexpf(0, 0);
21678   ;
21679   return 0;
21680 }
21681 _ACEOF
21682 if ac_fn_cxx_try_compile "$LINENO"; then :
21683   glibcxx_cv_func_frexpf_use=yes
21684 else
21685   glibcxx_cv_func_frexpf_use=no
21686 fi
21687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21688       ac_ext=c
21689 ac_cpp='$CPP $CPPFLAGS'
21690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21693
21694
21695 fi
21696
21697   fi
21698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21699 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21700
21701   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21702     for ac_func in frexpf
21703 do :
21704   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21705 if test "x$ac_cv_func_frexpf" = x""yes; then :
21706   cat >>confdefs.h <<_ACEOF
21707 #define HAVE_FREXPF 1
21708 _ACEOF
21709
21710 fi
21711 done
21712
21713   else
21714
21715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21716 $as_echo_n "checking for _frexpf declaration... " >&6; }
21717   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21718     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21719   $as_echo_n "(cached) " >&6
21720 else
21721
21722
21723       ac_ext=cpp
21724 ac_cpp='$CXXCPP $CPPFLAGS'
21725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21728
21729       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21730 /* end confdefs.h.  */
21731 #include <math.h>
21732 int
21733 main ()
21734 {
21735  _frexpf(0, 0);
21736   ;
21737   return 0;
21738 }
21739 _ACEOF
21740 if ac_fn_cxx_try_compile "$LINENO"; then :
21741   glibcxx_cv_func__frexpf_use=yes
21742 else
21743   glibcxx_cv_func__frexpf_use=no
21744 fi
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746       ac_ext=c
21747 ac_cpp='$CPP $CPPFLAGS'
21748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21751
21752
21753 fi
21754
21755   fi
21756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21757 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21758
21759     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21760       for ac_func in _frexpf
21761 do :
21762   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21763 if test "x$ac_cv_func__frexpf" = x""yes; then :
21764   cat >>confdefs.h <<_ACEOF
21765 #define HAVE__FREXPF 1
21766 _ACEOF
21767
21768 fi
21769 done
21770
21771     fi
21772   fi
21773
21774
21775
21776
21777
21778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21779 $as_echo_n "checking for hypotf declaration... " >&6; }
21780   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21781     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21782   $as_echo_n "(cached) " >&6
21783 else
21784
21785
21786       ac_ext=cpp
21787 ac_cpp='$CXXCPP $CPPFLAGS'
21788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21791
21792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21793 /* end confdefs.h.  */
21794 #include <math.h>
21795 int
21796 main ()
21797 {
21798  hypotf(0, 0);
21799   ;
21800   return 0;
21801 }
21802 _ACEOF
21803 if ac_fn_cxx_try_compile "$LINENO"; then :
21804   glibcxx_cv_func_hypotf_use=yes
21805 else
21806   glibcxx_cv_func_hypotf_use=no
21807 fi
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809       ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814
21815
21816 fi
21817
21818   fi
21819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21820 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21821
21822   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21823     for ac_func in hypotf
21824 do :
21825   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21826 if test "x$ac_cv_func_hypotf" = x""yes; then :
21827   cat >>confdefs.h <<_ACEOF
21828 #define HAVE_HYPOTF 1
21829 _ACEOF
21830
21831 fi
21832 done
21833
21834   else
21835
21836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21837 $as_echo_n "checking for _hypotf declaration... " >&6; }
21838   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21839     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21840   $as_echo_n "(cached) " >&6
21841 else
21842
21843
21844       ac_ext=cpp
21845 ac_cpp='$CXXCPP $CPPFLAGS'
21846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21849
21850       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21851 /* end confdefs.h.  */
21852 #include <math.h>
21853 int
21854 main ()
21855 {
21856  _hypotf(0, 0);
21857   ;
21858   return 0;
21859 }
21860 _ACEOF
21861 if ac_fn_cxx_try_compile "$LINENO"; then :
21862   glibcxx_cv_func__hypotf_use=yes
21863 else
21864   glibcxx_cv_func__hypotf_use=no
21865 fi
21866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21867       ac_ext=c
21868 ac_cpp='$CPP $CPPFLAGS'
21869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21872
21873
21874 fi
21875
21876   fi
21877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21878 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21879
21880     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21881       for ac_func in _hypotf
21882 do :
21883   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21884 if test "x$ac_cv_func__hypotf" = x""yes; then :
21885   cat >>confdefs.h <<_ACEOF
21886 #define HAVE__HYPOTF 1
21887 _ACEOF
21888
21889 fi
21890 done
21891
21892     fi
21893   fi
21894
21895
21896
21897
21898
21899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21900 $as_echo_n "checking for ldexpf declaration... " >&6; }
21901   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21902     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21903   $as_echo_n "(cached) " >&6
21904 else
21905
21906
21907       ac_ext=cpp
21908 ac_cpp='$CXXCPP $CPPFLAGS'
21909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21912
21913       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h.  */
21915 #include <math.h>
21916 int
21917 main ()
21918 {
21919  ldexpf(0, 0);
21920   ;
21921   return 0;
21922 }
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925   glibcxx_cv_func_ldexpf_use=yes
21926 else
21927   glibcxx_cv_func_ldexpf_use=no
21928 fi
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930       ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21935
21936
21937 fi
21938
21939   fi
21940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21941 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21942
21943   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21944     for ac_func in ldexpf
21945 do :
21946   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21947 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21948   cat >>confdefs.h <<_ACEOF
21949 #define HAVE_LDEXPF 1
21950 _ACEOF
21951
21952 fi
21953 done
21954
21955   else
21956
21957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21958 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21959   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21960     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21961   $as_echo_n "(cached) " >&6
21962 else
21963
21964
21965       ac_ext=cpp
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21970
21971       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h.  */
21973 #include <math.h>
21974 int
21975 main ()
21976 {
21977  _ldexpf(0, 0);
21978   ;
21979   return 0;
21980 }
21981 _ACEOF
21982 if ac_fn_cxx_try_compile "$LINENO"; then :
21983   glibcxx_cv_func__ldexpf_use=yes
21984 else
21985   glibcxx_cv_func__ldexpf_use=no
21986 fi
21987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21988       ac_ext=c
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21993
21994
21995 fi
21996
21997   fi
21998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21999 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22000
22001     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22002       for ac_func in _ldexpf
22003 do :
22004   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22005 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22006   cat >>confdefs.h <<_ACEOF
22007 #define HAVE__LDEXPF 1
22008 _ACEOF
22009
22010 fi
22011 done
22012
22013     fi
22014   fi
22015
22016
22017
22018
22019
22020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22021 $as_echo_n "checking for logf declaration... " >&6; }
22022   if test x${glibcxx_cv_func_logf_use+set} != xset; then
22023     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22024   $as_echo_n "(cached) " >&6
22025 else
22026
22027
22028       ac_ext=cpp
22029 ac_cpp='$CXXCPP $CPPFLAGS'
22030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22033
22034       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22035 /* end confdefs.h.  */
22036 #include <math.h>
22037                       #ifdef HAVE_IEEEFP_H
22038                       #include <ieeefp.h>
22039                       #endif
22040
22041 int
22042 main ()
22043 {
22044  logf(0);
22045   ;
22046   return 0;
22047 }
22048 _ACEOF
22049 if ac_fn_cxx_try_compile "$LINENO"; then :
22050   glibcxx_cv_func_logf_use=yes
22051 else
22052   glibcxx_cv_func_logf_use=no
22053 fi
22054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22055       ac_ext=c
22056 ac_cpp='$CPP $CPPFLAGS'
22057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22060
22061
22062 fi
22063
22064   fi
22065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22066 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22067
22068   if test x$glibcxx_cv_func_logf_use = x"yes"; then
22069     for ac_func in logf
22070 do :
22071   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22072 if test "x$ac_cv_func_logf" = x""yes; then :
22073   cat >>confdefs.h <<_ACEOF
22074 #define HAVE_LOGF 1
22075 _ACEOF
22076
22077 fi
22078 done
22079
22080   else
22081
22082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22083 $as_echo_n "checking for _logf declaration... " >&6; }
22084   if test x${glibcxx_cv_func__logf_use+set} != xset; then
22085     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22086   $as_echo_n "(cached) " >&6
22087 else
22088
22089
22090       ac_ext=cpp
22091 ac_cpp='$CXXCPP $CPPFLAGS'
22092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22095
22096       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h.  */
22098 #include <math.h>
22099                       #ifdef HAVE_IEEEFP_H
22100                       #include <ieeefp.h>
22101                       #endif
22102
22103 int
22104 main ()
22105 {
22106  _logf(0);
22107   ;
22108   return 0;
22109 }
22110 _ACEOF
22111 if ac_fn_cxx_try_compile "$LINENO"; then :
22112   glibcxx_cv_func__logf_use=yes
22113 else
22114   glibcxx_cv_func__logf_use=no
22115 fi
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117       ac_ext=c
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22122
22123
22124 fi
22125
22126   fi
22127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22128 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22129
22130     if test x$glibcxx_cv_func__logf_use = x"yes"; then
22131       for ac_func in _logf
22132 do :
22133   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22134 if test "x$ac_cv_func__logf" = x""yes; then :
22135   cat >>confdefs.h <<_ACEOF
22136 #define HAVE__LOGF 1
22137 _ACEOF
22138
22139 fi
22140 done
22141
22142     fi
22143   fi
22144
22145
22146
22147
22148
22149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22150 $as_echo_n "checking for log10f declaration... " >&6; }
22151   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22152     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22153   $as_echo_n "(cached) " >&6
22154 else
22155
22156
22157       ac_ext=cpp
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22162
22163       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22164 /* end confdefs.h.  */
22165 #include <math.h>
22166                       #ifdef HAVE_IEEEFP_H
22167                       #include <ieeefp.h>
22168                       #endif
22169
22170 int
22171 main ()
22172 {
22173  log10f(0);
22174   ;
22175   return 0;
22176 }
22177 _ACEOF
22178 if ac_fn_cxx_try_compile "$LINENO"; then :
22179   glibcxx_cv_func_log10f_use=yes
22180 else
22181   glibcxx_cv_func_log10f_use=no
22182 fi
22183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22184       ac_ext=c
22185 ac_cpp='$CPP $CPPFLAGS'
22186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22189
22190
22191 fi
22192
22193   fi
22194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22195 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22196
22197   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22198     for ac_func in log10f
22199 do :
22200   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22201 if test "x$ac_cv_func_log10f" = x""yes; then :
22202   cat >>confdefs.h <<_ACEOF
22203 #define HAVE_LOG10F 1
22204 _ACEOF
22205
22206 fi
22207 done
22208
22209   else
22210
22211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22212 $as_echo_n "checking for _log10f declaration... " >&6; }
22213   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22214     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22215   $as_echo_n "(cached) " >&6
22216 else
22217
22218
22219       ac_ext=cpp
22220 ac_cpp='$CXXCPP $CPPFLAGS'
22221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22224
22225       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h.  */
22227 #include <math.h>
22228                       #ifdef HAVE_IEEEFP_H
22229                       #include <ieeefp.h>
22230                       #endif
22231
22232 int
22233 main ()
22234 {
22235  _log10f(0);
22236   ;
22237   return 0;
22238 }
22239 _ACEOF
22240 if ac_fn_cxx_try_compile "$LINENO"; then :
22241   glibcxx_cv_func__log10f_use=yes
22242 else
22243   glibcxx_cv_func__log10f_use=no
22244 fi
22245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22246       ac_ext=c
22247 ac_cpp='$CPP $CPPFLAGS'
22248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22251
22252
22253 fi
22254
22255   fi
22256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22257 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22258
22259     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22260       for ac_func in _log10f
22261 do :
22262   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22263 if test "x$ac_cv_func__log10f" = x""yes; then :
22264   cat >>confdefs.h <<_ACEOF
22265 #define HAVE__LOG10F 1
22266 _ACEOF
22267
22268 fi
22269 done
22270
22271     fi
22272   fi
22273
22274
22275
22276
22277
22278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22279 $as_echo_n "checking for modff declaration... " >&6; }
22280   if test x${glibcxx_cv_func_modff_use+set} != xset; then
22281     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22282   $as_echo_n "(cached) " >&6
22283 else
22284
22285
22286       ac_ext=cpp
22287 ac_cpp='$CXXCPP $CPPFLAGS'
22288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22291
22292       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22293 /* end confdefs.h.  */
22294 #include <math.h>
22295 int
22296 main ()
22297 {
22298  modff(0, 0);
22299   ;
22300   return 0;
22301 }
22302 _ACEOF
22303 if ac_fn_cxx_try_compile "$LINENO"; then :
22304   glibcxx_cv_func_modff_use=yes
22305 else
22306   glibcxx_cv_func_modff_use=no
22307 fi
22308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22309       ac_ext=c
22310 ac_cpp='$CPP $CPPFLAGS'
22311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314
22315
22316 fi
22317
22318   fi
22319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22320 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22321
22322   if test x$glibcxx_cv_func_modff_use = x"yes"; then
22323     for ac_func in modff
22324 do :
22325   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22326 if test "x$ac_cv_func_modff" = x""yes; then :
22327   cat >>confdefs.h <<_ACEOF
22328 #define HAVE_MODFF 1
22329 _ACEOF
22330
22331 fi
22332 done
22333
22334   else
22335
22336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22337 $as_echo_n "checking for _modff declaration... " >&6; }
22338   if test x${glibcxx_cv_func__modff_use+set} != xset; then
22339     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22340   $as_echo_n "(cached) " >&6
22341 else
22342
22343
22344       ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h.  */
22352 #include <math.h>
22353 int
22354 main ()
22355 {
22356  _modff(0, 0);
22357   ;
22358   return 0;
22359 }
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362   glibcxx_cv_func__modff_use=yes
22363 else
22364   glibcxx_cv_func__modff_use=no
22365 fi
22366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22367       ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22372
22373
22374 fi
22375
22376   fi
22377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22378 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22379
22380     if test x$glibcxx_cv_func__modff_use = x"yes"; then
22381       for ac_func in _modff
22382 do :
22383   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22384 if test "x$ac_cv_func__modff" = x""yes; then :
22385   cat >>confdefs.h <<_ACEOF
22386 #define HAVE__MODFF 1
22387 _ACEOF
22388
22389 fi
22390 done
22391
22392     fi
22393   fi
22394
22395
22396
22397
22398
22399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22400 $as_echo_n "checking for modf declaration... " >&6; }
22401   if test x${glibcxx_cv_func_modf_use+set} != xset; then
22402     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22403   $as_echo_n "(cached) " >&6
22404 else
22405
22406
22407       ac_ext=cpp
22408 ac_cpp='$CXXCPP $CPPFLAGS'
22409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22412
22413       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22414 /* end confdefs.h.  */
22415 #include <math.h>
22416 int
22417 main ()
22418 {
22419  modf(0, 0);
22420   ;
22421   return 0;
22422 }
22423 _ACEOF
22424 if ac_fn_cxx_try_compile "$LINENO"; then :
22425   glibcxx_cv_func_modf_use=yes
22426 else
22427   glibcxx_cv_func_modf_use=no
22428 fi
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430       ac_ext=c
22431 ac_cpp='$CPP $CPPFLAGS'
22432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22435
22436
22437 fi
22438
22439   fi
22440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22441 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22442
22443   if test x$glibcxx_cv_func_modf_use = x"yes"; then
22444     for ac_func in modf
22445 do :
22446   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22447 if test "x$ac_cv_func_modf" = x""yes; then :
22448   cat >>confdefs.h <<_ACEOF
22449 #define HAVE_MODF 1
22450 _ACEOF
22451
22452 fi
22453 done
22454
22455   else
22456
22457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22458 $as_echo_n "checking for _modf declaration... " >&6; }
22459   if test x${glibcxx_cv_func__modf_use+set} != xset; then
22460     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22461   $as_echo_n "(cached) " >&6
22462 else
22463
22464
22465       ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22470
22471       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h.  */
22473 #include <math.h>
22474 int
22475 main ()
22476 {
22477  _modf(0, 0);
22478   ;
22479   return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483   glibcxx_cv_func__modf_use=yes
22484 else
22485   glibcxx_cv_func__modf_use=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488       ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495 fi
22496
22497   fi
22498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22499 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22500
22501     if test x$glibcxx_cv_func__modf_use = x"yes"; then
22502       for ac_func in _modf
22503 do :
22504   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22505 if test "x$ac_cv_func__modf" = x""yes; then :
22506   cat >>confdefs.h <<_ACEOF
22507 #define HAVE__MODF 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513     fi
22514   fi
22515
22516
22517
22518
22519
22520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22521 $as_echo_n "checking for powf declaration... " >&6; }
22522   if test x${glibcxx_cv_func_powf_use+set} != xset; then
22523     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22524   $as_echo_n "(cached) " >&6
22525 else
22526
22527
22528       ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22533
22534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h.  */
22536 #include <math.h>
22537 int
22538 main ()
22539 {
22540  powf(0, 0);
22541   ;
22542   return 0;
22543 }
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546   glibcxx_cv_func_powf_use=yes
22547 else
22548   glibcxx_cv_func_powf_use=no
22549 fi
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551       ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556
22557
22558 fi
22559
22560   fi
22561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22562 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22563
22564   if test x$glibcxx_cv_func_powf_use = x"yes"; then
22565     for ac_func in powf
22566 do :
22567   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22568 if test "x$ac_cv_func_powf" = x""yes; then :
22569   cat >>confdefs.h <<_ACEOF
22570 #define HAVE_POWF 1
22571 _ACEOF
22572
22573 fi
22574 done
22575
22576   else
22577
22578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22579 $as_echo_n "checking for _powf declaration... " >&6; }
22580   if test x${glibcxx_cv_func__powf_use+set} != xset; then
22581     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22582   $as_echo_n "(cached) " >&6
22583 else
22584
22585
22586       ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591
22592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h.  */
22594 #include <math.h>
22595 int
22596 main ()
22597 {
22598  _powf(0, 0);
22599   ;
22600   return 0;
22601 }
22602 _ACEOF
22603 if ac_fn_cxx_try_compile "$LINENO"; then :
22604   glibcxx_cv_func__powf_use=yes
22605 else
22606   glibcxx_cv_func__powf_use=no
22607 fi
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609       ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614
22615
22616 fi
22617
22618   fi
22619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22620 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22621
22622     if test x$glibcxx_cv_func__powf_use = x"yes"; then
22623       for ac_func in _powf
22624 do :
22625   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22626 if test "x$ac_cv_func__powf" = x""yes; then :
22627   cat >>confdefs.h <<_ACEOF
22628 #define HAVE__POWF 1
22629 _ACEOF
22630
22631 fi
22632 done
22633
22634     fi
22635   fi
22636
22637
22638
22639
22640
22641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22642 $as_echo_n "checking for sqrtf declaration... " >&6; }
22643   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22644     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22645   $as_echo_n "(cached) " >&6
22646 else
22647
22648
22649       ac_ext=cpp
22650 ac_cpp='$CXXCPP $CPPFLAGS'
22651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22654
22655       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22656 /* end confdefs.h.  */
22657 #include <math.h>
22658                       #ifdef HAVE_IEEEFP_H
22659                       #include <ieeefp.h>
22660                       #endif
22661
22662 int
22663 main ()
22664 {
22665  sqrtf(0);
22666   ;
22667   return 0;
22668 }
22669 _ACEOF
22670 if ac_fn_cxx_try_compile "$LINENO"; then :
22671   glibcxx_cv_func_sqrtf_use=yes
22672 else
22673   glibcxx_cv_func_sqrtf_use=no
22674 fi
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676       ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681
22682
22683 fi
22684
22685   fi
22686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22687 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22688
22689   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22690     for ac_func in sqrtf
22691 do :
22692   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22693 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22694   cat >>confdefs.h <<_ACEOF
22695 #define HAVE_SQRTF 1
22696 _ACEOF
22697
22698 fi
22699 done
22700
22701   else
22702
22703   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22704 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22705   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22706     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22707   $as_echo_n "(cached) " >&6
22708 else
22709
22710
22711       ac_ext=cpp
22712 ac_cpp='$CXXCPP $CPPFLAGS'
22713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716
22717       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 /* end confdefs.h.  */
22719 #include <math.h>
22720                       #ifdef HAVE_IEEEFP_H
22721                       #include <ieeefp.h>
22722                       #endif
22723
22724 int
22725 main ()
22726 {
22727  _sqrtf(0);
22728   ;
22729   return 0;
22730 }
22731 _ACEOF
22732 if ac_fn_cxx_try_compile "$LINENO"; then :
22733   glibcxx_cv_func__sqrtf_use=yes
22734 else
22735   glibcxx_cv_func__sqrtf_use=no
22736 fi
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738       ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743
22744
22745 fi
22746
22747   fi
22748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22749 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22750
22751     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22752       for ac_func in _sqrtf
22753 do :
22754   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22755 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22756   cat >>confdefs.h <<_ACEOF
22757 #define HAVE__SQRTF 1
22758 _ACEOF
22759
22760 fi
22761 done
22762
22763     fi
22764   fi
22765
22766
22767
22768
22769
22770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22771 $as_echo_n "checking for sincosf declaration... " >&6; }
22772   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22773     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22774   $as_echo_n "(cached) " >&6
22775 else
22776
22777
22778       ac_ext=cpp
22779 ac_cpp='$CXXCPP $CPPFLAGS'
22780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22783
22784       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22785 /* end confdefs.h.  */
22786 #include <math.h>
22787 int
22788 main ()
22789 {
22790  sincosf(0, 0, 0);
22791   ;
22792   return 0;
22793 }
22794 _ACEOF
22795 if ac_fn_cxx_try_compile "$LINENO"; then :
22796   glibcxx_cv_func_sincosf_use=yes
22797 else
22798   glibcxx_cv_func_sincosf_use=no
22799 fi
22800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22801       ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806
22807
22808 fi
22809
22810   fi
22811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22812 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22813
22814   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22815     for ac_func in sincosf
22816 do :
22817   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22818 if test "x$ac_cv_func_sincosf" = x""yes; then :
22819   cat >>confdefs.h <<_ACEOF
22820 #define HAVE_SINCOSF 1
22821 _ACEOF
22822
22823 fi
22824 done
22825
22826   else
22827
22828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22829 $as_echo_n "checking for _sincosf declaration... " >&6; }
22830   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22831     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22832   $as_echo_n "(cached) " >&6
22833 else
22834
22835
22836       ac_ext=cpp
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841
22842       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h.  */
22844 #include <math.h>
22845 int
22846 main ()
22847 {
22848  _sincosf(0, 0, 0);
22849   ;
22850   return 0;
22851 }
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854   glibcxx_cv_func__sincosf_use=yes
22855 else
22856   glibcxx_cv_func__sincosf_use=no
22857 fi
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859       ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864
22865
22866 fi
22867
22868   fi
22869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22870 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22871
22872     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22873       for ac_func in _sincosf
22874 do :
22875   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22876 if test "x$ac_cv_func__sincosf" = x""yes; then :
22877   cat >>confdefs.h <<_ACEOF
22878 #define HAVE__SINCOSF 1
22879 _ACEOF
22880
22881 fi
22882 done
22883
22884     fi
22885   fi
22886
22887
22888
22889
22890
22891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22892 $as_echo_n "checking for finitef declaration... " >&6; }
22893   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22894     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22895   $as_echo_n "(cached) " >&6
22896 else
22897
22898
22899       ac_ext=cpp
22900 ac_cpp='$CXXCPP $CPPFLAGS'
22901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22904
22905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22906 /* end confdefs.h.  */
22907 #include <math.h>
22908                       #ifdef HAVE_IEEEFP_H
22909                       #include <ieeefp.h>
22910                       #endif
22911
22912 int
22913 main ()
22914 {
22915  finitef(0);
22916   ;
22917   return 0;
22918 }
22919 _ACEOF
22920 if ac_fn_cxx_try_compile "$LINENO"; then :
22921   glibcxx_cv_func_finitef_use=yes
22922 else
22923   glibcxx_cv_func_finitef_use=no
22924 fi
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22926       ac_ext=c
22927 ac_cpp='$CPP $CPPFLAGS'
22928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22931
22932
22933 fi
22934
22935   fi
22936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22937 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22938
22939   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22940     for ac_func in finitef
22941 do :
22942   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22943 if test "x$ac_cv_func_finitef" = x""yes; then :
22944   cat >>confdefs.h <<_ACEOF
22945 #define HAVE_FINITEF 1
22946 _ACEOF
22947
22948 fi
22949 done
22950
22951   else
22952
22953   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22954 $as_echo_n "checking for _finitef declaration... " >&6; }
22955   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22956     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22957   $as_echo_n "(cached) " >&6
22958 else
22959
22960
22961       ac_ext=cpp
22962 ac_cpp='$CXXCPP $CPPFLAGS'
22963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966
22967       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h.  */
22969 #include <math.h>
22970                       #ifdef HAVE_IEEEFP_H
22971                       #include <ieeefp.h>
22972                       #endif
22973
22974 int
22975 main ()
22976 {
22977  _finitef(0);
22978   ;
22979   return 0;
22980 }
22981 _ACEOF
22982 if ac_fn_cxx_try_compile "$LINENO"; then :
22983   glibcxx_cv_func__finitef_use=yes
22984 else
22985   glibcxx_cv_func__finitef_use=no
22986 fi
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22988       ac_ext=c
22989 ac_cpp='$CPP $CPPFLAGS'
22990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22993
22994
22995 fi
22996
22997   fi
22998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22999 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23000
23001     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23002       for ac_func in _finitef
23003 do :
23004   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23005 if test "x$ac_cv_func__finitef" = x""yes; then :
23006   cat >>confdefs.h <<_ACEOF
23007 #define HAVE__FINITEF 1
23008 _ACEOF
23009
23010 fi
23011 done
23012
23013     fi
23014   fi
23015
23016
23017
23018
23019
23020     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23021 $as_echo_n "checking for long double trig functions... " >&6; }
23022   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23023   $as_echo_n "(cached) " >&6
23024 else
23025
23026
23027     ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23032
23033     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h.  */
23035 #include <math.h>
23036 int
23037 main ()
23038 {
23039 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23040   ;
23041   return 0;
23042 }
23043 _ACEOF
23044 if ac_fn_cxx_try_compile "$LINENO"; then :
23045   glibcxx_cv_func_long_double_trig_use=yes
23046 else
23047   glibcxx_cv_func_long_double_trig_use=no
23048 fi
23049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23050     ac_ext=c
23051 ac_cpp='$CPP $CPPFLAGS'
23052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23055
23056 fi
23057
23058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23059 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23060   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23061     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23062 do :
23063   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23065 eval as_val=\$$as_ac_var
23066    if test "x$as_val" = x""yes; then :
23067   cat >>confdefs.h <<_ACEOF
23068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23069 _ACEOF
23070
23071 fi
23072 done
23073
23074   else
23075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23076 $as_echo_n "checking for _long double trig functions... " >&6; }
23077     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23078   $as_echo_n "(cached) " >&6
23079 else
23080
23081
23082       ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23087
23088       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h.  */
23090 #include <math.h>
23091 int
23092 main ()
23093 {
23094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23095   ;
23096   return 0;
23097 }
23098 _ACEOF
23099 if ac_fn_cxx_try_compile "$LINENO"; then :
23100   glibcxx_cv_func__long_double_trig_use=yes
23101 else
23102   glibcxx_cv_func__long_double_trig_use=no
23103 fi
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105       ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
23111 fi
23112
23113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23114 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23115     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23116       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23117 do :
23118   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23120 eval as_val=\$$as_ac_var
23121    if test "x$as_val" = x""yes; then :
23122   cat >>confdefs.h <<_ACEOF
23123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23124 _ACEOF
23125
23126 fi
23127 done
23128
23129     fi
23130   fi
23131
23132
23133
23134
23135
23136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23137 $as_echo_n "checking for long double round functions... " >&6; }
23138   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23139   $as_echo_n "(cached) " >&6
23140 else
23141
23142
23143     ac_ext=cpp
23144 ac_cpp='$CXXCPP $CPPFLAGS'
23145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23148
23149     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23150 /* end confdefs.h.  */
23151 #include <math.h>
23152 int
23153 main ()
23154 {
23155 ceill (0); floorl (0);
23156   ;
23157   return 0;
23158 }
23159 _ACEOF
23160 if ac_fn_cxx_try_compile "$LINENO"; then :
23161   glibcxx_cv_func_long_double_round_use=yes
23162 else
23163   glibcxx_cv_func_long_double_round_use=no
23164 fi
23165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23166     ac_ext=c
23167 ac_cpp='$CPP $CPPFLAGS'
23168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23171
23172 fi
23173
23174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23175 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23176   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23177     for ac_func in ceill floorl
23178 do :
23179   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23181 eval as_val=\$$as_ac_var
23182    if test "x$as_val" = x""yes; then :
23183   cat >>confdefs.h <<_ACEOF
23184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23185 _ACEOF
23186
23187 fi
23188 done
23189
23190   else
23191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23192 $as_echo_n "checking for _long double round functions... " >&6; }
23193     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23194   $as_echo_n "(cached) " >&6
23195 else
23196
23197
23198       ac_ext=cpp
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23203
23204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h.  */
23206 #include <math.h>
23207 int
23208 main ()
23209 {
23210 _ceill (0); _floorl (0);
23211   ;
23212   return 0;
23213 }
23214 _ACEOF
23215 if ac_fn_cxx_try_compile "$LINENO"; then :
23216   glibcxx_cv_func__long_double_round_use=yes
23217 else
23218   glibcxx_cv_func__long_double_round_use=no
23219 fi
23220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23221       ac_ext=c
23222 ac_cpp='$CPP $CPPFLAGS'
23223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23226
23227 fi
23228
23229     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23230 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23231     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23232       for ac_func in _ceill _floorl
23233 do :
23234   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23236 eval as_val=\$$as_ac_var
23237    if test "x$as_val" = x""yes; then :
23238   cat >>confdefs.h <<_ACEOF
23239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23240 _ACEOF
23241
23242 fi
23243 done
23244
23245     fi
23246   fi
23247
23248
23249
23250
23251
23252
23253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23254 $as_echo_n "checking for isnanl declaration... " >&6; }
23255   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23256     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23257   $as_echo_n "(cached) " >&6
23258 else
23259
23260
23261       ac_ext=cpp
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266
23267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h.  */
23269 #include <math.h>
23270                       #ifdef HAVE_IEEEFP_H
23271                       #include <ieeefp.h>
23272                       #endif
23273
23274 int
23275 main ()
23276 {
23277  isnanl(0);
23278   ;
23279   return 0;
23280 }
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283   glibcxx_cv_func_isnanl_use=yes
23284 else
23285   glibcxx_cv_func_isnanl_use=no
23286 fi
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288       ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295 fi
23296
23297   fi
23298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23299 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23300
23301   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23302     for ac_func in isnanl
23303 do :
23304   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23305 if test "x$ac_cv_func_isnanl" = x""yes; then :
23306   cat >>confdefs.h <<_ACEOF
23307 #define HAVE_ISNANL 1
23308 _ACEOF
23309
23310 fi
23311 done
23312
23313   else
23314
23315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23316 $as_echo_n "checking for _isnanl declaration... " >&6; }
23317   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23318     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23319   $as_echo_n "(cached) " >&6
23320 else
23321
23322
23323       ac_ext=cpp
23324 ac_cpp='$CXXCPP $CPPFLAGS'
23325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23328
23329       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23330 /* end confdefs.h.  */
23331 #include <math.h>
23332                       #ifdef HAVE_IEEEFP_H
23333                       #include <ieeefp.h>
23334                       #endif
23335
23336 int
23337 main ()
23338 {
23339  _isnanl(0);
23340   ;
23341   return 0;
23342 }
23343 _ACEOF
23344 if ac_fn_cxx_try_compile "$LINENO"; then :
23345   glibcxx_cv_func__isnanl_use=yes
23346 else
23347   glibcxx_cv_func__isnanl_use=no
23348 fi
23349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23350       ac_ext=c
23351 ac_cpp='$CPP $CPPFLAGS'
23352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23355
23356
23357 fi
23358
23359   fi
23360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23361 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23362
23363     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23364       for ac_func in _isnanl
23365 do :
23366   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23367 if test "x$ac_cv_func__isnanl" = x""yes; then :
23368   cat >>confdefs.h <<_ACEOF
23369 #define HAVE__ISNANL 1
23370 _ACEOF
23371
23372 fi
23373 done
23374
23375     fi
23376   fi
23377
23378
23379
23380
23381
23382   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23383 $as_echo_n "checking for isinfl declaration... " >&6; }
23384   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23385     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23386   $as_echo_n "(cached) " >&6
23387 else
23388
23389
23390       ac_ext=cpp
23391 ac_cpp='$CXXCPP $CPPFLAGS'
23392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395
23396       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23397 /* end confdefs.h.  */
23398 #include <math.h>
23399                       #ifdef HAVE_IEEEFP_H
23400                       #include <ieeefp.h>
23401                       #endif
23402
23403 int
23404 main ()
23405 {
23406  isinfl(0);
23407   ;
23408   return 0;
23409 }
23410 _ACEOF
23411 if ac_fn_cxx_try_compile "$LINENO"; then :
23412   glibcxx_cv_func_isinfl_use=yes
23413 else
23414   glibcxx_cv_func_isinfl_use=no
23415 fi
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417       ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424 fi
23425
23426   fi
23427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23428 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23429
23430   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23431     for ac_func in isinfl
23432 do :
23433   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23434 if test "x$ac_cv_func_isinfl" = x""yes; then :
23435   cat >>confdefs.h <<_ACEOF
23436 #define HAVE_ISINFL 1
23437 _ACEOF
23438
23439 fi
23440 done
23441
23442   else
23443
23444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23445 $as_echo_n "checking for _isinfl declaration... " >&6; }
23446   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23447     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23448   $as_echo_n "(cached) " >&6
23449 else
23450
23451
23452       ac_ext=cpp
23453 ac_cpp='$CXXCPP $CPPFLAGS'
23454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457
23458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23459 /* end confdefs.h.  */
23460 #include <math.h>
23461                       #ifdef HAVE_IEEEFP_H
23462                       #include <ieeefp.h>
23463                       #endif
23464
23465 int
23466 main ()
23467 {
23468  _isinfl(0);
23469   ;
23470   return 0;
23471 }
23472 _ACEOF
23473 if ac_fn_cxx_try_compile "$LINENO"; then :
23474   glibcxx_cv_func__isinfl_use=yes
23475 else
23476   glibcxx_cv_func__isinfl_use=no
23477 fi
23478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23479       ac_ext=c
23480 ac_cpp='$CPP $CPPFLAGS'
23481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484
23485
23486 fi
23487
23488   fi
23489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23490 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23491
23492     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23493       for ac_func in _isinfl
23494 do :
23495   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23496 if test "x$ac_cv_func__isinfl" = x""yes; then :
23497   cat >>confdefs.h <<_ACEOF
23498 #define HAVE__ISINFL 1
23499 _ACEOF
23500
23501 fi
23502 done
23503
23504     fi
23505   fi
23506
23507
23508
23509
23510
23511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23512 $as_echo_n "checking for atan2l declaration... " >&6; }
23513   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23514     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23515   $as_echo_n "(cached) " >&6
23516 else
23517
23518
23519       ac_ext=cpp
23520 ac_cpp='$CXXCPP $CPPFLAGS'
23521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23524
23525       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23526 /* end confdefs.h.  */
23527 #include <math.h>
23528 int
23529 main ()
23530 {
23531  atan2l(0, 0);
23532   ;
23533   return 0;
23534 }
23535 _ACEOF
23536 if ac_fn_cxx_try_compile "$LINENO"; then :
23537   glibcxx_cv_func_atan2l_use=yes
23538 else
23539   glibcxx_cv_func_atan2l_use=no
23540 fi
23541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542       ac_ext=c
23543 ac_cpp='$CPP $CPPFLAGS'
23544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23547
23548
23549 fi
23550
23551   fi
23552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23553 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23554
23555   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23556     for ac_func in atan2l
23557 do :
23558   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23559 if test "x$ac_cv_func_atan2l" = x""yes; then :
23560   cat >>confdefs.h <<_ACEOF
23561 #define HAVE_ATAN2L 1
23562 _ACEOF
23563
23564 fi
23565 done
23566
23567   else
23568
23569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23570 $as_echo_n "checking for _atan2l declaration... " >&6; }
23571   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23572     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23573   $as_echo_n "(cached) " >&6
23574 else
23575
23576
23577       ac_ext=cpp
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582
23583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h.  */
23585 #include <math.h>
23586 int
23587 main ()
23588 {
23589  _atan2l(0, 0);
23590   ;
23591   return 0;
23592 }
23593 _ACEOF
23594 if ac_fn_cxx_try_compile "$LINENO"; then :
23595   glibcxx_cv_func__atan2l_use=yes
23596 else
23597   glibcxx_cv_func__atan2l_use=no
23598 fi
23599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23600       ac_ext=c
23601 ac_cpp='$CPP $CPPFLAGS'
23602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23605
23606
23607 fi
23608
23609   fi
23610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23611 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23612
23613     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23614       for ac_func in _atan2l
23615 do :
23616   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23617 if test "x$ac_cv_func__atan2l" = x""yes; then :
23618   cat >>confdefs.h <<_ACEOF
23619 #define HAVE__ATAN2L 1
23620 _ACEOF
23621
23622 fi
23623 done
23624
23625     fi
23626   fi
23627
23628
23629
23630
23631
23632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23633 $as_echo_n "checking for expl declaration... " >&6; }
23634   if test x${glibcxx_cv_func_expl_use+set} != xset; then
23635     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23636   $as_echo_n "(cached) " >&6
23637 else
23638
23639
23640       ac_ext=cpp
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23645
23646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h.  */
23648 #include <math.h>
23649                       #ifdef HAVE_IEEEFP_H
23650                       #include <ieeefp.h>
23651                       #endif
23652
23653 int
23654 main ()
23655 {
23656  expl(0);
23657   ;
23658   return 0;
23659 }
23660 _ACEOF
23661 if ac_fn_cxx_try_compile "$LINENO"; then :
23662   glibcxx_cv_func_expl_use=yes
23663 else
23664   glibcxx_cv_func_expl_use=no
23665 fi
23666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667       ac_ext=c
23668 ac_cpp='$CPP $CPPFLAGS'
23669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23672
23673
23674 fi
23675
23676   fi
23677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23678 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23679
23680   if test x$glibcxx_cv_func_expl_use = x"yes"; then
23681     for ac_func in expl
23682 do :
23683   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23684 if test "x$ac_cv_func_expl" = x""yes; then :
23685   cat >>confdefs.h <<_ACEOF
23686 #define HAVE_EXPL 1
23687 _ACEOF
23688
23689 fi
23690 done
23691
23692   else
23693
23694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23695 $as_echo_n "checking for _expl declaration... " >&6; }
23696   if test x${glibcxx_cv_func__expl_use+set} != xset; then
23697     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23698   $as_echo_n "(cached) " >&6
23699 else
23700
23701
23702       ac_ext=cpp
23703 ac_cpp='$CXXCPP $CPPFLAGS'
23704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23707
23708       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23709 /* end confdefs.h.  */
23710 #include <math.h>
23711                       #ifdef HAVE_IEEEFP_H
23712                       #include <ieeefp.h>
23713                       #endif
23714
23715 int
23716 main ()
23717 {
23718  _expl(0);
23719   ;
23720   return 0;
23721 }
23722 _ACEOF
23723 if ac_fn_cxx_try_compile "$LINENO"; then :
23724   glibcxx_cv_func__expl_use=yes
23725 else
23726   glibcxx_cv_func__expl_use=no
23727 fi
23728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23729       ac_ext=c
23730 ac_cpp='$CPP $CPPFLAGS'
23731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23734
23735
23736 fi
23737
23738   fi
23739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23740 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23741
23742     if test x$glibcxx_cv_func__expl_use = x"yes"; then
23743       for ac_func in _expl
23744 do :
23745   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23746 if test "x$ac_cv_func__expl" = x""yes; then :
23747   cat >>confdefs.h <<_ACEOF
23748 #define HAVE__EXPL 1
23749 _ACEOF
23750
23751 fi
23752 done
23753
23754     fi
23755   fi
23756
23757
23758
23759
23760
23761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23762 $as_echo_n "checking for fabsl declaration... " >&6; }
23763   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23764     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23765   $as_echo_n "(cached) " >&6
23766 else
23767
23768
23769       ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774
23775       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h.  */
23777 #include <math.h>
23778                       #ifdef HAVE_IEEEFP_H
23779                       #include <ieeefp.h>
23780                       #endif
23781
23782 int
23783 main ()
23784 {
23785  fabsl(0);
23786   ;
23787   return 0;
23788 }
23789 _ACEOF
23790 if ac_fn_cxx_try_compile "$LINENO"; then :
23791   glibcxx_cv_func_fabsl_use=yes
23792 else
23793   glibcxx_cv_func_fabsl_use=no
23794 fi
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796       ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801
23802
23803 fi
23804
23805   fi
23806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23807 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23808
23809   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23810     for ac_func in fabsl
23811 do :
23812   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23813 if test "x$ac_cv_func_fabsl" = x""yes; then :
23814   cat >>confdefs.h <<_ACEOF
23815 #define HAVE_FABSL 1
23816 _ACEOF
23817
23818 fi
23819 done
23820
23821   else
23822
23823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23824 $as_echo_n "checking for _fabsl declaration... " >&6; }
23825   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23826     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23827   $as_echo_n "(cached) " >&6
23828 else
23829
23830
23831       ac_ext=cpp
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23836
23837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h.  */
23839 #include <math.h>
23840                       #ifdef HAVE_IEEEFP_H
23841                       #include <ieeefp.h>
23842                       #endif
23843
23844 int
23845 main ()
23846 {
23847  _fabsl(0);
23848   ;
23849   return 0;
23850 }
23851 _ACEOF
23852 if ac_fn_cxx_try_compile "$LINENO"; then :
23853   glibcxx_cv_func__fabsl_use=yes
23854 else
23855   glibcxx_cv_func__fabsl_use=no
23856 fi
23857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23858       ac_ext=c
23859 ac_cpp='$CPP $CPPFLAGS'
23860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863
23864
23865 fi
23866
23867   fi
23868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23869 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23870
23871     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23872       for ac_func in _fabsl
23873 do :
23874   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23875 if test "x$ac_cv_func__fabsl" = x""yes; then :
23876   cat >>confdefs.h <<_ACEOF
23877 #define HAVE__FABSL 1
23878 _ACEOF
23879
23880 fi
23881 done
23882
23883     fi
23884   fi
23885
23886
23887
23888
23889
23890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23891 $as_echo_n "checking for fmodl declaration... " >&6; }
23892   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23893     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23894   $as_echo_n "(cached) " >&6
23895 else
23896
23897
23898       ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903
23904       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h.  */
23906 #include <math.h>
23907 int
23908 main ()
23909 {
23910  fmodl(0, 0);
23911   ;
23912   return 0;
23913 }
23914 _ACEOF
23915 if ac_fn_cxx_try_compile "$LINENO"; then :
23916   glibcxx_cv_func_fmodl_use=yes
23917 else
23918   glibcxx_cv_func_fmodl_use=no
23919 fi
23920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23921       ac_ext=c
23922 ac_cpp='$CPP $CPPFLAGS'
23923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23926
23927
23928 fi
23929
23930   fi
23931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23932 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23933
23934   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23935     for ac_func in fmodl
23936 do :
23937   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23938 if test "x$ac_cv_func_fmodl" = x""yes; then :
23939   cat >>confdefs.h <<_ACEOF
23940 #define HAVE_FMODL 1
23941 _ACEOF
23942
23943 fi
23944 done
23945
23946   else
23947
23948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23949 $as_echo_n "checking for _fmodl declaration... " >&6; }
23950   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23951     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23952   $as_echo_n "(cached) " >&6
23953 else
23954
23955
23956       ac_ext=cpp
23957 ac_cpp='$CXXCPP $CPPFLAGS'
23958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23961
23962       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23963 /* end confdefs.h.  */
23964 #include <math.h>
23965 int
23966 main ()
23967 {
23968  _fmodl(0, 0);
23969   ;
23970   return 0;
23971 }
23972 _ACEOF
23973 if ac_fn_cxx_try_compile "$LINENO"; then :
23974   glibcxx_cv_func__fmodl_use=yes
23975 else
23976   glibcxx_cv_func__fmodl_use=no
23977 fi
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979       ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984
23985
23986 fi
23987
23988   fi
23989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23990 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23991
23992     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23993       for ac_func in _fmodl
23994 do :
23995   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23996 if test "x$ac_cv_func__fmodl" = x""yes; then :
23997   cat >>confdefs.h <<_ACEOF
23998 #define HAVE__FMODL 1
23999 _ACEOF
24000
24001 fi
24002 done
24003
24004     fi
24005   fi
24006
24007
24008
24009
24010
24011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24012 $as_echo_n "checking for frexpl declaration... " >&6; }
24013   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24014     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24015   $as_echo_n "(cached) " >&6
24016 else
24017
24018
24019       ac_ext=cpp
24020 ac_cpp='$CXXCPP $CPPFLAGS'
24021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24024
24025       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h.  */
24027 #include <math.h>
24028 int
24029 main ()
24030 {
24031  frexpl(0, 0);
24032   ;
24033   return 0;
24034 }
24035 _ACEOF
24036 if ac_fn_cxx_try_compile "$LINENO"; then :
24037   glibcxx_cv_func_frexpl_use=yes
24038 else
24039   glibcxx_cv_func_frexpl_use=no
24040 fi
24041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24042       ac_ext=c
24043 ac_cpp='$CPP $CPPFLAGS'
24044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24047
24048
24049 fi
24050
24051   fi
24052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24053 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24054
24055   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24056     for ac_func in frexpl
24057 do :
24058   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24059 if test "x$ac_cv_func_frexpl" = x""yes; then :
24060   cat >>confdefs.h <<_ACEOF
24061 #define HAVE_FREXPL 1
24062 _ACEOF
24063
24064 fi
24065 done
24066
24067   else
24068
24069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24070 $as_echo_n "checking for _frexpl declaration... " >&6; }
24071   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24072     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24073   $as_echo_n "(cached) " >&6
24074 else
24075
24076
24077       ac_ext=cpp
24078 ac_cpp='$CXXCPP $CPPFLAGS'
24079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082
24083       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24084 /* end confdefs.h.  */
24085 #include <math.h>
24086 int
24087 main ()
24088 {
24089  _frexpl(0, 0);
24090   ;
24091   return 0;
24092 }
24093 _ACEOF
24094 if ac_fn_cxx_try_compile "$LINENO"; then :
24095   glibcxx_cv_func__frexpl_use=yes
24096 else
24097   glibcxx_cv_func__frexpl_use=no
24098 fi
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100       ac_ext=c
24101 ac_cpp='$CPP $CPPFLAGS'
24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105
24106
24107 fi
24108
24109   fi
24110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24111 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24112
24113     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24114       for ac_func in _frexpl
24115 do :
24116   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24117 if test "x$ac_cv_func__frexpl" = x""yes; then :
24118   cat >>confdefs.h <<_ACEOF
24119 #define HAVE__FREXPL 1
24120 _ACEOF
24121
24122 fi
24123 done
24124
24125     fi
24126   fi
24127
24128
24129
24130
24131
24132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24133 $as_echo_n "checking for hypotl declaration... " >&6; }
24134   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24135     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24136   $as_echo_n "(cached) " >&6
24137 else
24138
24139
24140       ac_ext=cpp
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24145
24146       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24147 /* end confdefs.h.  */
24148 #include <math.h>
24149 int
24150 main ()
24151 {
24152  hypotl(0, 0);
24153   ;
24154   return 0;
24155 }
24156 _ACEOF
24157 if ac_fn_cxx_try_compile "$LINENO"; then :
24158   glibcxx_cv_func_hypotl_use=yes
24159 else
24160   glibcxx_cv_func_hypotl_use=no
24161 fi
24162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24163       ac_ext=c
24164 ac_cpp='$CPP $CPPFLAGS'
24165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24168
24169
24170 fi
24171
24172   fi
24173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24174 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24175
24176   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24177     for ac_func in hypotl
24178 do :
24179   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24180 if test "x$ac_cv_func_hypotl" = x""yes; then :
24181   cat >>confdefs.h <<_ACEOF
24182 #define HAVE_HYPOTL 1
24183 _ACEOF
24184
24185 fi
24186 done
24187
24188   else
24189
24190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24191 $as_echo_n "checking for _hypotl declaration... " >&6; }
24192   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24193     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24194   $as_echo_n "(cached) " >&6
24195 else
24196
24197
24198       ac_ext=cpp
24199 ac_cpp='$CXXCPP $CPPFLAGS'
24200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203
24204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24205 /* end confdefs.h.  */
24206 #include <math.h>
24207 int
24208 main ()
24209 {
24210  _hypotl(0, 0);
24211   ;
24212   return 0;
24213 }
24214 _ACEOF
24215 if ac_fn_cxx_try_compile "$LINENO"; then :
24216   glibcxx_cv_func__hypotl_use=yes
24217 else
24218   glibcxx_cv_func__hypotl_use=no
24219 fi
24220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24221       ac_ext=c
24222 ac_cpp='$CPP $CPPFLAGS'
24223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24226
24227
24228 fi
24229
24230   fi
24231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24232 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24233
24234     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24235       for ac_func in _hypotl
24236 do :
24237   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24238 if test "x$ac_cv_func__hypotl" = x""yes; then :
24239   cat >>confdefs.h <<_ACEOF
24240 #define HAVE__HYPOTL 1
24241 _ACEOF
24242
24243 fi
24244 done
24245
24246     fi
24247   fi
24248
24249
24250
24251
24252
24253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24254 $as_echo_n "checking for ldexpl declaration... " >&6; }
24255   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24256     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24257   $as_echo_n "(cached) " >&6
24258 else
24259
24260
24261       ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24266
24267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h.  */
24269 #include <math.h>
24270 int
24271 main ()
24272 {
24273  ldexpl(0, 0);
24274   ;
24275   return 0;
24276 }
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279   glibcxx_cv_func_ldexpl_use=yes
24280 else
24281   glibcxx_cv_func_ldexpl_use=no
24282 fi
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284       ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290
24291 fi
24292
24293   fi
24294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24295 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24296
24297   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24298     for ac_func in ldexpl
24299 do :
24300   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24301 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24302   cat >>confdefs.h <<_ACEOF
24303 #define HAVE_LDEXPL 1
24304 _ACEOF
24305
24306 fi
24307 done
24308
24309   else
24310
24311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24312 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24313   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24314     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24315   $as_echo_n "(cached) " >&6
24316 else
24317
24318
24319       ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24324
24325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h.  */
24327 #include <math.h>
24328 int
24329 main ()
24330 {
24331  _ldexpl(0, 0);
24332   ;
24333   return 0;
24334 }
24335 _ACEOF
24336 if ac_fn_cxx_try_compile "$LINENO"; then :
24337   glibcxx_cv_func__ldexpl_use=yes
24338 else
24339   glibcxx_cv_func__ldexpl_use=no
24340 fi
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342       ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347
24348
24349 fi
24350
24351   fi
24352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24353 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24354
24355     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24356       for ac_func in _ldexpl
24357 do :
24358   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24359 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24360   cat >>confdefs.h <<_ACEOF
24361 #define HAVE__LDEXPL 1
24362 _ACEOF
24363
24364 fi
24365 done
24366
24367     fi
24368   fi
24369
24370
24371
24372
24373
24374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24375 $as_echo_n "checking for logl declaration... " >&6; }
24376   if test x${glibcxx_cv_func_logl_use+set} != xset; then
24377     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24378   $as_echo_n "(cached) " >&6
24379 else
24380
24381
24382       ac_ext=cpp
24383 ac_cpp='$CXXCPP $CPPFLAGS'
24384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24387
24388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24389 /* end confdefs.h.  */
24390 #include <math.h>
24391                       #ifdef HAVE_IEEEFP_H
24392                       #include <ieeefp.h>
24393                       #endif
24394
24395 int
24396 main ()
24397 {
24398  logl(0);
24399   ;
24400   return 0;
24401 }
24402 _ACEOF
24403 if ac_fn_cxx_try_compile "$LINENO"; then :
24404   glibcxx_cv_func_logl_use=yes
24405 else
24406   glibcxx_cv_func_logl_use=no
24407 fi
24408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24409       ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24414
24415
24416 fi
24417
24418   fi
24419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24420 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24421
24422   if test x$glibcxx_cv_func_logl_use = x"yes"; then
24423     for ac_func in logl
24424 do :
24425   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24426 if test "x$ac_cv_func_logl" = x""yes; then :
24427   cat >>confdefs.h <<_ACEOF
24428 #define HAVE_LOGL 1
24429 _ACEOF
24430
24431 fi
24432 done
24433
24434   else
24435
24436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24437 $as_echo_n "checking for _logl declaration... " >&6; }
24438   if test x${glibcxx_cv_func__logl_use+set} != xset; then
24439     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24440   $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444       ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h.  */
24452 #include <math.h>
24453                       #ifdef HAVE_IEEEFP_H
24454                       #include <ieeefp.h>
24455                       #endif
24456
24457 int
24458 main ()
24459 {
24460  _logl(0);
24461   ;
24462   return 0;
24463 }
24464 _ACEOF
24465 if ac_fn_cxx_try_compile "$LINENO"; then :
24466   glibcxx_cv_func__logl_use=yes
24467 else
24468   glibcxx_cv_func__logl_use=no
24469 fi
24470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24471       ac_ext=c
24472 ac_cpp='$CPP $CPPFLAGS'
24473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24476
24477
24478 fi
24479
24480   fi
24481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24482 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24483
24484     if test x$glibcxx_cv_func__logl_use = x"yes"; then
24485       for ac_func in _logl
24486 do :
24487   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24488 if test "x$ac_cv_func__logl" = x""yes; then :
24489   cat >>confdefs.h <<_ACEOF
24490 #define HAVE__LOGL 1
24491 _ACEOF
24492
24493 fi
24494 done
24495
24496     fi
24497   fi
24498
24499
24500
24501
24502
24503   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24504 $as_echo_n "checking for log10l declaration... " >&6; }
24505   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24506     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24507   $as_echo_n "(cached) " >&6
24508 else
24509
24510
24511       ac_ext=cpp
24512 ac_cpp='$CXXCPP $CPPFLAGS'
24513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24516
24517       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24518 /* end confdefs.h.  */
24519 #include <math.h>
24520                       #ifdef HAVE_IEEEFP_H
24521                       #include <ieeefp.h>
24522                       #endif
24523
24524 int
24525 main ()
24526 {
24527  log10l(0);
24528   ;
24529   return 0;
24530 }
24531 _ACEOF
24532 if ac_fn_cxx_try_compile "$LINENO"; then :
24533   glibcxx_cv_func_log10l_use=yes
24534 else
24535   glibcxx_cv_func_log10l_use=no
24536 fi
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24538       ac_ext=c
24539 ac_cpp='$CPP $CPPFLAGS'
24540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24543
24544
24545 fi
24546
24547   fi
24548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24549 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24550
24551   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24552     for ac_func in log10l
24553 do :
24554   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24555 if test "x$ac_cv_func_log10l" = x""yes; then :
24556   cat >>confdefs.h <<_ACEOF
24557 #define HAVE_LOG10L 1
24558 _ACEOF
24559
24560 fi
24561 done
24562
24563   else
24564
24565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24566 $as_echo_n "checking for _log10l declaration... " >&6; }
24567   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24568     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24569   $as_echo_n "(cached) " >&6
24570 else
24571
24572
24573       ac_ext=cpp
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24578
24579       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24580 /* end confdefs.h.  */
24581 #include <math.h>
24582                       #ifdef HAVE_IEEEFP_H
24583                       #include <ieeefp.h>
24584                       #endif
24585
24586 int
24587 main ()
24588 {
24589  _log10l(0);
24590   ;
24591   return 0;
24592 }
24593 _ACEOF
24594 if ac_fn_cxx_try_compile "$LINENO"; then :
24595   glibcxx_cv_func__log10l_use=yes
24596 else
24597   glibcxx_cv_func__log10l_use=no
24598 fi
24599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24600       ac_ext=c
24601 ac_cpp='$CPP $CPPFLAGS'
24602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24605
24606
24607 fi
24608
24609   fi
24610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24611 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24612
24613     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24614       for ac_func in _log10l
24615 do :
24616   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24617 if test "x$ac_cv_func__log10l" = x""yes; then :
24618   cat >>confdefs.h <<_ACEOF
24619 #define HAVE__LOG10L 1
24620 _ACEOF
24621
24622 fi
24623 done
24624
24625     fi
24626   fi
24627
24628
24629
24630
24631
24632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24633 $as_echo_n "checking for modfl declaration... " >&6; }
24634   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24635     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24636   $as_echo_n "(cached) " >&6
24637 else
24638
24639
24640       ac_ext=cpp
24641 ac_cpp='$CXXCPP $CPPFLAGS'
24642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24645
24646       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24647 /* end confdefs.h.  */
24648 #include <math.h>
24649 int
24650 main ()
24651 {
24652  modfl(0, 0);
24653   ;
24654   return 0;
24655 }
24656 _ACEOF
24657 if ac_fn_cxx_try_compile "$LINENO"; then :
24658   glibcxx_cv_func_modfl_use=yes
24659 else
24660   glibcxx_cv_func_modfl_use=no
24661 fi
24662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24663       ac_ext=c
24664 ac_cpp='$CPP $CPPFLAGS'
24665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668
24669
24670 fi
24671
24672   fi
24673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24674 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24675
24676   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24677     for ac_func in modfl
24678 do :
24679   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24680 if test "x$ac_cv_func_modfl" = x""yes; then :
24681   cat >>confdefs.h <<_ACEOF
24682 #define HAVE_MODFL 1
24683 _ACEOF
24684
24685 fi
24686 done
24687
24688   else
24689
24690   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24691 $as_echo_n "checking for _modfl declaration... " >&6; }
24692   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24693     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24694   $as_echo_n "(cached) " >&6
24695 else
24696
24697
24698       ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24703
24704       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h.  */
24706 #include <math.h>
24707 int
24708 main ()
24709 {
24710  _modfl(0, 0);
24711   ;
24712   return 0;
24713 }
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716   glibcxx_cv_func__modfl_use=yes
24717 else
24718   glibcxx_cv_func__modfl_use=no
24719 fi
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721       ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24726
24727
24728 fi
24729
24730   fi
24731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24732 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24733
24734     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24735       for ac_func in _modfl
24736 do :
24737   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24738 if test "x$ac_cv_func__modfl" = x""yes; then :
24739   cat >>confdefs.h <<_ACEOF
24740 #define HAVE__MODFL 1
24741 _ACEOF
24742
24743 fi
24744 done
24745
24746     fi
24747   fi
24748
24749
24750
24751
24752
24753   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24754 $as_echo_n "checking for powl declaration... " >&6; }
24755   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24756     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24757   $as_echo_n "(cached) " >&6
24758 else
24759
24760
24761       ac_ext=cpp
24762 ac_cpp='$CXXCPP $CPPFLAGS'
24763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24766
24767       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24768 /* end confdefs.h.  */
24769 #include <math.h>
24770 int
24771 main ()
24772 {
24773  powl(0, 0);
24774   ;
24775   return 0;
24776 }
24777 _ACEOF
24778 if ac_fn_cxx_try_compile "$LINENO"; then :
24779   glibcxx_cv_func_powl_use=yes
24780 else
24781   glibcxx_cv_func_powl_use=no
24782 fi
24783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24784       ac_ext=c
24785 ac_cpp='$CPP $CPPFLAGS'
24786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789
24790
24791 fi
24792
24793   fi
24794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24795 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24796
24797   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24798     for ac_func in powl
24799 do :
24800   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24801 if test "x$ac_cv_func_powl" = x""yes; then :
24802   cat >>confdefs.h <<_ACEOF
24803 #define HAVE_POWL 1
24804 _ACEOF
24805
24806 fi
24807 done
24808
24809   else
24810
24811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24812 $as_echo_n "checking for _powl declaration... " >&6; }
24813   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24814     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24815   $as_echo_n "(cached) " >&6
24816 else
24817
24818
24819       ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24824
24825       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h.  */
24827 #include <math.h>
24828 int
24829 main ()
24830 {
24831  _powl(0, 0);
24832   ;
24833   return 0;
24834 }
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837   glibcxx_cv_func__powl_use=yes
24838 else
24839   glibcxx_cv_func__powl_use=no
24840 fi
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842       ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849 fi
24850
24851   fi
24852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24853 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24854
24855     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24856       for ac_func in _powl
24857 do :
24858   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24859 if test "x$ac_cv_func__powl" = x""yes; then :
24860   cat >>confdefs.h <<_ACEOF
24861 #define HAVE__POWL 1
24862 _ACEOF
24863
24864 fi
24865 done
24866
24867     fi
24868   fi
24869
24870
24871
24872
24873
24874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24875 $as_echo_n "checking for sqrtl declaration... " >&6; }
24876   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24877     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24878   $as_echo_n "(cached) " >&6
24879 else
24880
24881
24882       ac_ext=cpp
24883 ac_cpp='$CXXCPP $CPPFLAGS'
24884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24887
24888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24889 /* end confdefs.h.  */
24890 #include <math.h>
24891                       #ifdef HAVE_IEEEFP_H
24892                       #include <ieeefp.h>
24893                       #endif
24894
24895 int
24896 main ()
24897 {
24898  sqrtl(0);
24899   ;
24900   return 0;
24901 }
24902 _ACEOF
24903 if ac_fn_cxx_try_compile "$LINENO"; then :
24904   glibcxx_cv_func_sqrtl_use=yes
24905 else
24906   glibcxx_cv_func_sqrtl_use=no
24907 fi
24908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24909       ac_ext=c
24910 ac_cpp='$CPP $CPPFLAGS'
24911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24914
24915
24916 fi
24917
24918   fi
24919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24920 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24921
24922   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24923     for ac_func in sqrtl
24924 do :
24925   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24926 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24927   cat >>confdefs.h <<_ACEOF
24928 #define HAVE_SQRTL 1
24929 _ACEOF
24930
24931 fi
24932 done
24933
24934   else
24935
24936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24937 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24938   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24939     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24940   $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944       ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h.  */
24952 #include <math.h>
24953                       #ifdef HAVE_IEEEFP_H
24954                       #include <ieeefp.h>
24955                       #endif
24956
24957 int
24958 main ()
24959 {
24960  _sqrtl(0);
24961   ;
24962   return 0;
24963 }
24964 _ACEOF
24965 if ac_fn_cxx_try_compile "$LINENO"; then :
24966   glibcxx_cv_func__sqrtl_use=yes
24967 else
24968   glibcxx_cv_func__sqrtl_use=no
24969 fi
24970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24971       ac_ext=c
24972 ac_cpp='$CPP $CPPFLAGS'
24973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24976
24977
24978 fi
24979
24980   fi
24981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24982 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24983
24984     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24985       for ac_func in _sqrtl
24986 do :
24987   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24988 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24989   cat >>confdefs.h <<_ACEOF
24990 #define HAVE__SQRTL 1
24991 _ACEOF
24992
24993 fi
24994 done
24995
24996     fi
24997   fi
24998
24999
25000
25001
25002
25003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25004 $as_echo_n "checking for sincosl declaration... " >&6; }
25005   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25006     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25007   $as_echo_n "(cached) " >&6
25008 else
25009
25010
25011       ac_ext=cpp
25012 ac_cpp='$CXXCPP $CPPFLAGS'
25013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25016
25017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25018 /* end confdefs.h.  */
25019 #include <math.h>
25020 int
25021 main ()
25022 {
25023  sincosl(0, 0, 0);
25024   ;
25025   return 0;
25026 }
25027 _ACEOF
25028 if ac_fn_cxx_try_compile "$LINENO"; then :
25029   glibcxx_cv_func_sincosl_use=yes
25030 else
25031   glibcxx_cv_func_sincosl_use=no
25032 fi
25033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25034       ac_ext=c
25035 ac_cpp='$CPP $CPPFLAGS'
25036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25039
25040
25041 fi
25042
25043   fi
25044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25045 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25046
25047   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25048     for ac_func in sincosl
25049 do :
25050   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25051 if test "x$ac_cv_func_sincosl" = x""yes; then :
25052   cat >>confdefs.h <<_ACEOF
25053 #define HAVE_SINCOSL 1
25054 _ACEOF
25055
25056 fi
25057 done
25058
25059   else
25060
25061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25062 $as_echo_n "checking for _sincosl declaration... " >&6; }
25063   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25064     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25065   $as_echo_n "(cached) " >&6
25066 else
25067
25068
25069       ac_ext=cpp
25070 ac_cpp='$CXXCPP $CPPFLAGS'
25071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25074
25075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25076 /* end confdefs.h.  */
25077 #include <math.h>
25078 int
25079 main ()
25080 {
25081  _sincosl(0, 0, 0);
25082   ;
25083   return 0;
25084 }
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087   glibcxx_cv_func__sincosl_use=yes
25088 else
25089   glibcxx_cv_func__sincosl_use=no
25090 fi
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092       ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25097
25098
25099 fi
25100
25101   fi
25102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25103 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25104
25105     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25106       for ac_func in _sincosl
25107 do :
25108   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25109 if test "x$ac_cv_func__sincosl" = x""yes; then :
25110   cat >>confdefs.h <<_ACEOF
25111 #define HAVE__SINCOSL 1
25112 _ACEOF
25113
25114 fi
25115 done
25116
25117     fi
25118   fi
25119
25120
25121
25122
25123
25124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25125 $as_echo_n "checking for finitel declaration... " >&6; }
25126   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25127     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25128   $as_echo_n "(cached) " >&6
25129 else
25130
25131
25132       ac_ext=cpp
25133 ac_cpp='$CXXCPP $CPPFLAGS'
25134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25137
25138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25139 /* end confdefs.h.  */
25140 #include <math.h>
25141                       #ifdef HAVE_IEEEFP_H
25142                       #include <ieeefp.h>
25143                       #endif
25144
25145 int
25146 main ()
25147 {
25148  finitel(0);
25149   ;
25150   return 0;
25151 }
25152 _ACEOF
25153 if ac_fn_cxx_try_compile "$LINENO"; then :
25154   glibcxx_cv_func_finitel_use=yes
25155 else
25156   glibcxx_cv_func_finitel_use=no
25157 fi
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159       ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25164
25165
25166 fi
25167
25168   fi
25169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25170 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25171
25172   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25173     for ac_func in finitel
25174 do :
25175   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25176 if test "x$ac_cv_func_finitel" = x""yes; then :
25177   cat >>confdefs.h <<_ACEOF
25178 #define HAVE_FINITEL 1
25179 _ACEOF
25180
25181 fi
25182 done
25183
25184   else
25185
25186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25187 $as_echo_n "checking for _finitel declaration... " >&6; }
25188   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25189     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25190   $as_echo_n "(cached) " >&6
25191 else
25192
25193
25194       ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25199
25200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201 /* end confdefs.h.  */
25202 #include <math.h>
25203                       #ifdef HAVE_IEEEFP_H
25204                       #include <ieeefp.h>
25205                       #endif
25206
25207 int
25208 main ()
25209 {
25210  _finitel(0);
25211   ;
25212   return 0;
25213 }
25214 _ACEOF
25215 if ac_fn_cxx_try_compile "$LINENO"; then :
25216   glibcxx_cv_func__finitel_use=yes
25217 else
25218   glibcxx_cv_func__finitel_use=no
25219 fi
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221       ac_ext=c
25222 ac_cpp='$CPP $CPPFLAGS'
25223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25226
25227
25228 fi
25229
25230   fi
25231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25232 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25233
25234     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25235       for ac_func in _finitel
25236 do :
25237   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25238 if test "x$ac_cv_func__finitel" = x""yes; then :
25239   cat >>confdefs.h <<_ACEOF
25240 #define HAVE__FINITEL 1
25241 _ACEOF
25242
25243 fi
25244 done
25245
25246     fi
25247   fi
25248
25249
25250
25251
25252   LIBS="$ac_save_LIBS"
25253   CXXFLAGS="$ac_save_CXXFLAGS"
25254
25255
25256   ac_test_CXXFLAGS="${CXXFLAGS+set}"
25257   ac_save_CXXFLAGS="$CXXFLAGS"
25258   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25259
25260
25261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25262 $as_echo_n "checking for strtold declaration... " >&6; }
25263   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25264     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25265   $as_echo_n "(cached) " >&6
25266 else
25267
25268
25269       ac_ext=cpp
25270 ac_cpp='$CXXCPP $CPPFLAGS'
25271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25274
25275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25276 /* end confdefs.h.  */
25277 #include <stdlib.h>
25278 int
25279 main ()
25280 {
25281  strtold(0, 0);
25282   ;
25283   return 0;
25284 }
25285 _ACEOF
25286 if ac_fn_cxx_try_compile "$LINENO"; then :
25287   glibcxx_cv_func_strtold_use=yes
25288 else
25289   glibcxx_cv_func_strtold_use=no
25290 fi
25291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25292       ac_ext=c
25293 ac_cpp='$CPP $CPPFLAGS'
25294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25297
25298
25299 fi
25300
25301   fi
25302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25303 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25304   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25305     for ac_func in strtold
25306 do :
25307   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25308 if test "x$ac_cv_func_strtold" = x""yes; then :
25309   cat >>confdefs.h <<_ACEOF
25310 #define HAVE_STRTOLD 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316   fi
25317
25318
25319
25320
25321   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25322 $as_echo_n "checking for strtof declaration... " >&6; }
25323   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25324     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25325   $as_echo_n "(cached) " >&6
25326 else
25327
25328
25329       ac_ext=cpp
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334
25335       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h.  */
25337 #include <stdlib.h>
25338 int
25339 main ()
25340 {
25341  strtof(0, 0);
25342   ;
25343   return 0;
25344 }
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347   glibcxx_cv_func_strtof_use=yes
25348 else
25349   glibcxx_cv_func_strtof_use=no
25350 fi
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352       ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25357
25358
25359 fi
25360
25361   fi
25362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25363 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25364   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25365     for ac_func in strtof
25366 do :
25367   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25368 if test "x$ac_cv_func_strtof" = x""yes; then :
25369   cat >>confdefs.h <<_ACEOF
25370 #define HAVE_STRTOF 1
25371 _ACEOF
25372
25373 fi
25374 done
25375
25376   fi
25377
25378
25379
25380
25381   CXXFLAGS="$ac_save_CXXFLAGS"
25382
25383
25384   # For /dev/random and /dev/urandom for TR1.
25385
25386
25387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25388 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25389   if test "${glibcxx_cv_random_tr1+set}" = set; then :
25390   $as_echo_n "(cached) " >&6
25391 else
25392
25393     if test -r /dev/random && test -r /dev/urandom; then
25394       glibcxx_cv_random_tr1=yes;
25395     else
25396       glibcxx_cv_random_tr1=no;
25397     fi
25398
25399 fi
25400
25401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25402 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25403
25404   if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25405
25406 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25407
25408   fi
25409
25410
25411
25412   # For TLS support.
25413
25414
25415    # Check whether --enable-tls was given.
25416 if test "${enable_tls+set}" = set; then :
25417   enableval=$enable_tls;
25418       case "$enableval" in
25419        yes|no) ;;
25420        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25421       esac
25422
25423 else
25424   enable_tls=yes
25425 fi
25426
25427
25428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25429 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25430 if test "${gcc_cv_have_tls+set}" = set; then :
25431   $as_echo_n "(cached) " >&6
25432 else
25433
25434     if test "$cross_compiling" = yes; then :
25435                 if test x$gcc_no_link = xyes; then
25436   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25437 fi
25438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25439 /* end confdefs.h.  */
25440 __thread int a; int b; int main() { return a = b; }
25441 _ACEOF
25442 if ac_fn_c_try_link "$LINENO"; then :
25443   chktls_save_LDFLAGS="$LDFLAGS"
25444                           case $host in
25445             *-*-linux*)
25446               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25447               ;;
25448           esac
25449           chktls_save_CFLAGS="$CFLAGS"
25450           CFLAGS="-fPIC $CFLAGS"
25451                   if test x$gcc_no_link = xyes; then
25452   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25453 fi
25454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25455 /* end confdefs.h.  */
25456 int f() { return 0; }
25457 _ACEOF
25458 if ac_fn_c_try_link "$LINENO"; then :
25459   if test x$gcc_no_link = xyes; then
25460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25461 fi
25462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25463 /* end confdefs.h.  */
25464 __thread int a; int b; int f() { return a = b; }
25465 _ACEOF
25466 if ac_fn_c_try_link "$LINENO"; then :
25467   gcc_cv_have_tls=yes
25468 else
25469   gcc_cv_have_tls=no
25470 fi
25471 rm -f core conftest.err conftest.$ac_objext \
25472     conftest$ac_exeext conftest.$ac_ext
25473 else
25474   gcc_cv_have_tls=yes
25475 fi
25476 rm -f core conftest.err conftest.$ac_objext \
25477     conftest$ac_exeext conftest.$ac_ext
25478           CFLAGS="$chktls_save_CFLAGS"
25479           LDFLAGS="$chktls_save_LDFLAGS"
25480 else
25481   gcc_cv_have_tls=no
25482 fi
25483 rm -f core conftest.err conftest.$ac_objext \
25484     conftest$ac_exeext conftest.$ac_ext
25485
25486
25487 else
25488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25489 /* end confdefs.h.  */
25490 __thread int a; int b; int main() { return a = b; }
25491 _ACEOF
25492 if ac_fn_c_try_run "$LINENO"; then :
25493                       chktls_save_LDFLAGS="$LDFLAGS"
25494       LDFLAGS="-static $LDFLAGS"
25495       if test x$gcc_no_link = xyes; then
25496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25497 fi
25498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h.  */
25500 int main() { return 0; }
25501 _ACEOF
25502 if ac_fn_c_try_link "$LINENO"; then :
25503   if test "$cross_compiling" = yes; then :
25504   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25506 as_fn_error "cannot run test program while cross compiling
25507 See \`config.log' for more details." "$LINENO" 5; }
25508 else
25509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25510 /* end confdefs.h.  */
25511 __thread int a; int b; int main() { return a = b; }
25512 _ACEOF
25513 if ac_fn_c_try_run "$LINENO"; then :
25514   gcc_cv_have_tls=yes
25515 else
25516   gcc_cv_have_tls=no
25517 fi
25518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25519   conftest.$ac_objext conftest.beam conftest.$ac_ext
25520 fi
25521
25522 else
25523   gcc_cv_have_tls=yes
25524 fi
25525 rm -f core conftest.err conftest.$ac_objext \
25526     conftest$ac_exeext conftest.$ac_ext
25527       LDFLAGS="$chktls_save_LDFLAGS"
25528       if test $gcc_cv_have_tls = yes; then
25529                                                 chktls_save_CFLAGS="$CFLAGS"
25530         thread_CFLAGS=failed
25531         for flag in '' '-pthread' '-lpthread'; do
25532           CFLAGS="$flag $chktls_save_CFLAGS"
25533           if test x$gcc_no_link = xyes; then
25534   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25535 fi
25536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25537 /* end confdefs.h.  */
25538 #include <pthread.h>
25539                 void *g(void *d) { return NULL; }
25540 int
25541 main ()
25542 {
25543 pthread_t t; pthread_create(&t,NULL,g,NULL);
25544   ;
25545   return 0;
25546 }
25547 _ACEOF
25548 if ac_fn_c_try_link "$LINENO"; then :
25549   thread_CFLAGS="$flag"
25550 fi
25551 rm -f core conftest.err conftest.$ac_objext \
25552     conftest$ac_exeext conftest.$ac_ext
25553           if test "X$thread_CFLAGS" != Xfailed; then
25554             break
25555           fi
25556         done
25557         CFLAGS="$chktls_save_CFLAGS"
25558         if test "X$thread_CFLAGS" != Xfailed; then
25559           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25560           if test "$cross_compiling" = yes; then :
25561   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25563 as_fn_error "cannot run test program while cross compiling
25564 See \`config.log' for more details." "$LINENO" 5; }
25565 else
25566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25567 /* end confdefs.h.  */
25568 #include <pthread.h>
25569                 __thread int a;
25570                 static int *a_in_other_thread;
25571                 static void *
25572                 thread_func (void *arg)
25573                 {
25574                   a_in_other_thread = &a;
25575                   return (void *)0;
25576                 }
25577 int
25578 main ()
25579 {
25580 pthread_t thread;
25581                 void *thread_retval;
25582                 int *a_in_main_thread;
25583                 if (pthread_create (&thread, (pthread_attr_t *)0,
25584                                     thread_func, (void *)0))
25585                   return 0;
25586                 a_in_main_thread = &a;
25587                 if (pthread_join (thread, &thread_retval))
25588                   return 0;
25589                 return (a_in_other_thread == a_in_main_thread);
25590   ;
25591   return 0;
25592 }
25593 _ACEOF
25594 if ac_fn_c_try_run "$LINENO"; then :
25595   gcc_cv_have_tls=yes
25596 else
25597   gcc_cv_have_tls=no
25598 fi
25599 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25600   conftest.$ac_objext conftest.beam conftest.$ac_ext
25601 fi
25602
25603           CFLAGS="$chktls_save_CFLAGS"
25604         fi
25605       fi
25606 else
25607   gcc_cv_have_tls=no
25608 fi
25609 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25610   conftest.$ac_objext conftest.beam conftest.$ac_ext
25611 fi
25612
25613 fi
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25615 $as_echo "$gcc_cv_have_tls" >&6; }
25616   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25617
25618 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25619
25620   fi
25621
25622   # For iconv support.
25623
25624       if test "X$prefix" = "XNONE"; then
25625     acl_final_prefix="$ac_default_prefix"
25626   else
25627     acl_final_prefix="$prefix"
25628   fi
25629   if test "X$exec_prefix" = "XNONE"; then
25630     acl_final_exec_prefix='${prefix}'
25631   else
25632     acl_final_exec_prefix="$exec_prefix"
25633   fi
25634   acl_save_prefix="$prefix"
25635   prefix="$acl_final_prefix"
25636   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25637   prefix="$acl_save_prefix"
25638
25639
25640 # Check whether --with-gnu-ld was given.
25641 if test "${with_gnu_ld+set}" = set; then :
25642   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25643 else
25644   with_gnu_ld=no
25645 fi
25646
25647 # Prepare PATH_SEPARATOR.
25648 # The user is always right.
25649 if test "${PATH_SEPARATOR+set}" != set; then
25650   echo "#! /bin/sh" >conf$$.sh
25651   echo  "exit 0"   >>conf$$.sh
25652   chmod +x conf$$.sh
25653   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25654     PATH_SEPARATOR=';'
25655   else
25656     PATH_SEPARATOR=:
25657   fi
25658   rm -f conf$$.sh
25659 fi
25660 ac_prog=ld
25661 if test "$GCC" = yes; then
25662   # Check if gcc -print-prog-name=ld gives a path.
25663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25664 $as_echo_n "checking for ld used by GCC... " >&6; }
25665   case $host in
25666   *-*-mingw*)
25667     # gcc leaves a trailing carriage return which upsets mingw
25668     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25669   *)
25670     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25671   esac
25672   case $ac_prog in
25673     # Accept absolute paths.
25674     [\\/]* | [A-Za-z]:[\\/]*)
25675       re_direlt='/[^/][^/]*/\.\./'
25676       # Canonicalize the path of ld
25677       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25678       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25679         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25680       done
25681       test -z "$LD" && LD="$ac_prog"
25682       ;;
25683   "")
25684     # If it fails, then pretend we aren't using GCC.
25685     ac_prog=ld
25686     ;;
25687   *)
25688     # If it is relative, then search for the first ld in PATH.
25689     with_gnu_ld=unknown
25690     ;;
25691   esac
25692 elif test "$with_gnu_ld" = yes; then
25693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25694 $as_echo_n "checking for GNU ld... " >&6; }
25695 else
25696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25697 $as_echo_n "checking for non-GNU ld... " >&6; }
25698 fi
25699 if test "${acl_cv_path_LD+set}" = set; then :
25700   $as_echo_n "(cached) " >&6
25701 else
25702   if test -z "$LD"; then
25703   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25704   for ac_dir in $PATH; do
25705     test -z "$ac_dir" && ac_dir=.
25706     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25707       acl_cv_path_LD="$ac_dir/$ac_prog"
25708       # Check to see if the program is GNU ld.  I'd rather use --version,
25709       # but apparently some GNU ld's only accept -v.
25710       # Break only if it was the GNU/non-GNU ld that we prefer.
25711       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25712         test "$with_gnu_ld" != no && break
25713       else
25714         test "$with_gnu_ld" != yes && break
25715       fi
25716     fi
25717   done
25718   IFS="$ac_save_ifs"
25719 else
25720   acl_cv_path_LD="$LD" # Let the user override the test with a path.
25721 fi
25722 fi
25723
25724 LD="$acl_cv_path_LD"
25725 if test -n "$LD"; then
25726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25727 $as_echo "$LD" >&6; }
25728 else
25729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25730 $as_echo "no" >&6; }
25731 fi
25732 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25734 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25735 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25736   $as_echo_n "(cached) " >&6
25737 else
25738   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25739 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25740   acl_cv_prog_gnu_ld=yes
25741 else
25742   acl_cv_prog_gnu_ld=no
25743 fi
25744 fi
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25746 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25747 with_gnu_ld=$acl_cv_prog_gnu_ld
25748
25749
25750
25751                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25752 $as_echo_n "checking for shared library run path origin... " >&6; }
25753 if test "${acl_cv_rpath+set}" = set; then :
25754   $as_echo_n "(cached) " >&6
25755 else
25756
25757     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25758     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25759     . ./conftest.sh
25760     rm -f ./conftest.sh
25761     acl_cv_rpath=done
25762
25763 fi
25764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25765 $as_echo "$acl_cv_rpath" >&6; }
25766   wl="$acl_cv_wl"
25767   libext="$acl_cv_libext"
25768   shlibext="$acl_cv_shlibext"
25769   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25770   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25771   hardcode_direct="$acl_cv_hardcode_direct"
25772   hardcode_minus_L="$acl_cv_hardcode_minus_L"
25773     # Check whether --enable-rpath was given.
25774 if test "${enable_rpath+set}" = set; then :
25775   enableval=$enable_rpath; :
25776 else
25777   enable_rpath=yes
25778 fi
25779
25780
25781
25782
25783
25784
25785
25786
25787     use_additional=yes
25788
25789   acl_save_prefix="$prefix"
25790   prefix="$acl_final_prefix"
25791   acl_save_exec_prefix="$exec_prefix"
25792   exec_prefix="$acl_final_exec_prefix"
25793
25794     eval additional_includedir=\"$includedir\"
25795     eval additional_libdir=\"$libdir\"
25796
25797   exec_prefix="$acl_save_exec_prefix"
25798   prefix="$acl_save_prefix"
25799
25800
25801 # Check whether --with-libiconv-prefix was given.
25802 if test "${with_libiconv_prefix+set}" = set; then :
25803   withval=$with_libiconv_prefix;
25804     if test "X$withval" = "Xno"; then
25805       use_additional=no
25806     else
25807       if test "X$withval" = "X"; then
25808
25809   acl_save_prefix="$prefix"
25810   prefix="$acl_final_prefix"
25811   acl_save_exec_prefix="$exec_prefix"
25812   exec_prefix="$acl_final_exec_prefix"
25813
25814           eval additional_includedir=\"$includedir\"
25815           eval additional_libdir=\"$libdir\"
25816
25817   exec_prefix="$acl_save_exec_prefix"
25818   prefix="$acl_save_prefix"
25819
25820       else
25821         additional_includedir="$withval/include"
25822         additional_libdir="$withval/lib"
25823       fi
25824     fi
25825
25826 fi
25827
25828       LIBICONV=
25829   LTLIBICONV=
25830   INCICONV=
25831   rpathdirs=
25832   ltrpathdirs=
25833   names_already_handled=
25834   names_next_round='iconv '
25835   while test -n "$names_next_round"; do
25836     names_this_round="$names_next_round"
25837     names_next_round=
25838     for name in $names_this_round; do
25839       already_handled=
25840       for n in $names_already_handled; do
25841         if test "$n" = "$name"; then
25842           already_handled=yes
25843           break
25844         fi
25845       done
25846       if test -z "$already_handled"; then
25847         names_already_handled="$names_already_handled $name"
25848                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25849         eval value=\"\$HAVE_LIB$uppername\"
25850         if test -n "$value"; then
25851           if test "$value" = yes; then
25852             eval value=\"\$LIB$uppername\"
25853             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25854             eval value=\"\$LTLIB$uppername\"
25855             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25856           else
25857                                     :
25858           fi
25859         else
25860                               found_dir=
25861           found_la=
25862           found_so=
25863           found_a=
25864           if test $use_additional = yes; then
25865             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25866               found_dir="$additional_libdir"
25867               found_so="$additional_libdir/lib$name.$shlibext"
25868               if test -f "$additional_libdir/lib$name.la"; then
25869                 found_la="$additional_libdir/lib$name.la"
25870               fi
25871             else
25872               if test -f "$additional_libdir/lib$name.$libext"; then
25873                 found_dir="$additional_libdir"
25874                 found_a="$additional_libdir/lib$name.$libext"
25875                 if test -f "$additional_libdir/lib$name.la"; then
25876                   found_la="$additional_libdir/lib$name.la"
25877                 fi
25878               fi
25879             fi
25880           fi
25881           if test "X$found_dir" = "X"; then
25882             for x in $LDFLAGS $LTLIBICONV; do
25883
25884   acl_save_prefix="$prefix"
25885   prefix="$acl_final_prefix"
25886   acl_save_exec_prefix="$exec_prefix"
25887   exec_prefix="$acl_final_exec_prefix"
25888   eval x=\"$x\"
25889   exec_prefix="$acl_save_exec_prefix"
25890   prefix="$acl_save_prefix"
25891
25892               case "$x" in
25893                 -L*)
25894                   dir=`echo "X$x" | sed -e 's/^X-L//'`
25895                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25896                     found_dir="$dir"
25897                     found_so="$dir/lib$name.$shlibext"
25898                     if test -f "$dir/lib$name.la"; then
25899                       found_la="$dir/lib$name.la"
25900                     fi
25901                   else
25902                     if test -f "$dir/lib$name.$libext"; then
25903                       found_dir="$dir"
25904                       found_a="$dir/lib$name.$libext"
25905                       if test -f "$dir/lib$name.la"; then
25906                         found_la="$dir/lib$name.la"
25907                       fi
25908                     fi
25909                   fi
25910                   ;;
25911               esac
25912               if test "X$found_dir" != "X"; then
25913                 break
25914               fi
25915             done
25916           fi
25917           if test "X$found_dir" != "X"; then
25918                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25919             if test "X$found_so" != "X"; then
25920                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25921                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25922               else
25923                                                                                 haveit=
25924                 for x in $ltrpathdirs; do
25925                   if test "X$x" = "X$found_dir"; then
25926                     haveit=yes
25927                     break
25928                   fi
25929                 done
25930                 if test -z "$haveit"; then
25931                   ltrpathdirs="$ltrpathdirs $found_dir"
25932                 fi
25933                                 if test "$hardcode_direct" = yes; then
25934                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25935                 else
25936                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25937                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25938                                                             haveit=
25939                     for x in $rpathdirs; do
25940                       if test "X$x" = "X$found_dir"; then
25941                         haveit=yes
25942                         break
25943                       fi
25944                     done
25945                     if test -z "$haveit"; then
25946                       rpathdirs="$rpathdirs $found_dir"
25947                     fi
25948                   else
25949                                                                                 haveit=
25950                     for x in $LDFLAGS $LIBICONV; do
25951
25952   acl_save_prefix="$prefix"
25953   prefix="$acl_final_prefix"
25954   acl_save_exec_prefix="$exec_prefix"
25955   exec_prefix="$acl_final_exec_prefix"
25956   eval x=\"$x\"
25957   exec_prefix="$acl_save_exec_prefix"
25958   prefix="$acl_save_prefix"
25959
25960                       if test "X$x" = "X-L$found_dir"; then
25961                         haveit=yes
25962                         break
25963                       fi
25964                     done
25965                     if test -z "$haveit"; then
25966                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25967                     fi
25968                     if test "$hardcode_minus_L" != no; then
25969                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25970                     else
25971                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25972                     fi
25973                   fi
25974                 fi
25975               fi
25976             else
25977               if test "X$found_a" != "X"; then
25978                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25979               else
25980                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25981               fi
25982             fi
25983                         additional_includedir=
25984             case "$found_dir" in
25985               */lib | */lib/)
25986                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25987                 additional_includedir="$basedir/include"
25988                 ;;
25989             esac
25990             if test "X$additional_includedir" != "X"; then
25991                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
25992                 haveit=
25993                 if test "X$additional_includedir" = "X/usr/local/include"; then
25994                   if test -n "$GCC"; then
25995                     case $host_os in
25996                       linux*) haveit=yes;;
25997                     esac
25998                   fi
25999                 fi
26000                 if test -z "$haveit"; then
26001                   for x in $CPPFLAGS $INCICONV; do
26002
26003   acl_save_prefix="$prefix"
26004   prefix="$acl_final_prefix"
26005   acl_save_exec_prefix="$exec_prefix"
26006   exec_prefix="$acl_final_exec_prefix"
26007   eval x=\"$x\"
26008   exec_prefix="$acl_save_exec_prefix"
26009   prefix="$acl_save_prefix"
26010
26011                     if test "X$x" = "X-I$additional_includedir"; then
26012                       haveit=yes
26013                       break
26014                     fi
26015                   done
26016                   if test -z "$haveit"; then
26017                     if test -d "$additional_includedir"; then
26018                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26019                     fi
26020                   fi
26021                 fi
26022               fi
26023             fi
26024                         if test -n "$found_la"; then
26025                                                         save_libdir="$libdir"
26026               case "$found_la" in
26027                 */* | *\\*) . "$found_la" ;;
26028                 *) . "./$found_la" ;;
26029               esac
26030               libdir="$save_libdir"
26031                             for dep in $dependency_libs; do
26032                 case "$dep" in
26033                   -L*)
26034                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26035                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
26036                       haveit=
26037                       if test "X$additional_libdir" = "X/usr/local/lib"; then
26038                         if test -n "$GCC"; then
26039                           case $host_os in
26040                             linux*) haveit=yes;;
26041                           esac
26042                         fi
26043                       fi
26044                       if test -z "$haveit"; then
26045                         haveit=
26046                         for x in $LDFLAGS $LIBICONV; do
26047
26048   acl_save_prefix="$prefix"
26049   prefix="$acl_final_prefix"
26050   acl_save_exec_prefix="$exec_prefix"
26051   exec_prefix="$acl_final_exec_prefix"
26052   eval x=\"$x\"
26053   exec_prefix="$acl_save_exec_prefix"
26054   prefix="$acl_save_prefix"
26055
26056                           if test "X$x" = "X-L$additional_libdir"; then
26057                             haveit=yes
26058                             break
26059                           fi
26060                         done
26061                         if test -z "$haveit"; then
26062                           if test -d "$additional_libdir"; then
26063                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26064                           fi
26065                         fi
26066                         haveit=
26067                         for x in $LDFLAGS $LTLIBICONV; do
26068
26069   acl_save_prefix="$prefix"
26070   prefix="$acl_final_prefix"
26071   acl_save_exec_prefix="$exec_prefix"
26072   exec_prefix="$acl_final_exec_prefix"
26073   eval x=\"$x\"
26074   exec_prefix="$acl_save_exec_prefix"
26075   prefix="$acl_save_prefix"
26076
26077                           if test "X$x" = "X-L$additional_libdir"; then
26078                             haveit=yes
26079                             break
26080                           fi
26081                         done
26082                         if test -z "$haveit"; then
26083                           if test -d "$additional_libdir"; then
26084                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26085                           fi
26086                         fi
26087                       fi
26088                     fi
26089                     ;;
26090                   -R*)
26091                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
26092                     if test "$enable_rpath" != no; then
26093                                                                   haveit=
26094                       for x in $rpathdirs; do
26095                         if test "X$x" = "X$dir"; then
26096                           haveit=yes
26097                           break
26098                         fi
26099                       done
26100                       if test -z "$haveit"; then
26101                         rpathdirs="$rpathdirs $dir"
26102                       fi
26103                                                                   haveit=
26104                       for x in $ltrpathdirs; do
26105                         if test "X$x" = "X$dir"; then
26106                           haveit=yes
26107                           break
26108                         fi
26109                       done
26110                       if test -z "$haveit"; then
26111                         ltrpathdirs="$ltrpathdirs $dir"
26112                       fi
26113                     fi
26114                     ;;
26115                   -l*)
26116                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26117                     ;;
26118                   *.la)
26119                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26120                     ;;
26121                   *)
26122                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26123                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26124                     ;;
26125                 esac
26126               done
26127             fi
26128           else
26129                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26130             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26131           fi
26132         fi
26133       fi
26134     done
26135   done
26136   if test "X$rpathdirs" != "X"; then
26137     if test -n "$hardcode_libdir_separator"; then
26138                         alldirs=
26139       for found_dir in $rpathdirs; do
26140         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26141       done
26142             acl_save_libdir="$libdir"
26143       libdir="$alldirs"
26144       eval flag=\"$hardcode_libdir_flag_spec\"
26145       libdir="$acl_save_libdir"
26146       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26147     else
26148             for found_dir in $rpathdirs; do
26149         acl_save_libdir="$libdir"
26150         libdir="$found_dir"
26151         eval flag=\"$hardcode_libdir_flag_spec\"
26152         libdir="$acl_save_libdir"
26153         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26154       done
26155     fi
26156   fi
26157   if test "X$ltrpathdirs" != "X"; then
26158             for found_dir in $ltrpathdirs; do
26159       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26160     done
26161   fi
26162
26163
26164
26165
26166
26167
26168
26169           am_save_CPPFLAGS="$CPPFLAGS"
26170
26171   for element in $INCICONV; do
26172     haveit=
26173     for x in $CPPFLAGS; do
26174
26175   acl_save_prefix="$prefix"
26176   prefix="$acl_final_prefix"
26177   acl_save_exec_prefix="$exec_prefix"
26178   exec_prefix="$acl_final_exec_prefix"
26179   eval x=\"$x\"
26180   exec_prefix="$acl_save_exec_prefix"
26181   prefix="$acl_save_prefix"
26182
26183       if test "X$x" = "X$element"; then
26184         haveit=yes
26185         break
26186       fi
26187     done
26188     if test -z "$haveit"; then
26189       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26190     fi
26191   done
26192
26193
26194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26195 $as_echo_n "checking for iconv... " >&6; }
26196 if test "${am_cv_func_iconv+set}" = set; then :
26197   $as_echo_n "(cached) " >&6
26198 else
26199
26200     am_cv_func_iconv="no, consider installing GNU libiconv"
26201     am_cv_lib_iconv=no
26202     if test x$gcc_no_link = xyes; then
26203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26204 fi
26205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26206 /* end confdefs.h.  */
26207 #include <stdlib.h>
26208 #include <iconv.h>
26209 int
26210 main ()
26211 {
26212 iconv_t cd = iconv_open("","");
26213        iconv(cd,NULL,NULL,NULL,NULL);
26214        iconv_close(cd);
26215   ;
26216   return 0;
26217 }
26218 _ACEOF
26219 if ac_fn_c_try_link "$LINENO"; then :
26220   am_cv_func_iconv=yes
26221 fi
26222 rm -f core conftest.err conftest.$ac_objext \
26223     conftest$ac_exeext conftest.$ac_ext
26224     if test "$am_cv_func_iconv" != yes; then
26225       am_save_LIBS="$LIBS"
26226       LIBS="$LIBS $LIBICONV"
26227       if test x$gcc_no_link = xyes; then
26228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26229 fi
26230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26231 /* end confdefs.h.  */
26232 #include <stdlib.h>
26233 #include <iconv.h>
26234 int
26235 main ()
26236 {
26237 iconv_t cd = iconv_open("","");
26238          iconv(cd,NULL,NULL,NULL,NULL);
26239          iconv_close(cd);
26240   ;
26241   return 0;
26242 }
26243 _ACEOF
26244 if ac_fn_c_try_link "$LINENO"; then :
26245   am_cv_lib_iconv=yes
26246         am_cv_func_iconv=yes
26247 fi
26248 rm -f core conftest.err conftest.$ac_objext \
26249     conftest$ac_exeext conftest.$ac_ext
26250       LIBS="$am_save_LIBS"
26251     fi
26252
26253 fi
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26255 $as_echo "$am_cv_func_iconv" >&6; }
26256   if test "$am_cv_func_iconv" = yes; then
26257
26258 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26259
26260   fi
26261   if test "$am_cv_lib_iconv" = yes; then
26262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26263 $as_echo_n "checking how to link with libiconv... " >&6; }
26264     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26265 $as_echo "$LIBICONV" >&6; }
26266   else
26267             CPPFLAGS="$am_save_CPPFLAGS"
26268     LIBICONV=
26269     LTLIBICONV=
26270   fi
26271
26272
26273
26274   if test "$am_cv_func_iconv" = yes; then
26275     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26276 $as_echo_n "checking for iconv declaration... " >&6; }
26277     if test "${am_cv_proto_iconv+set}" = set; then :
26278   $as_echo_n "(cached) " >&6
26279 else
26280
26281       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h.  */
26283
26284 #include <stdlib.h>
26285 #include <iconv.h>
26286 extern
26287 #ifdef __cplusplus
26288 "C"
26289 #endif
26290 #if defined(__STDC__) || defined(__cplusplus)
26291 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26292 #else
26293 size_t iconv();
26294 #endif
26295
26296 int
26297 main ()
26298 {
26299
26300   ;
26301   return 0;
26302 }
26303 _ACEOF
26304 if ac_fn_c_try_compile "$LINENO"; then :
26305   am_cv_proto_iconv_arg1=""
26306 else
26307   am_cv_proto_iconv_arg1="const"
26308 fi
26309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26310       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);"
26311 fi
26312
26313     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26315          }$am_cv_proto_iconv" >&5
26316 $as_echo "${ac_t:-
26317          }$am_cv_proto_iconv" >&6; }
26318
26319 cat >>confdefs.h <<_ACEOF
26320 #define ICONV_CONST $am_cv_proto_iconv_arg1
26321 _ACEOF
26322
26323   fi
26324
26325
26326 else
26327
26328   # This lets us hard-code the functionality we know we'll have in the cross
26329   # target environment.  "Let" is a sugar-coated word placed on an especially
26330   # dull and tedious hack, actually.
26331   #
26332   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26333   # that involve linking, can't be used:
26334   #    "cannot open sim-crt0.o"
26335   #    "cannot open crt0.o"
26336   # etc.  All this is because there currently exists no unified, consistent
26337   # way for top level CC information to be passed down to target directories:
26338   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26339   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26340   # crosses can be removed.
26341
26342   # If Canadian cross, then don't pick up tools from the build directory.
26343   # Used only in GLIBCXX_EXPORT_INCLUDES.
26344   if test -n "$with_cross_host" &&
26345      test x"$build_alias" != x"$with_cross_host" &&
26346      test x"$build" != x"$target";
26347   then
26348     CANADIAN=yes
26349   else
26350     CANADIAN=no
26351   fi
26352
26353   # Construct crosses by hand, eliminating bits that need ld...
26354   # GLIBCXX_CHECK_MATH_SUPPORT
26355
26356   # First, test for "known" system libraries.  We may be using newlib even
26357   # on a hosted environment.
26358   if test "x${with_newlib}" = "xyes"; then
26359     os_include_dir="os/newlib"
26360     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26361
26362
26363     # GLIBCXX_CHECK_STDLIB_SUPPORT
26364     $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26365
26366
26367     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26368
26369     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26370
26371     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26372
26373     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26374
26375     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26376
26377     $as_echo "#define HAVE_COSF 1" >>confdefs.h
26378
26379     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26380
26381     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26382
26383     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26384
26385     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26386
26387     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26388
26389     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26390
26391     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26392
26393     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26394
26395     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26396
26397     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26398
26399     $as_echo "#define HAVE_POWF 1" >>confdefs.h
26400
26401     $as_echo "#define HAVE_SINF 1" >>confdefs.h
26402
26403     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26404
26405     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26406
26407     $as_echo "#define HAVE_TANF 1" >>confdefs.h
26408
26409     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26410
26411
26412     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26413
26414   else
26415
26416 # Base decisions on target environment.
26417 case "${host}" in
26418   arm*-*-symbianelf*)
26419     # This is a freestanding configuration; there is nothing to do here.
26420     ;;
26421
26422   mips*-sde-elf*)
26423     # These definitions are for the SDE C library rather than newlib.
26424     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26425
26426
26427   # All these tests are for C++; save the language and the compiler flags.
26428   # The CXXFLAGS thing is suspicious, but based on similar bits previously
26429   # found in GLIBCXX_CONFIGURE.
26430
26431   ac_ext=cpp
26432 ac_cpp='$CXXCPP $CPPFLAGS'
26433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26436
26437   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26438   ac_save_CXXFLAGS="$CXXFLAGS"
26439
26440   # Check for maintainer-mode bits.
26441   if test x"$USE_MAINTAINER_MODE" = xno; then
26442     WERROR=''
26443   else
26444     WERROR='-Werror'
26445   fi
26446
26447   # Check for -ffunction-sections -fdata-sections
26448   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26449 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26450   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26452 /* end confdefs.h.  */
26453 int foo; void bar() { };
26454 int
26455 main ()
26456 {
26457
26458   ;
26459   return 0;
26460 }
26461 _ACEOF
26462 if ac_fn_cxx_try_compile "$LINENO"; then :
26463   ac_fdsections=yes
26464 else
26465   ac_fdsections=no
26466 fi
26467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26468   if test "$ac_test_CXXFLAGS" = set; then
26469     CXXFLAGS="$ac_save_CXXFLAGS"
26470   else
26471     # this is the suspicious part
26472     CXXFLAGS=''
26473   fi
26474   if test x"$ac_fdsections" = x"yes"; then
26475     SECTION_FLAGS='-ffunction-sections -fdata-sections'
26476   fi
26477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26478 $as_echo "$ac_fdsections" >&6; }
26479
26480   ac_ext=c
26481 ac_cpp='$CPP $CPPFLAGS'
26482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26485
26486
26487
26488
26489
26490   # If we're not using GNU ld, then there's no point in even trying these
26491   # tests.  Check for that first.  We should have already tested for gld
26492   # by now (in libtool), but require it now just to be safe...
26493   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26494   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26495
26496
26497
26498   # The name set by libtool depends on the version of libtool.  Shame on us
26499   # for depending on an impl detail, but c'est la vie.  Older versions used
26500   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26501   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26502   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
26503   # set (hence we're using an older libtool), then set it.
26504   if test x${with_gnu_ld+set} != xset; then
26505     if test x${ac_cv_prog_gnu_ld+set} != xset; then
26506       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
26507       with_gnu_ld=no
26508     else
26509       with_gnu_ld=$ac_cv_prog_gnu_ld
26510     fi
26511   fi
26512
26513   # Start by getting the version number.  I think the libtool test already
26514   # does some of this, but throws away the result.
26515   glibcxx_ld_is_gold=no
26516   if test x"$with_gnu_ld" = x"yes"; then
26517     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26518 $as_echo_n "checking for ld version... " >&6; }
26519
26520     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26521       glibcxx_ld_is_gold=yes
26522     fi
26523     ldver=`$LD --version 2>/dev/null |
26524            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'`
26525
26526     glibcxx_gnu_ld_version=`echo $ldver | \
26527            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26528     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26529 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26530   fi
26531
26532   # Set --gc-sections.
26533   glibcxx_have_gc_sections=no
26534   if test "$glibcxx_ld_is_gold" = "yes"; then
26535     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26536       glibcxx_have_gc_sections=yes
26537     fi
26538   else
26539     glibcxx_gcsections_min_ld=21602
26540     if test x"$with_gnu_ld" = x"yes" &&
26541         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26542       glibcxx_have_gc_sections=yes
26543     fi
26544   fi
26545   if test "$glibcxx_have_gc_sections" = "yes"; then
26546     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
26547     # NB: This flag only works reliably after 2.16.1. Configure tests
26548     # for this are difficult, so hard wire a value that should work.
26549
26550     ac_test_CFLAGS="${CFLAGS+set}"
26551     ac_save_CFLAGS="$CFLAGS"
26552     CFLAGS='-Wl,--gc-sections'
26553
26554     # Check for -Wl,--gc-sections
26555     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26556 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26557     if test x$gcc_no_link = xyes; then
26558   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26559 fi
26560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26561 /* end confdefs.h.  */
26562  int one(void) { return 1; }
26563      int two(void) { return 2; }
26564
26565 int
26566 main ()
26567 {
26568  two();
26569   ;
26570   return 0;
26571 }
26572 _ACEOF
26573 if ac_fn_c_try_link "$LINENO"; then :
26574   ac_gcsections=yes
26575 else
26576   ac_gcsections=no
26577 fi
26578 rm -f core conftest.err conftest.$ac_objext \
26579     conftest$ac_exeext conftest.$ac_ext
26580     if test "$ac_gcsections" = "yes"; then
26581       rm -f conftest.c
26582       touch conftest.c
26583       if $CC -c conftest.c; then
26584         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26585            grep "Warning: gc-sections option ignored" > /dev/null; then
26586           ac_gcsections=no
26587         fi
26588       fi
26589       rm -f conftest.c conftest.o conftest
26590     fi
26591     if test "$ac_gcsections" = "yes"; then
26592       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26593     fi
26594     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26595 $as_echo "$ac_gcsections" >&6; }
26596
26597     if test "$ac_test_CFLAGS" = set; then
26598       CFLAGS="$ac_save_CFLAGS"
26599     else
26600       # this is the suspicious part
26601       CFLAGS=''
26602     fi
26603   fi
26604
26605   # Set -z,relro.
26606   # Note this is only for shared objects.
26607   ac_ld_relro=no
26608   if test x"$with_gnu_ld" = x"yes"; then
26609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26610 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26611     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26612     if test -n "$cxx_z_relo"; then
26613       OPT_LDFLAGS="-Wl,-z,relro"
26614       ac_ld_relro=yes
26615     fi
26616     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26617 $as_echo "$ac_ld_relro" >&6; }
26618   fi
26619
26620   # Set linker optimization flags.
26621   if test x"$with_gnu_ld" = x"yes"; then
26622     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26623   fi
26624
26625
26626
26627
26628
26629   ac_test_CXXFLAGS="${CXXFLAGS+set}"
26630   ac_save_CXXFLAGS="$CXXFLAGS"
26631   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26632
26633     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26634 $as_echo_n "checking for sin in -lm... " >&6; }
26635 if test "${ac_cv_lib_m_sin+set}" = set; then :
26636   $as_echo_n "(cached) " >&6
26637 else
26638   ac_check_lib_save_LIBS=$LIBS
26639 LIBS="-lm  $LIBS"
26640 if test x$gcc_no_link = xyes; then
26641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26642 fi
26643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h.  */
26645
26646 /* Override any GCC internal prototype to avoid an error.
26647    Use char because int might match the return type of a GCC
26648    builtin and then its argument prototype would still apply.  */
26649 #ifdef __cplusplus
26650 extern "C"
26651 #endif
26652 char sin ();
26653 int
26654 main ()
26655 {
26656 return sin ();
26657   ;
26658   return 0;
26659 }
26660 _ACEOF
26661 if ac_fn_c_try_link "$LINENO"; then :
26662   ac_cv_lib_m_sin=yes
26663 else
26664   ac_cv_lib_m_sin=no
26665 fi
26666 rm -f core conftest.err conftest.$ac_objext \
26667     conftest$ac_exeext conftest.$ac_ext
26668 LIBS=$ac_check_lib_save_LIBS
26669 fi
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26671 $as_echo "$ac_cv_lib_m_sin" >&6; }
26672 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26673   libm="-lm"
26674 fi
26675
26676   ac_save_LIBS="$LIBS"
26677   LIBS="$LIBS $libm"
26678
26679
26680
26681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26682 $as_echo_n "checking for isinf declaration... " >&6; }
26683   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26684     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26685   $as_echo_n "(cached) " >&6
26686 else
26687
26688
26689       ac_ext=cpp
26690 ac_cpp='$CXXCPP $CPPFLAGS'
26691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26694
26695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26696 /* end confdefs.h.  */
26697 #include <math.h>
26698                       #ifdef HAVE_IEEEFP_H
26699                       #include <ieeefp.h>
26700                       #endif
26701
26702 int
26703 main ()
26704 {
26705  isinf(0);
26706   ;
26707   return 0;
26708 }
26709 _ACEOF
26710 if ac_fn_cxx_try_compile "$LINENO"; then :
26711   glibcxx_cv_func_isinf_use=yes
26712 else
26713   glibcxx_cv_func_isinf_use=no
26714 fi
26715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26716       ac_ext=c
26717 ac_cpp='$CPP $CPPFLAGS'
26718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721
26722
26723 fi
26724
26725   fi
26726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26727 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26728
26729   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26730     for ac_func in isinf
26731 do :
26732   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26733 if test "x$ac_cv_func_isinf" = x""yes; then :
26734   cat >>confdefs.h <<_ACEOF
26735 #define HAVE_ISINF 1
26736 _ACEOF
26737
26738 fi
26739 done
26740
26741   else
26742
26743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26744 $as_echo_n "checking for _isinf declaration... " >&6; }
26745   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26746     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26747   $as_echo_n "(cached) " >&6
26748 else
26749
26750
26751       ac_ext=cpp
26752 ac_cpp='$CXXCPP $CPPFLAGS'
26753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26756
26757       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h.  */
26759 #include <math.h>
26760                       #ifdef HAVE_IEEEFP_H
26761                       #include <ieeefp.h>
26762                       #endif
26763
26764 int
26765 main ()
26766 {
26767  _isinf(0);
26768   ;
26769   return 0;
26770 }
26771 _ACEOF
26772 if ac_fn_cxx_try_compile "$LINENO"; then :
26773   glibcxx_cv_func__isinf_use=yes
26774 else
26775   glibcxx_cv_func__isinf_use=no
26776 fi
26777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26778       ac_ext=c
26779 ac_cpp='$CPP $CPPFLAGS'
26780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783
26784
26785 fi
26786
26787   fi
26788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26789 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26790
26791     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26792       for ac_func in _isinf
26793 do :
26794   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26795 if test "x$ac_cv_func__isinf" = x""yes; then :
26796   cat >>confdefs.h <<_ACEOF
26797 #define HAVE__ISINF 1
26798 _ACEOF
26799
26800 fi
26801 done
26802
26803     fi
26804   fi
26805
26806
26807
26808
26809
26810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26811 $as_echo_n "checking for isnan declaration... " >&6; }
26812   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26813     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26814   $as_echo_n "(cached) " >&6
26815 else
26816
26817
26818       ac_ext=cpp
26819 ac_cpp='$CXXCPP $CPPFLAGS'
26820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26823
26824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26825 /* end confdefs.h.  */
26826 #include <math.h>
26827                       #ifdef HAVE_IEEEFP_H
26828                       #include <ieeefp.h>
26829                       #endif
26830
26831 int
26832 main ()
26833 {
26834  isnan(0);
26835   ;
26836   return 0;
26837 }
26838 _ACEOF
26839 if ac_fn_cxx_try_compile "$LINENO"; then :
26840   glibcxx_cv_func_isnan_use=yes
26841 else
26842   glibcxx_cv_func_isnan_use=no
26843 fi
26844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26845       ac_ext=c
26846 ac_cpp='$CPP $CPPFLAGS'
26847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26850
26851
26852 fi
26853
26854   fi
26855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26856 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26857
26858   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26859     for ac_func in isnan
26860 do :
26861   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26862 if test "x$ac_cv_func_isnan" = x""yes; then :
26863   cat >>confdefs.h <<_ACEOF
26864 #define HAVE_ISNAN 1
26865 _ACEOF
26866
26867 fi
26868 done
26869
26870   else
26871
26872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26873 $as_echo_n "checking for _isnan declaration... " >&6; }
26874   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26875     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26876   $as_echo_n "(cached) " >&6
26877 else
26878
26879
26880       ac_ext=cpp
26881 ac_cpp='$CXXCPP $CPPFLAGS'
26882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26885
26886       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h.  */
26888 #include <math.h>
26889                       #ifdef HAVE_IEEEFP_H
26890                       #include <ieeefp.h>
26891                       #endif
26892
26893 int
26894 main ()
26895 {
26896  _isnan(0);
26897   ;
26898   return 0;
26899 }
26900 _ACEOF
26901 if ac_fn_cxx_try_compile "$LINENO"; then :
26902   glibcxx_cv_func__isnan_use=yes
26903 else
26904   glibcxx_cv_func__isnan_use=no
26905 fi
26906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26907       ac_ext=c
26908 ac_cpp='$CPP $CPPFLAGS'
26909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26912
26913
26914 fi
26915
26916   fi
26917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26918 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26919
26920     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26921       for ac_func in _isnan
26922 do :
26923   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26924 if test "x$ac_cv_func__isnan" = x""yes; then :
26925   cat >>confdefs.h <<_ACEOF
26926 #define HAVE__ISNAN 1
26927 _ACEOF
26928
26929 fi
26930 done
26931
26932     fi
26933   fi
26934
26935
26936
26937
26938
26939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26940 $as_echo_n "checking for finite declaration... " >&6; }
26941   if test x${glibcxx_cv_func_finite_use+set} != xset; then
26942     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26943   $as_echo_n "(cached) " >&6
26944 else
26945
26946
26947       ac_ext=cpp
26948 ac_cpp='$CXXCPP $CPPFLAGS'
26949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26952
26953       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954 /* end confdefs.h.  */
26955 #include <math.h>
26956                       #ifdef HAVE_IEEEFP_H
26957                       #include <ieeefp.h>
26958                       #endif
26959
26960 int
26961 main ()
26962 {
26963  finite(0);
26964   ;
26965   return 0;
26966 }
26967 _ACEOF
26968 if ac_fn_cxx_try_compile "$LINENO"; then :
26969   glibcxx_cv_func_finite_use=yes
26970 else
26971   glibcxx_cv_func_finite_use=no
26972 fi
26973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26974       ac_ext=c
26975 ac_cpp='$CPP $CPPFLAGS'
26976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26979
26980
26981 fi
26982
26983   fi
26984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26985 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26986
26987   if test x$glibcxx_cv_func_finite_use = x"yes"; then
26988     for ac_func in finite
26989 do :
26990   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26991 if test "x$ac_cv_func_finite" = x""yes; then :
26992   cat >>confdefs.h <<_ACEOF
26993 #define HAVE_FINITE 1
26994 _ACEOF
26995
26996 fi
26997 done
26998
26999   else
27000
27001   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27002 $as_echo_n "checking for _finite declaration... " >&6; }
27003   if test x${glibcxx_cv_func__finite_use+set} != xset; then
27004     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27005   $as_echo_n "(cached) " >&6
27006 else
27007
27008
27009       ac_ext=cpp
27010 ac_cpp='$CXXCPP $CPPFLAGS'
27011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27014
27015       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27016 /* end confdefs.h.  */
27017 #include <math.h>
27018                       #ifdef HAVE_IEEEFP_H
27019                       #include <ieeefp.h>
27020                       #endif
27021
27022 int
27023 main ()
27024 {
27025  _finite(0);
27026   ;
27027   return 0;
27028 }
27029 _ACEOF
27030 if ac_fn_cxx_try_compile "$LINENO"; then :
27031   glibcxx_cv_func__finite_use=yes
27032 else
27033   glibcxx_cv_func__finite_use=no
27034 fi
27035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27036       ac_ext=c
27037 ac_cpp='$CPP $CPPFLAGS'
27038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27041
27042
27043 fi
27044
27045   fi
27046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27047 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27048
27049     if test x$glibcxx_cv_func__finite_use = x"yes"; then
27050       for ac_func in _finite
27051 do :
27052   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27053 if test "x$ac_cv_func__finite" = x""yes; then :
27054   cat >>confdefs.h <<_ACEOF
27055 #define HAVE__FINITE 1
27056 _ACEOF
27057
27058 fi
27059 done
27060
27061     fi
27062   fi
27063
27064
27065
27066
27067
27068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27069 $as_echo_n "checking for sincos declaration... " >&6; }
27070   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27071     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27072   $as_echo_n "(cached) " >&6
27073 else
27074
27075
27076       ac_ext=cpp
27077 ac_cpp='$CXXCPP $CPPFLAGS'
27078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27081
27082       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27083 /* end confdefs.h.  */
27084 #include <math.h>
27085 int
27086 main ()
27087 {
27088  sincos(0, 0, 0);
27089   ;
27090   return 0;
27091 }
27092 _ACEOF
27093 if ac_fn_cxx_try_compile "$LINENO"; then :
27094   glibcxx_cv_func_sincos_use=yes
27095 else
27096   glibcxx_cv_func_sincos_use=no
27097 fi
27098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27099       ac_ext=c
27100 ac_cpp='$CPP $CPPFLAGS'
27101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104
27105
27106 fi
27107
27108   fi
27109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27110 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27111
27112   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27113     for ac_func in sincos
27114 do :
27115   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27116 if test "x$ac_cv_func_sincos" = x""yes; then :
27117   cat >>confdefs.h <<_ACEOF
27118 #define HAVE_SINCOS 1
27119 _ACEOF
27120
27121 fi
27122 done
27123
27124   else
27125
27126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27127 $as_echo_n "checking for _sincos declaration... " >&6; }
27128   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27129     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27130   $as_echo_n "(cached) " >&6
27131 else
27132
27133
27134       ac_ext=cpp
27135 ac_cpp='$CXXCPP $CPPFLAGS'
27136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27139
27140       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27141 /* end confdefs.h.  */
27142 #include <math.h>
27143 int
27144 main ()
27145 {
27146  _sincos(0, 0, 0);
27147   ;
27148   return 0;
27149 }
27150 _ACEOF
27151 if ac_fn_cxx_try_compile "$LINENO"; then :
27152   glibcxx_cv_func__sincos_use=yes
27153 else
27154   glibcxx_cv_func__sincos_use=no
27155 fi
27156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27157       ac_ext=c
27158 ac_cpp='$CPP $CPPFLAGS'
27159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27162
27163
27164 fi
27165
27166   fi
27167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27168 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27169
27170     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27171       for ac_func in _sincos
27172 do :
27173   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27174 if test "x$ac_cv_func__sincos" = x""yes; then :
27175   cat >>confdefs.h <<_ACEOF
27176 #define HAVE__SINCOS 1
27177 _ACEOF
27178
27179 fi
27180 done
27181
27182     fi
27183   fi
27184
27185
27186
27187
27188
27189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27190 $as_echo_n "checking for fpclass declaration... " >&6; }
27191   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27192     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27193   $as_echo_n "(cached) " >&6
27194 else
27195
27196
27197       ac_ext=cpp
27198 ac_cpp='$CXXCPP $CPPFLAGS'
27199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27202
27203       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27204 /* end confdefs.h.  */
27205 #include <math.h>
27206                       #ifdef HAVE_IEEEFP_H
27207                       #include <ieeefp.h>
27208                       #endif
27209
27210 int
27211 main ()
27212 {
27213  fpclass(0);
27214   ;
27215   return 0;
27216 }
27217 _ACEOF
27218 if ac_fn_cxx_try_compile "$LINENO"; then :
27219   glibcxx_cv_func_fpclass_use=yes
27220 else
27221   glibcxx_cv_func_fpclass_use=no
27222 fi
27223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27224       ac_ext=c
27225 ac_cpp='$CPP $CPPFLAGS'
27226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27229
27230
27231 fi
27232
27233   fi
27234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27235 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27236
27237   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27238     for ac_func in fpclass
27239 do :
27240   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27241 if test "x$ac_cv_func_fpclass" = x""yes; then :
27242   cat >>confdefs.h <<_ACEOF
27243 #define HAVE_FPCLASS 1
27244 _ACEOF
27245
27246 fi
27247 done
27248
27249   else
27250
27251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27252 $as_echo_n "checking for _fpclass declaration... " >&6; }
27253   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27254     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27255   $as_echo_n "(cached) " >&6
27256 else
27257
27258
27259       ac_ext=cpp
27260 ac_cpp='$CXXCPP $CPPFLAGS'
27261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27264
27265       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27266 /* end confdefs.h.  */
27267 #include <math.h>
27268                       #ifdef HAVE_IEEEFP_H
27269                       #include <ieeefp.h>
27270                       #endif
27271
27272 int
27273 main ()
27274 {
27275  _fpclass(0);
27276   ;
27277   return 0;
27278 }
27279 _ACEOF
27280 if ac_fn_cxx_try_compile "$LINENO"; then :
27281   glibcxx_cv_func__fpclass_use=yes
27282 else
27283   glibcxx_cv_func__fpclass_use=no
27284 fi
27285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27286       ac_ext=c
27287 ac_cpp='$CPP $CPPFLAGS'
27288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27291
27292
27293 fi
27294
27295   fi
27296   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27297 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27298
27299     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27300       for ac_func in _fpclass
27301 do :
27302   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27303 if test "x$ac_cv_func__fpclass" = x""yes; then :
27304   cat >>confdefs.h <<_ACEOF
27305 #define HAVE__FPCLASS 1
27306 _ACEOF
27307
27308 fi
27309 done
27310
27311     fi
27312   fi
27313
27314
27315
27316
27317
27318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27319 $as_echo_n "checking for qfpclass declaration... " >&6; }
27320   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27321     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27322   $as_echo_n "(cached) " >&6
27323 else
27324
27325
27326       ac_ext=cpp
27327 ac_cpp='$CXXCPP $CPPFLAGS'
27328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27331
27332       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27333 /* end confdefs.h.  */
27334 #include <math.h>
27335                       #ifdef HAVE_IEEEFP_H
27336                       #include <ieeefp.h>
27337                       #endif
27338
27339 int
27340 main ()
27341 {
27342  qfpclass(0);
27343   ;
27344   return 0;
27345 }
27346 _ACEOF
27347 if ac_fn_cxx_try_compile "$LINENO"; then :
27348   glibcxx_cv_func_qfpclass_use=yes
27349 else
27350   glibcxx_cv_func_qfpclass_use=no
27351 fi
27352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27353       ac_ext=c
27354 ac_cpp='$CPP $CPPFLAGS'
27355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27358
27359
27360 fi
27361
27362   fi
27363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27364 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27365
27366   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27367     for ac_func in qfpclass
27368 do :
27369   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27370 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27371   cat >>confdefs.h <<_ACEOF
27372 #define HAVE_QFPCLASS 1
27373 _ACEOF
27374
27375 fi
27376 done
27377
27378   else
27379
27380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27381 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27382   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27383     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27384   $as_echo_n "(cached) " >&6
27385 else
27386
27387
27388       ac_ext=cpp
27389 ac_cpp='$CXXCPP $CPPFLAGS'
27390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27393
27394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27395 /* end confdefs.h.  */
27396 #include <math.h>
27397                       #ifdef HAVE_IEEEFP_H
27398                       #include <ieeefp.h>
27399                       #endif
27400
27401 int
27402 main ()
27403 {
27404  _qfpclass(0);
27405   ;
27406   return 0;
27407 }
27408 _ACEOF
27409 if ac_fn_cxx_try_compile "$LINENO"; then :
27410   glibcxx_cv_func__qfpclass_use=yes
27411 else
27412   glibcxx_cv_func__qfpclass_use=no
27413 fi
27414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27415       ac_ext=c
27416 ac_cpp='$CPP $CPPFLAGS'
27417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27420
27421
27422 fi
27423
27424   fi
27425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27426 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27427
27428     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27429       for ac_func in _qfpclass
27430 do :
27431   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27432 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27433   cat >>confdefs.h <<_ACEOF
27434 #define HAVE__QFPCLASS 1
27435 _ACEOF
27436
27437 fi
27438 done
27439
27440     fi
27441   fi
27442
27443
27444
27445
27446
27447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27448 $as_echo_n "checking for hypot declaration... " >&6; }
27449   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27450     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27451   $as_echo_n "(cached) " >&6
27452 else
27453
27454
27455       ac_ext=cpp
27456 ac_cpp='$CXXCPP $CPPFLAGS'
27457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27460
27461       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27462 /* end confdefs.h.  */
27463 #include <math.h>
27464 int
27465 main ()
27466 {
27467  hypot(0, 0);
27468   ;
27469   return 0;
27470 }
27471 _ACEOF
27472 if ac_fn_cxx_try_compile "$LINENO"; then :
27473   glibcxx_cv_func_hypot_use=yes
27474 else
27475   glibcxx_cv_func_hypot_use=no
27476 fi
27477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27478       ac_ext=c
27479 ac_cpp='$CPP $CPPFLAGS'
27480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27483
27484
27485 fi
27486
27487   fi
27488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27489 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27490
27491   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27492     for ac_func in hypot
27493 do :
27494   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27495 if test "x$ac_cv_func_hypot" = x""yes; then :
27496   cat >>confdefs.h <<_ACEOF
27497 #define HAVE_HYPOT 1
27498 _ACEOF
27499
27500 fi
27501 done
27502
27503   else
27504
27505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27506 $as_echo_n "checking for _hypot declaration... " >&6; }
27507   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27508     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27509   $as_echo_n "(cached) " >&6
27510 else
27511
27512
27513       ac_ext=cpp
27514 ac_cpp='$CXXCPP $CPPFLAGS'
27515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27518
27519       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27520 /* end confdefs.h.  */
27521 #include <math.h>
27522 int
27523 main ()
27524 {
27525  _hypot(0, 0);
27526   ;
27527   return 0;
27528 }
27529 _ACEOF
27530 if ac_fn_cxx_try_compile "$LINENO"; then :
27531   glibcxx_cv_func__hypot_use=yes
27532 else
27533   glibcxx_cv_func__hypot_use=no
27534 fi
27535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27536       ac_ext=c
27537 ac_cpp='$CPP $CPPFLAGS'
27538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27541
27542
27543 fi
27544
27545   fi
27546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27547 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27548
27549     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27550       for ac_func in _hypot
27551 do :
27552   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27553 if test "x$ac_cv_func__hypot" = x""yes; then :
27554   cat >>confdefs.h <<_ACEOF
27555 #define HAVE__HYPOT 1
27556 _ACEOF
27557
27558 fi
27559 done
27560
27561     fi
27562   fi
27563
27564
27565
27566
27567
27568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27569 $as_echo_n "checking for float trig functions... " >&6; }
27570   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27571   $as_echo_n "(cached) " >&6
27572 else
27573
27574
27575     ac_ext=cpp
27576 ac_cpp='$CXXCPP $CPPFLAGS'
27577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27580
27581     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27582 /* end confdefs.h.  */
27583 #include <math.h>
27584 int
27585 main ()
27586 {
27587 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27588   ;
27589   return 0;
27590 }
27591 _ACEOF
27592 if ac_fn_cxx_try_compile "$LINENO"; then :
27593   glibcxx_cv_func_float_trig_use=yes
27594 else
27595   glibcxx_cv_func_float_trig_use=no
27596 fi
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598     ac_ext=c
27599 ac_cpp='$CPP $CPPFLAGS'
27600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27603
27604 fi
27605
27606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27607 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27608   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27609     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27610 do :
27611   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27613 eval as_val=\$$as_ac_var
27614    if test "x$as_val" = x""yes; then :
27615   cat >>confdefs.h <<_ACEOF
27616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27617 _ACEOF
27618
27619 fi
27620 done
27621
27622   else
27623     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27624 $as_echo_n "checking for _float trig functions... " >&6; }
27625     if test "${glibcxx_cv_func__float_trig_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 int
27640 main ()
27641 {
27642 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27643   ;
27644   return 0;
27645 }
27646 _ACEOF
27647 if ac_fn_cxx_try_compile "$LINENO"; then :
27648   glibcxx_cv_func__float_trig_use=yes
27649 else
27650   glibcxx_cv_func__float_trig_use=no
27651 fi
27652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27653       ac_ext=c
27654 ac_cpp='$CPP $CPPFLAGS'
27655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27658
27659 fi
27660
27661     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27662 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27663     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27664       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27665 do :
27666   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27668 eval as_val=\$$as_ac_var
27669    if test "x$as_val" = x""yes; then :
27670   cat >>confdefs.h <<_ACEOF
27671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27672 _ACEOF
27673
27674 fi
27675 done
27676
27677     fi
27678   fi
27679
27680
27681
27682
27683
27684     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27685 $as_echo_n "checking for float round functions... " >&6; }
27686   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27687   $as_echo_n "(cached) " >&6
27688 else
27689
27690
27691     ac_ext=cpp
27692 ac_cpp='$CXXCPP $CPPFLAGS'
27693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27696
27697     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27698 /* end confdefs.h.  */
27699 #include <math.h>
27700 int
27701 main ()
27702 {
27703 ceilf (0); floorf (0);
27704   ;
27705   return 0;
27706 }
27707 _ACEOF
27708 if ac_fn_cxx_try_compile "$LINENO"; then :
27709   glibcxx_cv_func_float_round_use=yes
27710 else
27711   glibcxx_cv_func_float_round_use=no
27712 fi
27713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27714     ac_ext=c
27715 ac_cpp='$CPP $CPPFLAGS'
27716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27719
27720 fi
27721
27722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27723 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27724   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27725     for ac_func in ceilf floorf
27726 do :
27727   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27728 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27729 eval as_val=\$$as_ac_var
27730    if test "x$as_val" = x""yes; then :
27731   cat >>confdefs.h <<_ACEOF
27732 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27733 _ACEOF
27734
27735 fi
27736 done
27737
27738   else
27739     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27740 $as_echo_n "checking for _float round functions... " >&6; }
27741     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27742   $as_echo_n "(cached) " >&6
27743 else
27744
27745
27746       ac_ext=cpp
27747 ac_cpp='$CXXCPP $CPPFLAGS'
27748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27751
27752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h.  */
27754 #include <math.h>
27755 int
27756 main ()
27757 {
27758 _ceilf (0); _floorf (0);
27759   ;
27760   return 0;
27761 }
27762 _ACEOF
27763 if ac_fn_cxx_try_compile "$LINENO"; then :
27764   glibcxx_cv_func__float_round_use=yes
27765 else
27766   glibcxx_cv_func__float_round_use=no
27767 fi
27768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27769       ac_ext=c
27770 ac_cpp='$CPP $CPPFLAGS'
27771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27774
27775 fi
27776
27777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27778 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27779     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27780       for ac_func in _ceilf _floorf
27781 do :
27782   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27784 eval as_val=\$$as_ac_var
27785    if test "x$as_val" = x""yes; then :
27786   cat >>confdefs.h <<_ACEOF
27787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27788 _ACEOF
27789
27790 fi
27791 done
27792
27793     fi
27794   fi
27795
27796
27797
27798
27799
27800
27801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27802 $as_echo_n "checking for expf declaration... " >&6; }
27803   if test x${glibcxx_cv_func_expf_use+set} != xset; then
27804     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27805   $as_echo_n "(cached) " >&6
27806 else
27807
27808
27809       ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27814
27815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h.  */
27817 #include <math.h>
27818                       #ifdef HAVE_IEEEFP_H
27819                       #include <ieeefp.h>
27820                       #endif
27821
27822 int
27823 main ()
27824 {
27825  expf(0);
27826   ;
27827   return 0;
27828 }
27829 _ACEOF
27830 if ac_fn_cxx_try_compile "$LINENO"; then :
27831   glibcxx_cv_func_expf_use=yes
27832 else
27833   glibcxx_cv_func_expf_use=no
27834 fi
27835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27836       ac_ext=c
27837 ac_cpp='$CPP $CPPFLAGS'
27838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27841
27842
27843 fi
27844
27845   fi
27846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27847 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27848
27849   if test x$glibcxx_cv_func_expf_use = x"yes"; then
27850     for ac_func in expf
27851 do :
27852   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27853 if test "x$ac_cv_func_expf" = x""yes; then :
27854   cat >>confdefs.h <<_ACEOF
27855 #define HAVE_EXPF 1
27856 _ACEOF
27857
27858 fi
27859 done
27860
27861   else
27862
27863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27864 $as_echo_n "checking for _expf declaration... " >&6; }
27865   if test x${glibcxx_cv_func__expf_use+set} != xset; then
27866     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27867   $as_echo_n "(cached) " >&6
27868 else
27869
27870
27871       ac_ext=cpp
27872 ac_cpp='$CXXCPP $CPPFLAGS'
27873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27876
27877       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27878 /* end confdefs.h.  */
27879 #include <math.h>
27880                       #ifdef HAVE_IEEEFP_H
27881                       #include <ieeefp.h>
27882                       #endif
27883
27884 int
27885 main ()
27886 {
27887  _expf(0);
27888   ;
27889   return 0;
27890 }
27891 _ACEOF
27892 if ac_fn_cxx_try_compile "$LINENO"; then :
27893   glibcxx_cv_func__expf_use=yes
27894 else
27895   glibcxx_cv_func__expf_use=no
27896 fi
27897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27898       ac_ext=c
27899 ac_cpp='$CPP $CPPFLAGS'
27900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27903
27904
27905 fi
27906
27907   fi
27908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27909 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27910
27911     if test x$glibcxx_cv_func__expf_use = x"yes"; then
27912       for ac_func in _expf
27913 do :
27914   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27915 if test "x$ac_cv_func__expf" = x""yes; then :
27916   cat >>confdefs.h <<_ACEOF
27917 #define HAVE__EXPF 1
27918 _ACEOF
27919
27920 fi
27921 done
27922
27923     fi
27924   fi
27925
27926
27927
27928
27929
27930   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27931 $as_echo_n "checking for isnanf declaration... " >&6; }
27932   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27933     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27934   $as_echo_n "(cached) " >&6
27935 else
27936
27937
27938       ac_ext=cpp
27939 ac_cpp='$CXXCPP $CPPFLAGS'
27940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27943
27944       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27945 /* end confdefs.h.  */
27946 #include <math.h>
27947                       #ifdef HAVE_IEEEFP_H
27948                       #include <ieeefp.h>
27949                       #endif
27950
27951 int
27952 main ()
27953 {
27954  isnanf(0);
27955   ;
27956   return 0;
27957 }
27958 _ACEOF
27959 if ac_fn_cxx_try_compile "$LINENO"; then :
27960   glibcxx_cv_func_isnanf_use=yes
27961 else
27962   glibcxx_cv_func_isnanf_use=no
27963 fi
27964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27965       ac_ext=c
27966 ac_cpp='$CPP $CPPFLAGS'
27967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27970
27971
27972 fi
27973
27974   fi
27975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27976 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27977
27978   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27979     for ac_func in isnanf
27980 do :
27981   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27982 if test "x$ac_cv_func_isnanf" = x""yes; then :
27983   cat >>confdefs.h <<_ACEOF
27984 #define HAVE_ISNANF 1
27985 _ACEOF
27986
27987 fi
27988 done
27989
27990   else
27991
27992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27993 $as_echo_n "checking for _isnanf declaration... " >&6; }
27994   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27995     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27996   $as_echo_n "(cached) " >&6
27997 else
27998
27999
28000       ac_ext=cpp
28001 ac_cpp='$CXXCPP $CPPFLAGS'
28002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28005
28006       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28007 /* end confdefs.h.  */
28008 #include <math.h>
28009                       #ifdef HAVE_IEEEFP_H
28010                       #include <ieeefp.h>
28011                       #endif
28012
28013 int
28014 main ()
28015 {
28016  _isnanf(0);
28017   ;
28018   return 0;
28019 }
28020 _ACEOF
28021 if ac_fn_cxx_try_compile "$LINENO"; then :
28022   glibcxx_cv_func__isnanf_use=yes
28023 else
28024   glibcxx_cv_func__isnanf_use=no
28025 fi
28026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28027       ac_ext=c
28028 ac_cpp='$CPP $CPPFLAGS'
28029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28032
28033
28034 fi
28035
28036   fi
28037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28038 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28039
28040     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28041       for ac_func in _isnanf
28042 do :
28043   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28044 if test "x$ac_cv_func__isnanf" = x""yes; then :
28045   cat >>confdefs.h <<_ACEOF
28046 #define HAVE__ISNANF 1
28047 _ACEOF
28048
28049 fi
28050 done
28051
28052     fi
28053   fi
28054
28055
28056
28057
28058
28059   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28060 $as_echo_n "checking for isinff declaration... " >&6; }
28061   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28062     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28063   $as_echo_n "(cached) " >&6
28064 else
28065
28066
28067       ac_ext=cpp
28068 ac_cpp='$CXXCPP $CPPFLAGS'
28069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28072
28073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28074 /* end confdefs.h.  */
28075 #include <math.h>
28076                       #ifdef HAVE_IEEEFP_H
28077                       #include <ieeefp.h>
28078                       #endif
28079
28080 int
28081 main ()
28082 {
28083  isinff(0);
28084   ;
28085   return 0;
28086 }
28087 _ACEOF
28088 if ac_fn_cxx_try_compile "$LINENO"; then :
28089   glibcxx_cv_func_isinff_use=yes
28090 else
28091   glibcxx_cv_func_isinff_use=no
28092 fi
28093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28094       ac_ext=c
28095 ac_cpp='$CPP $CPPFLAGS'
28096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28099
28100
28101 fi
28102
28103   fi
28104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28105 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28106
28107   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28108     for ac_func in isinff
28109 do :
28110   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28111 if test "x$ac_cv_func_isinff" = x""yes; then :
28112   cat >>confdefs.h <<_ACEOF
28113 #define HAVE_ISINFF 1
28114 _ACEOF
28115
28116 fi
28117 done
28118
28119   else
28120
28121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28122 $as_echo_n "checking for _isinff declaration... " >&6; }
28123   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28124     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28125   $as_echo_n "(cached) " >&6
28126 else
28127
28128
28129       ac_ext=cpp
28130 ac_cpp='$CXXCPP $CPPFLAGS'
28131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28134
28135       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28136 /* end confdefs.h.  */
28137 #include <math.h>
28138                       #ifdef HAVE_IEEEFP_H
28139                       #include <ieeefp.h>
28140                       #endif
28141
28142 int
28143 main ()
28144 {
28145  _isinff(0);
28146   ;
28147   return 0;
28148 }
28149 _ACEOF
28150 if ac_fn_cxx_try_compile "$LINENO"; then :
28151   glibcxx_cv_func__isinff_use=yes
28152 else
28153   glibcxx_cv_func__isinff_use=no
28154 fi
28155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28156       ac_ext=c
28157 ac_cpp='$CPP $CPPFLAGS'
28158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28161
28162
28163 fi
28164
28165   fi
28166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28167 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28168
28169     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28170       for ac_func in _isinff
28171 do :
28172   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28173 if test "x$ac_cv_func__isinff" = x""yes; then :
28174   cat >>confdefs.h <<_ACEOF
28175 #define HAVE__ISINFF 1
28176 _ACEOF
28177
28178 fi
28179 done
28180
28181     fi
28182   fi
28183
28184
28185
28186
28187
28188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28189 $as_echo_n "checking for atan2f declaration... " >&6; }
28190   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28191     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28192   $as_echo_n "(cached) " >&6
28193 else
28194
28195
28196       ac_ext=cpp
28197 ac_cpp='$CXXCPP $CPPFLAGS'
28198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28201
28202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28203 /* end confdefs.h.  */
28204 #include <math.h>
28205 int
28206 main ()
28207 {
28208  atan2f(0, 0);
28209   ;
28210   return 0;
28211 }
28212 _ACEOF
28213 if ac_fn_cxx_try_compile "$LINENO"; then :
28214   glibcxx_cv_func_atan2f_use=yes
28215 else
28216   glibcxx_cv_func_atan2f_use=no
28217 fi
28218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28219       ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28224
28225
28226 fi
28227
28228   fi
28229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28230 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28231
28232   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28233     for ac_func in atan2f
28234 do :
28235   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28236 if test "x$ac_cv_func_atan2f" = x""yes; then :
28237   cat >>confdefs.h <<_ACEOF
28238 #define HAVE_ATAN2F 1
28239 _ACEOF
28240
28241 fi
28242 done
28243
28244   else
28245
28246   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28247 $as_echo_n "checking for _atan2f declaration... " >&6; }
28248   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28249     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28250   $as_echo_n "(cached) " >&6
28251 else
28252
28253
28254       ac_ext=cpp
28255 ac_cpp='$CXXCPP $CPPFLAGS'
28256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28259
28260       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h.  */
28262 #include <math.h>
28263 int
28264 main ()
28265 {
28266  _atan2f(0, 0);
28267   ;
28268   return 0;
28269 }
28270 _ACEOF
28271 if ac_fn_cxx_try_compile "$LINENO"; then :
28272   glibcxx_cv_func__atan2f_use=yes
28273 else
28274   glibcxx_cv_func__atan2f_use=no
28275 fi
28276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28277       ac_ext=c
28278 ac_cpp='$CPP $CPPFLAGS'
28279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28282
28283
28284 fi
28285
28286   fi
28287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28288 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28289
28290     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28291       for ac_func in _atan2f
28292 do :
28293   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28294 if test "x$ac_cv_func__atan2f" = x""yes; then :
28295   cat >>confdefs.h <<_ACEOF
28296 #define HAVE__ATAN2F 1
28297 _ACEOF
28298
28299 fi
28300 done
28301
28302     fi
28303   fi
28304
28305
28306
28307
28308
28309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28310 $as_echo_n "checking for fabsf declaration... " >&6; }
28311   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28312     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28313   $as_echo_n "(cached) " >&6
28314 else
28315
28316
28317       ac_ext=cpp
28318 ac_cpp='$CXXCPP $CPPFLAGS'
28319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28322
28323       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28324 /* end confdefs.h.  */
28325 #include <math.h>
28326                       #ifdef HAVE_IEEEFP_H
28327                       #include <ieeefp.h>
28328                       #endif
28329
28330 int
28331 main ()
28332 {
28333  fabsf(0);
28334   ;
28335   return 0;
28336 }
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339   glibcxx_cv_func_fabsf_use=yes
28340 else
28341   glibcxx_cv_func_fabsf_use=no
28342 fi
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344       ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28349
28350
28351 fi
28352
28353   fi
28354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28355 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28356
28357   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28358     for ac_func in fabsf
28359 do :
28360   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28361 if test "x$ac_cv_func_fabsf" = x""yes; then :
28362   cat >>confdefs.h <<_ACEOF
28363 #define HAVE_FABSF 1
28364 _ACEOF
28365
28366 fi
28367 done
28368
28369   else
28370
28371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28372 $as_echo_n "checking for _fabsf declaration... " >&6; }
28373   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28374     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28375   $as_echo_n "(cached) " >&6
28376 else
28377
28378
28379       ac_ext=cpp
28380 ac_cpp='$CXXCPP $CPPFLAGS'
28381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384
28385       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h.  */
28387 #include <math.h>
28388                       #ifdef HAVE_IEEEFP_H
28389                       #include <ieeefp.h>
28390                       #endif
28391
28392 int
28393 main ()
28394 {
28395  _fabsf(0);
28396   ;
28397   return 0;
28398 }
28399 _ACEOF
28400 if ac_fn_cxx_try_compile "$LINENO"; then :
28401   glibcxx_cv_func__fabsf_use=yes
28402 else
28403   glibcxx_cv_func__fabsf_use=no
28404 fi
28405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28406       ac_ext=c
28407 ac_cpp='$CPP $CPPFLAGS'
28408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28411
28412
28413 fi
28414
28415   fi
28416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28417 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28418
28419     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28420       for ac_func in _fabsf
28421 do :
28422   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28423 if test "x$ac_cv_func__fabsf" = x""yes; then :
28424   cat >>confdefs.h <<_ACEOF
28425 #define HAVE__FABSF 1
28426 _ACEOF
28427
28428 fi
28429 done
28430
28431     fi
28432   fi
28433
28434
28435
28436
28437
28438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28439 $as_echo_n "checking for fmodf declaration... " >&6; }
28440   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28441     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28442   $as_echo_n "(cached) " >&6
28443 else
28444
28445
28446       ac_ext=cpp
28447 ac_cpp='$CXXCPP $CPPFLAGS'
28448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28451
28452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28453 /* end confdefs.h.  */
28454 #include <math.h>
28455 int
28456 main ()
28457 {
28458  fmodf(0, 0);
28459   ;
28460   return 0;
28461 }
28462 _ACEOF
28463 if ac_fn_cxx_try_compile "$LINENO"; then :
28464   glibcxx_cv_func_fmodf_use=yes
28465 else
28466   glibcxx_cv_func_fmodf_use=no
28467 fi
28468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28469       ac_ext=c
28470 ac_cpp='$CPP $CPPFLAGS'
28471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28474
28475
28476 fi
28477
28478   fi
28479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28480 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28481
28482   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28483     for ac_func in fmodf
28484 do :
28485   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28486 if test "x$ac_cv_func_fmodf" = x""yes; then :
28487   cat >>confdefs.h <<_ACEOF
28488 #define HAVE_FMODF 1
28489 _ACEOF
28490
28491 fi
28492 done
28493
28494   else
28495
28496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28497 $as_echo_n "checking for _fmodf declaration... " >&6; }
28498   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28499     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28500   $as_echo_n "(cached) " >&6
28501 else
28502
28503
28504       ac_ext=cpp
28505 ac_cpp='$CXXCPP $CPPFLAGS'
28506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28509
28510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28511 /* end confdefs.h.  */
28512 #include <math.h>
28513 int
28514 main ()
28515 {
28516  _fmodf(0, 0);
28517   ;
28518   return 0;
28519 }
28520 _ACEOF
28521 if ac_fn_cxx_try_compile "$LINENO"; then :
28522   glibcxx_cv_func__fmodf_use=yes
28523 else
28524   glibcxx_cv_func__fmodf_use=no
28525 fi
28526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28527       ac_ext=c
28528 ac_cpp='$CPP $CPPFLAGS'
28529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28532
28533
28534 fi
28535
28536   fi
28537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28538 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28539
28540     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28541       for ac_func in _fmodf
28542 do :
28543   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28544 if test "x$ac_cv_func__fmodf" = x""yes; then :
28545   cat >>confdefs.h <<_ACEOF
28546 #define HAVE__FMODF 1
28547 _ACEOF
28548
28549 fi
28550 done
28551
28552     fi
28553   fi
28554
28555
28556
28557
28558
28559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28560 $as_echo_n "checking for frexpf declaration... " >&6; }
28561   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28562     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28563   $as_echo_n "(cached) " >&6
28564 else
28565
28566
28567       ac_ext=cpp
28568 ac_cpp='$CXXCPP $CPPFLAGS'
28569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28572
28573       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28574 /* end confdefs.h.  */
28575 #include <math.h>
28576 int
28577 main ()
28578 {
28579  frexpf(0, 0);
28580   ;
28581   return 0;
28582 }
28583 _ACEOF
28584 if ac_fn_cxx_try_compile "$LINENO"; then :
28585   glibcxx_cv_func_frexpf_use=yes
28586 else
28587   glibcxx_cv_func_frexpf_use=no
28588 fi
28589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28590       ac_ext=c
28591 ac_cpp='$CPP $CPPFLAGS'
28592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28595
28596
28597 fi
28598
28599   fi
28600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28601 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28602
28603   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28604     for ac_func in frexpf
28605 do :
28606   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28607 if test "x$ac_cv_func_frexpf" = x""yes; then :
28608   cat >>confdefs.h <<_ACEOF
28609 #define HAVE_FREXPF 1
28610 _ACEOF
28611
28612 fi
28613 done
28614
28615   else
28616
28617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28618 $as_echo_n "checking for _frexpf declaration... " >&6; }
28619   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28620     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28621   $as_echo_n "(cached) " >&6
28622 else
28623
28624
28625       ac_ext=cpp
28626 ac_cpp='$CXXCPP $CPPFLAGS'
28627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28630
28631       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28632 /* end confdefs.h.  */
28633 #include <math.h>
28634 int
28635 main ()
28636 {
28637  _frexpf(0, 0);
28638   ;
28639   return 0;
28640 }
28641 _ACEOF
28642 if ac_fn_cxx_try_compile "$LINENO"; then :
28643   glibcxx_cv_func__frexpf_use=yes
28644 else
28645   glibcxx_cv_func__frexpf_use=no
28646 fi
28647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28648       ac_ext=c
28649 ac_cpp='$CPP $CPPFLAGS'
28650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28653
28654
28655 fi
28656
28657   fi
28658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28659 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28660
28661     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28662       for ac_func in _frexpf
28663 do :
28664   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28665 if test "x$ac_cv_func__frexpf" = x""yes; then :
28666   cat >>confdefs.h <<_ACEOF
28667 #define HAVE__FREXPF 1
28668 _ACEOF
28669
28670 fi
28671 done
28672
28673     fi
28674   fi
28675
28676
28677
28678
28679
28680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28681 $as_echo_n "checking for hypotf declaration... " >&6; }
28682   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28683     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28684   $as_echo_n "(cached) " >&6
28685 else
28686
28687
28688       ac_ext=cpp
28689 ac_cpp='$CXXCPP $CPPFLAGS'
28690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28693
28694       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h.  */
28696 #include <math.h>
28697 int
28698 main ()
28699 {
28700  hypotf(0, 0);
28701   ;
28702   return 0;
28703 }
28704 _ACEOF
28705 if ac_fn_cxx_try_compile "$LINENO"; then :
28706   glibcxx_cv_func_hypotf_use=yes
28707 else
28708   glibcxx_cv_func_hypotf_use=no
28709 fi
28710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28711       ac_ext=c
28712 ac_cpp='$CPP $CPPFLAGS'
28713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28716
28717
28718 fi
28719
28720   fi
28721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28722 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28723
28724   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28725     for ac_func in hypotf
28726 do :
28727   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28728 if test "x$ac_cv_func_hypotf" = x""yes; then :
28729   cat >>confdefs.h <<_ACEOF
28730 #define HAVE_HYPOTF 1
28731 _ACEOF
28732
28733 fi
28734 done
28735
28736   else
28737
28738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28739 $as_echo_n "checking for _hypotf declaration... " >&6; }
28740   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28741     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28742   $as_echo_n "(cached) " >&6
28743 else
28744
28745
28746       ac_ext=cpp
28747 ac_cpp='$CXXCPP $CPPFLAGS'
28748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28751
28752       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28753 /* end confdefs.h.  */
28754 #include <math.h>
28755 int
28756 main ()
28757 {
28758  _hypotf(0, 0);
28759   ;
28760   return 0;
28761 }
28762 _ACEOF
28763 if ac_fn_cxx_try_compile "$LINENO"; then :
28764   glibcxx_cv_func__hypotf_use=yes
28765 else
28766   glibcxx_cv_func__hypotf_use=no
28767 fi
28768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28769       ac_ext=c
28770 ac_cpp='$CPP $CPPFLAGS'
28771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28774
28775
28776 fi
28777
28778   fi
28779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28780 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28781
28782     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28783       for ac_func in _hypotf
28784 do :
28785   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28786 if test "x$ac_cv_func__hypotf" = x""yes; then :
28787   cat >>confdefs.h <<_ACEOF
28788 #define HAVE__HYPOTF 1
28789 _ACEOF
28790
28791 fi
28792 done
28793
28794     fi
28795   fi
28796
28797
28798
28799
28800
28801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28802 $as_echo_n "checking for ldexpf declaration... " >&6; }
28803   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28804     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28805   $as_echo_n "(cached) " >&6
28806 else
28807
28808
28809       ac_ext=cpp
28810 ac_cpp='$CXXCPP $CPPFLAGS'
28811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28814
28815       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28816 /* end confdefs.h.  */
28817 #include <math.h>
28818 int
28819 main ()
28820 {
28821  ldexpf(0, 0);
28822   ;
28823   return 0;
28824 }
28825 _ACEOF
28826 if ac_fn_cxx_try_compile "$LINENO"; then :
28827   glibcxx_cv_func_ldexpf_use=yes
28828 else
28829   glibcxx_cv_func_ldexpf_use=no
28830 fi
28831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28832       ac_ext=c
28833 ac_cpp='$CPP $CPPFLAGS'
28834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28837
28838
28839 fi
28840
28841   fi
28842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28843 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28844
28845   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28846     for ac_func in ldexpf
28847 do :
28848   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28849 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28850   cat >>confdefs.h <<_ACEOF
28851 #define HAVE_LDEXPF 1
28852 _ACEOF
28853
28854 fi
28855 done
28856
28857   else
28858
28859   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28860 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28861   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28862     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28863   $as_echo_n "(cached) " >&6
28864 else
28865
28866
28867       ac_ext=cpp
28868 ac_cpp='$CXXCPP $CPPFLAGS'
28869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28872
28873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28874 /* end confdefs.h.  */
28875 #include <math.h>
28876 int
28877 main ()
28878 {
28879  _ldexpf(0, 0);
28880   ;
28881   return 0;
28882 }
28883 _ACEOF
28884 if ac_fn_cxx_try_compile "$LINENO"; then :
28885   glibcxx_cv_func__ldexpf_use=yes
28886 else
28887   glibcxx_cv_func__ldexpf_use=no
28888 fi
28889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28890       ac_ext=c
28891 ac_cpp='$CPP $CPPFLAGS'
28892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28895
28896
28897 fi
28898
28899   fi
28900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28901 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28902
28903     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28904       for ac_func in _ldexpf
28905 do :
28906   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28907 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28908   cat >>confdefs.h <<_ACEOF
28909 #define HAVE__LDEXPF 1
28910 _ACEOF
28911
28912 fi
28913 done
28914
28915     fi
28916   fi
28917
28918
28919
28920
28921
28922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28923 $as_echo_n "checking for logf declaration... " >&6; }
28924   if test x${glibcxx_cv_func_logf_use+set} != xset; then
28925     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28926   $as_echo_n "(cached) " >&6
28927 else
28928
28929
28930       ac_ext=cpp
28931 ac_cpp='$CXXCPP $CPPFLAGS'
28932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28935
28936       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28937 /* end confdefs.h.  */
28938 #include <math.h>
28939                       #ifdef HAVE_IEEEFP_H
28940                       #include <ieeefp.h>
28941                       #endif
28942
28943 int
28944 main ()
28945 {
28946  logf(0);
28947   ;
28948   return 0;
28949 }
28950 _ACEOF
28951 if ac_fn_cxx_try_compile "$LINENO"; then :
28952   glibcxx_cv_func_logf_use=yes
28953 else
28954   glibcxx_cv_func_logf_use=no
28955 fi
28956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28957       ac_ext=c
28958 ac_cpp='$CPP $CPPFLAGS'
28959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28962
28963
28964 fi
28965
28966   fi
28967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28968 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28969
28970   if test x$glibcxx_cv_func_logf_use = x"yes"; then
28971     for ac_func in logf
28972 do :
28973   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28974 if test "x$ac_cv_func_logf" = x""yes; then :
28975   cat >>confdefs.h <<_ACEOF
28976 #define HAVE_LOGF 1
28977 _ACEOF
28978
28979 fi
28980 done
28981
28982   else
28983
28984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28985 $as_echo_n "checking for _logf declaration... " >&6; }
28986   if test x${glibcxx_cv_func__logf_use+set} != xset; then
28987     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28988   $as_echo_n "(cached) " >&6
28989 else
28990
28991
28992       ac_ext=cpp
28993 ac_cpp='$CXXCPP $CPPFLAGS'
28994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28997
28998       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h.  */
29000 #include <math.h>
29001                       #ifdef HAVE_IEEEFP_H
29002                       #include <ieeefp.h>
29003                       #endif
29004
29005 int
29006 main ()
29007 {
29008  _logf(0);
29009   ;
29010   return 0;
29011 }
29012 _ACEOF
29013 if ac_fn_cxx_try_compile "$LINENO"; then :
29014   glibcxx_cv_func__logf_use=yes
29015 else
29016   glibcxx_cv_func__logf_use=no
29017 fi
29018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29019       ac_ext=c
29020 ac_cpp='$CPP $CPPFLAGS'
29021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29024
29025
29026 fi
29027
29028   fi
29029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29030 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29031
29032     if test x$glibcxx_cv_func__logf_use = x"yes"; then
29033       for ac_func in _logf
29034 do :
29035   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29036 if test "x$ac_cv_func__logf" = x""yes; then :
29037   cat >>confdefs.h <<_ACEOF
29038 #define HAVE__LOGF 1
29039 _ACEOF
29040
29041 fi
29042 done
29043
29044     fi
29045   fi
29046
29047
29048
29049
29050
29051   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29052 $as_echo_n "checking for log10f declaration... " >&6; }
29053   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29054     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29055   $as_echo_n "(cached) " >&6
29056 else
29057
29058
29059       ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29064
29065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h.  */
29067 #include <math.h>
29068                       #ifdef HAVE_IEEEFP_H
29069                       #include <ieeefp.h>
29070                       #endif
29071
29072 int
29073 main ()
29074 {
29075  log10f(0);
29076   ;
29077   return 0;
29078 }
29079 _ACEOF
29080 if ac_fn_cxx_try_compile "$LINENO"; then :
29081   glibcxx_cv_func_log10f_use=yes
29082 else
29083   glibcxx_cv_func_log10f_use=no
29084 fi
29085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29086       ac_ext=c
29087 ac_cpp='$CPP $CPPFLAGS'
29088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29091
29092
29093 fi
29094
29095   fi
29096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29097 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29098
29099   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29100     for ac_func in log10f
29101 do :
29102   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29103 if test "x$ac_cv_func_log10f" = x""yes; then :
29104   cat >>confdefs.h <<_ACEOF
29105 #define HAVE_LOG10F 1
29106 _ACEOF
29107
29108 fi
29109 done
29110
29111   else
29112
29113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29114 $as_echo_n "checking for _log10f declaration... " >&6; }
29115   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29116     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29117   $as_echo_n "(cached) " >&6
29118 else
29119
29120
29121       ac_ext=cpp
29122 ac_cpp='$CXXCPP $CPPFLAGS'
29123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29126
29127       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29128 /* end confdefs.h.  */
29129 #include <math.h>
29130                       #ifdef HAVE_IEEEFP_H
29131                       #include <ieeefp.h>
29132                       #endif
29133
29134 int
29135 main ()
29136 {
29137  _log10f(0);
29138   ;
29139   return 0;
29140 }
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143   glibcxx_cv_func__log10f_use=yes
29144 else
29145   glibcxx_cv_func__log10f_use=no
29146 fi
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148       ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29153
29154
29155 fi
29156
29157   fi
29158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29159 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29160
29161     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29162       for ac_func in _log10f
29163 do :
29164   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29165 if test "x$ac_cv_func__log10f" = x""yes; then :
29166   cat >>confdefs.h <<_ACEOF
29167 #define HAVE__LOG10F 1
29168 _ACEOF
29169
29170 fi
29171 done
29172
29173     fi
29174   fi
29175
29176
29177
29178
29179
29180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29181 $as_echo_n "checking for modff declaration... " >&6; }
29182   if test x${glibcxx_cv_func_modff_use+set} != xset; then
29183     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29184   $as_echo_n "(cached) " >&6
29185 else
29186
29187
29188       ac_ext=cpp
29189 ac_cpp='$CXXCPP $CPPFLAGS'
29190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29193
29194       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29195 /* end confdefs.h.  */
29196 #include <math.h>
29197 int
29198 main ()
29199 {
29200  modff(0, 0);
29201   ;
29202   return 0;
29203 }
29204 _ACEOF
29205 if ac_fn_cxx_try_compile "$LINENO"; then :
29206   glibcxx_cv_func_modff_use=yes
29207 else
29208   glibcxx_cv_func_modff_use=no
29209 fi
29210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29211       ac_ext=c
29212 ac_cpp='$CPP $CPPFLAGS'
29213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29216
29217
29218 fi
29219
29220   fi
29221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29222 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29223
29224   if test x$glibcxx_cv_func_modff_use = x"yes"; then
29225     for ac_func in modff
29226 do :
29227   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29228 if test "x$ac_cv_func_modff" = x""yes; then :
29229   cat >>confdefs.h <<_ACEOF
29230 #define HAVE_MODFF 1
29231 _ACEOF
29232
29233 fi
29234 done
29235
29236   else
29237
29238   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29239 $as_echo_n "checking for _modff declaration... " >&6; }
29240   if test x${glibcxx_cv_func__modff_use+set} != xset; then
29241     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29242   $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246       ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h.  */
29254 #include <math.h>
29255 int
29256 main ()
29257 {
29258  _modff(0, 0);
29259   ;
29260   return 0;
29261 }
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264   glibcxx_cv_func__modff_use=yes
29265 else
29266   glibcxx_cv_func__modff_use=no
29267 fi
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269       ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274
29275
29276 fi
29277
29278   fi
29279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29280 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29281
29282     if test x$glibcxx_cv_func__modff_use = x"yes"; then
29283       for ac_func in _modff
29284 do :
29285   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29286 if test "x$ac_cv_func__modff" = x""yes; then :
29287   cat >>confdefs.h <<_ACEOF
29288 #define HAVE__MODFF 1
29289 _ACEOF
29290
29291 fi
29292 done
29293
29294     fi
29295   fi
29296
29297
29298
29299
29300
29301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29302 $as_echo_n "checking for modf declaration... " >&6; }
29303   if test x${glibcxx_cv_func_modf_use+set} != xset; then
29304     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29305   $as_echo_n "(cached) " >&6
29306 else
29307
29308
29309       ac_ext=cpp
29310 ac_cpp='$CXXCPP $CPPFLAGS'
29311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29314
29315       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29316 /* end confdefs.h.  */
29317 #include <math.h>
29318 int
29319 main ()
29320 {
29321  modf(0, 0);
29322   ;
29323   return 0;
29324 }
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327   glibcxx_cv_func_modf_use=yes
29328 else
29329   glibcxx_cv_func_modf_use=no
29330 fi
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332       ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339 fi
29340
29341   fi
29342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29343 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29344
29345   if test x$glibcxx_cv_func_modf_use = x"yes"; then
29346     for ac_func in modf
29347 do :
29348   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29349 if test "x$ac_cv_func_modf" = x""yes; then :
29350   cat >>confdefs.h <<_ACEOF
29351 #define HAVE_MODF 1
29352 _ACEOF
29353
29354 fi
29355 done
29356
29357   else
29358
29359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29360 $as_echo_n "checking for _modf declaration... " >&6; }
29361   if test x${glibcxx_cv_func__modf_use+set} != xset; then
29362     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29363   $as_echo_n "(cached) " >&6
29364 else
29365
29366
29367       ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29372
29373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h.  */
29375 #include <math.h>
29376 int
29377 main ()
29378 {
29379  _modf(0, 0);
29380   ;
29381   return 0;
29382 }
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385   glibcxx_cv_func__modf_use=yes
29386 else
29387   glibcxx_cv_func__modf_use=no
29388 fi
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390       ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395
29396
29397 fi
29398
29399   fi
29400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29401 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29402
29403     if test x$glibcxx_cv_func__modf_use = x"yes"; then
29404       for ac_func in _modf
29405 do :
29406   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29407 if test "x$ac_cv_func__modf" = x""yes; then :
29408   cat >>confdefs.h <<_ACEOF
29409 #define HAVE__MODF 1
29410 _ACEOF
29411
29412 fi
29413 done
29414
29415     fi
29416   fi
29417
29418
29419
29420
29421
29422   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29423 $as_echo_n "checking for powf declaration... " >&6; }
29424   if test x${glibcxx_cv_func_powf_use+set} != xset; then
29425     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29426   $as_echo_n "(cached) " >&6
29427 else
29428
29429
29430       ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29435
29436       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h.  */
29438 #include <math.h>
29439 int
29440 main ()
29441 {
29442  powf(0, 0);
29443   ;
29444   return 0;
29445 }
29446 _ACEOF
29447 if ac_fn_cxx_try_compile "$LINENO"; then :
29448   glibcxx_cv_func_powf_use=yes
29449 else
29450   glibcxx_cv_func_powf_use=no
29451 fi
29452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29453       ac_ext=c
29454 ac_cpp='$CPP $CPPFLAGS'
29455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29458
29459
29460 fi
29461
29462   fi
29463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29464 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29465
29466   if test x$glibcxx_cv_func_powf_use = x"yes"; then
29467     for ac_func in powf
29468 do :
29469   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29470 if test "x$ac_cv_func_powf" = x""yes; then :
29471   cat >>confdefs.h <<_ACEOF
29472 #define HAVE_POWF 1
29473 _ACEOF
29474
29475 fi
29476 done
29477
29478   else
29479
29480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29481 $as_echo_n "checking for _powf declaration... " >&6; }
29482   if test x${glibcxx_cv_func__powf_use+set} != xset; then
29483     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29484   $as_echo_n "(cached) " >&6
29485 else
29486
29487
29488       ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493
29494       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h.  */
29496 #include <math.h>
29497 int
29498 main ()
29499 {
29500  _powf(0, 0);
29501   ;
29502   return 0;
29503 }
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506   glibcxx_cv_func__powf_use=yes
29507 else
29508   glibcxx_cv_func__powf_use=no
29509 fi
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511       ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29516
29517
29518 fi
29519
29520   fi
29521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29522 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29523
29524     if test x$glibcxx_cv_func__powf_use = x"yes"; then
29525       for ac_func in _powf
29526 do :
29527   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29528 if test "x$ac_cv_func__powf" = x""yes; then :
29529   cat >>confdefs.h <<_ACEOF
29530 #define HAVE__POWF 1
29531 _ACEOF
29532
29533 fi
29534 done
29535
29536     fi
29537   fi
29538
29539
29540
29541
29542
29543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29544 $as_echo_n "checking for sqrtf declaration... " >&6; }
29545   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29546     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29547   $as_echo_n "(cached) " >&6
29548 else
29549
29550
29551       ac_ext=cpp
29552 ac_cpp='$CXXCPP $CPPFLAGS'
29553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29556
29557       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29558 /* end confdefs.h.  */
29559 #include <math.h>
29560                       #ifdef HAVE_IEEEFP_H
29561                       #include <ieeefp.h>
29562                       #endif
29563
29564 int
29565 main ()
29566 {
29567  sqrtf(0);
29568   ;
29569   return 0;
29570 }
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573   glibcxx_cv_func_sqrtf_use=yes
29574 else
29575   glibcxx_cv_func_sqrtf_use=no
29576 fi
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578       ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29583
29584
29585 fi
29586
29587   fi
29588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29589 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29590
29591   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29592     for ac_func in sqrtf
29593 do :
29594   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29595 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29596   cat >>confdefs.h <<_ACEOF
29597 #define HAVE_SQRTF 1
29598 _ACEOF
29599
29600 fi
29601 done
29602
29603   else
29604
29605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29606 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29607   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29608     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29609   $as_echo_n "(cached) " >&6
29610 else
29611
29612
29613       ac_ext=cpp
29614 ac_cpp='$CXXCPP $CPPFLAGS'
29615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618
29619       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29620 /* end confdefs.h.  */
29621 #include <math.h>
29622                       #ifdef HAVE_IEEEFP_H
29623                       #include <ieeefp.h>
29624                       #endif
29625
29626 int
29627 main ()
29628 {
29629  _sqrtf(0);
29630   ;
29631   return 0;
29632 }
29633 _ACEOF
29634 if ac_fn_cxx_try_compile "$LINENO"; then :
29635   glibcxx_cv_func__sqrtf_use=yes
29636 else
29637   glibcxx_cv_func__sqrtf_use=no
29638 fi
29639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29640       ac_ext=c
29641 ac_cpp='$CPP $CPPFLAGS'
29642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29645
29646
29647 fi
29648
29649   fi
29650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29651 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29652
29653     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29654       for ac_func in _sqrtf
29655 do :
29656   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29657 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29658   cat >>confdefs.h <<_ACEOF
29659 #define HAVE__SQRTF 1
29660 _ACEOF
29661
29662 fi
29663 done
29664
29665     fi
29666   fi
29667
29668
29669
29670
29671
29672   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29673 $as_echo_n "checking for sincosf declaration... " >&6; }
29674   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29675     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29676   $as_echo_n "(cached) " >&6
29677 else
29678
29679
29680       ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29685
29686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h.  */
29688 #include <math.h>
29689 int
29690 main ()
29691 {
29692  sincosf(0, 0, 0);
29693   ;
29694   return 0;
29695 }
29696 _ACEOF
29697 if ac_fn_cxx_try_compile "$LINENO"; then :
29698   glibcxx_cv_func_sincosf_use=yes
29699 else
29700   glibcxx_cv_func_sincosf_use=no
29701 fi
29702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29703       ac_ext=c
29704 ac_cpp='$CPP $CPPFLAGS'
29705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29708
29709
29710 fi
29711
29712   fi
29713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29714 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29715
29716   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29717     for ac_func in sincosf
29718 do :
29719   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29720 if test "x$ac_cv_func_sincosf" = x""yes; then :
29721   cat >>confdefs.h <<_ACEOF
29722 #define HAVE_SINCOSF 1
29723 _ACEOF
29724
29725 fi
29726 done
29727
29728   else
29729
29730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29731 $as_echo_n "checking for _sincosf declaration... " >&6; }
29732   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29733     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29734   $as_echo_n "(cached) " >&6
29735 else
29736
29737
29738       ac_ext=cpp
29739 ac_cpp='$CXXCPP $CPPFLAGS'
29740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29743
29744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29745 /* end confdefs.h.  */
29746 #include <math.h>
29747 int
29748 main ()
29749 {
29750  _sincosf(0, 0, 0);
29751   ;
29752   return 0;
29753 }
29754 _ACEOF
29755 if ac_fn_cxx_try_compile "$LINENO"; then :
29756   glibcxx_cv_func__sincosf_use=yes
29757 else
29758   glibcxx_cv_func__sincosf_use=no
29759 fi
29760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29761       ac_ext=c
29762 ac_cpp='$CPP $CPPFLAGS'
29763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29766
29767
29768 fi
29769
29770   fi
29771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29772 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29773
29774     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29775       for ac_func in _sincosf
29776 do :
29777   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29778 if test "x$ac_cv_func__sincosf" = x""yes; then :
29779   cat >>confdefs.h <<_ACEOF
29780 #define HAVE__SINCOSF 1
29781 _ACEOF
29782
29783 fi
29784 done
29785
29786     fi
29787   fi
29788
29789
29790
29791
29792
29793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29794 $as_echo_n "checking for finitef declaration... " >&6; }
29795   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29796     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29797   $as_echo_n "(cached) " >&6
29798 else
29799
29800
29801       ac_ext=cpp
29802 ac_cpp='$CXXCPP $CPPFLAGS'
29803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29806
29807       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29808 /* end confdefs.h.  */
29809 #include <math.h>
29810                       #ifdef HAVE_IEEEFP_H
29811                       #include <ieeefp.h>
29812                       #endif
29813
29814 int
29815 main ()
29816 {
29817  finitef(0);
29818   ;
29819   return 0;
29820 }
29821 _ACEOF
29822 if ac_fn_cxx_try_compile "$LINENO"; then :
29823   glibcxx_cv_func_finitef_use=yes
29824 else
29825   glibcxx_cv_func_finitef_use=no
29826 fi
29827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29828       ac_ext=c
29829 ac_cpp='$CPP $CPPFLAGS'
29830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29833
29834
29835 fi
29836
29837   fi
29838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29839 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29840
29841   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29842     for ac_func in finitef
29843 do :
29844   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29845 if test "x$ac_cv_func_finitef" = x""yes; then :
29846   cat >>confdefs.h <<_ACEOF
29847 #define HAVE_FINITEF 1
29848 _ACEOF
29849
29850 fi
29851 done
29852
29853   else
29854
29855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29856 $as_echo_n "checking for _finitef declaration... " >&6; }
29857   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29858     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29859   $as_echo_n "(cached) " >&6
29860 else
29861
29862
29863       ac_ext=cpp
29864 ac_cpp='$CXXCPP $CPPFLAGS'
29865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29868
29869       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29870 /* end confdefs.h.  */
29871 #include <math.h>
29872                       #ifdef HAVE_IEEEFP_H
29873                       #include <ieeefp.h>
29874                       #endif
29875
29876 int
29877 main ()
29878 {
29879  _finitef(0);
29880   ;
29881   return 0;
29882 }
29883 _ACEOF
29884 if ac_fn_cxx_try_compile "$LINENO"; then :
29885   glibcxx_cv_func__finitef_use=yes
29886 else
29887   glibcxx_cv_func__finitef_use=no
29888 fi
29889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29890       ac_ext=c
29891 ac_cpp='$CPP $CPPFLAGS'
29892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29895
29896
29897 fi
29898
29899   fi
29900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29901 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29902
29903     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29904       for ac_func in _finitef
29905 do :
29906   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29907 if test "x$ac_cv_func__finitef" = x""yes; then :
29908   cat >>confdefs.h <<_ACEOF
29909 #define HAVE__FINITEF 1
29910 _ACEOF
29911
29912 fi
29913 done
29914
29915     fi
29916   fi
29917
29918
29919
29920
29921
29922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29923 $as_echo_n "checking for long double trig functions... " >&6; }
29924   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29925   $as_echo_n "(cached) " >&6
29926 else
29927
29928
29929     ac_ext=cpp
29930 ac_cpp='$CXXCPP $CPPFLAGS'
29931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934
29935     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29936 /* end confdefs.h.  */
29937 #include <math.h>
29938 int
29939 main ()
29940 {
29941 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29942   ;
29943   return 0;
29944 }
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947   glibcxx_cv_func_long_double_trig_use=yes
29948 else
29949   glibcxx_cv_func_long_double_trig_use=no
29950 fi
29951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29952     ac_ext=c
29953 ac_cpp='$CPP $CPPFLAGS'
29954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29957
29958 fi
29959
29960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29961 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29962   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29963     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29964 do :
29965   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29967 eval as_val=\$$as_ac_var
29968    if test "x$as_val" = x""yes; then :
29969   cat >>confdefs.h <<_ACEOF
29970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29971 _ACEOF
29972
29973 fi
29974 done
29975
29976   else
29977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29978 $as_echo_n "checking for _long double trig functions... " >&6; }
29979     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29980   $as_echo_n "(cached) " >&6
29981 else
29982
29983
29984       ac_ext=cpp
29985 ac_cpp='$CXXCPP $CPPFLAGS'
29986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29989
29990       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29991 /* end confdefs.h.  */
29992 #include <math.h>
29993 int
29994 main ()
29995 {
29996 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29997   ;
29998   return 0;
29999 }
30000 _ACEOF
30001 if ac_fn_cxx_try_compile "$LINENO"; then :
30002   glibcxx_cv_func__long_double_trig_use=yes
30003 else
30004   glibcxx_cv_func__long_double_trig_use=no
30005 fi
30006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30007       ac_ext=c
30008 ac_cpp='$CPP $CPPFLAGS'
30009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30012
30013 fi
30014
30015     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30016 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30017     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30018       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30019 do :
30020   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30022 eval as_val=\$$as_ac_var
30023    if test "x$as_val" = x""yes; then :
30024   cat >>confdefs.h <<_ACEOF
30025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30026 _ACEOF
30027
30028 fi
30029 done
30030
30031     fi
30032   fi
30033
30034
30035
30036
30037
30038     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30039 $as_echo_n "checking for long double round functions... " >&6; }
30040   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30041   $as_echo_n "(cached) " >&6
30042 else
30043
30044
30045     ac_ext=cpp
30046 ac_cpp='$CXXCPP $CPPFLAGS'
30047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30050
30051     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30052 /* end confdefs.h.  */
30053 #include <math.h>
30054 int
30055 main ()
30056 {
30057 ceill (0); floorl (0);
30058   ;
30059   return 0;
30060 }
30061 _ACEOF
30062 if ac_fn_cxx_try_compile "$LINENO"; then :
30063   glibcxx_cv_func_long_double_round_use=yes
30064 else
30065   glibcxx_cv_func_long_double_round_use=no
30066 fi
30067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30068     ac_ext=c
30069 ac_cpp='$CPP $CPPFLAGS'
30070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30073
30074 fi
30075
30076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30077 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30078   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30079     for ac_func in ceill floorl
30080 do :
30081   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30083 eval as_val=\$$as_ac_var
30084    if test "x$as_val" = x""yes; then :
30085   cat >>confdefs.h <<_ACEOF
30086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30087 _ACEOF
30088
30089 fi
30090 done
30091
30092   else
30093     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30094 $as_echo_n "checking for _long double round functions... " >&6; }
30095     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30096   $as_echo_n "(cached) " >&6
30097 else
30098
30099
30100       ac_ext=cpp
30101 ac_cpp='$CXXCPP $CPPFLAGS'
30102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30105
30106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h.  */
30108 #include <math.h>
30109 int
30110 main ()
30111 {
30112 _ceill (0); _floorl (0);
30113   ;
30114   return 0;
30115 }
30116 _ACEOF
30117 if ac_fn_cxx_try_compile "$LINENO"; then :
30118   glibcxx_cv_func__long_double_round_use=yes
30119 else
30120   glibcxx_cv_func__long_double_round_use=no
30121 fi
30122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30123       ac_ext=c
30124 ac_cpp='$CPP $CPPFLAGS'
30125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30128
30129 fi
30130
30131     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30132 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30133     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30134       for ac_func in _ceill _floorl
30135 do :
30136   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30138 eval as_val=\$$as_ac_var
30139    if test "x$as_val" = x""yes; then :
30140   cat >>confdefs.h <<_ACEOF
30141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30142 _ACEOF
30143
30144 fi
30145 done
30146
30147     fi
30148   fi
30149
30150
30151
30152
30153
30154
30155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30156 $as_echo_n "checking for isnanl declaration... " >&6; }
30157   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30158     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30159   $as_echo_n "(cached) " >&6
30160 else
30161
30162
30163       ac_ext=cpp
30164 ac_cpp='$CXXCPP $CPPFLAGS'
30165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30168
30169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30170 /* end confdefs.h.  */
30171 #include <math.h>
30172                       #ifdef HAVE_IEEEFP_H
30173                       #include <ieeefp.h>
30174                       #endif
30175
30176 int
30177 main ()
30178 {
30179  isnanl(0);
30180   ;
30181   return 0;
30182 }
30183 _ACEOF
30184 if ac_fn_cxx_try_compile "$LINENO"; then :
30185   glibcxx_cv_func_isnanl_use=yes
30186 else
30187   glibcxx_cv_func_isnanl_use=no
30188 fi
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190       ac_ext=c
30191 ac_cpp='$CPP $CPPFLAGS'
30192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30195
30196
30197 fi
30198
30199   fi
30200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30201 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30202
30203   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30204     for ac_func in isnanl
30205 do :
30206   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30207 if test "x$ac_cv_func_isnanl" = x""yes; then :
30208   cat >>confdefs.h <<_ACEOF
30209 #define HAVE_ISNANL 1
30210 _ACEOF
30211
30212 fi
30213 done
30214
30215   else
30216
30217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30218 $as_echo_n "checking for _isnanl declaration... " >&6; }
30219   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30220     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30221   $as_echo_n "(cached) " >&6
30222 else
30223
30224
30225       ac_ext=cpp
30226 ac_cpp='$CXXCPP $CPPFLAGS'
30227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30230
30231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30232 /* end confdefs.h.  */
30233 #include <math.h>
30234                       #ifdef HAVE_IEEEFP_H
30235                       #include <ieeefp.h>
30236                       #endif
30237
30238 int
30239 main ()
30240 {
30241  _isnanl(0);
30242   ;
30243   return 0;
30244 }
30245 _ACEOF
30246 if ac_fn_cxx_try_compile "$LINENO"; then :
30247   glibcxx_cv_func__isnanl_use=yes
30248 else
30249   glibcxx_cv_func__isnanl_use=no
30250 fi
30251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30252       ac_ext=c
30253 ac_cpp='$CPP $CPPFLAGS'
30254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30257
30258
30259 fi
30260
30261   fi
30262   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30263 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30264
30265     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30266       for ac_func in _isnanl
30267 do :
30268   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30269 if test "x$ac_cv_func__isnanl" = x""yes; then :
30270   cat >>confdefs.h <<_ACEOF
30271 #define HAVE__ISNANL 1
30272 _ACEOF
30273
30274 fi
30275 done
30276
30277     fi
30278   fi
30279
30280
30281
30282
30283
30284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30285 $as_echo_n "checking for isinfl declaration... " >&6; }
30286   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30287     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30288   $as_echo_n "(cached) " >&6
30289 else
30290
30291
30292       ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30297
30298       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h.  */
30300 #include <math.h>
30301                       #ifdef HAVE_IEEEFP_H
30302                       #include <ieeefp.h>
30303                       #endif
30304
30305 int
30306 main ()
30307 {
30308  isinfl(0);
30309   ;
30310   return 0;
30311 }
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314   glibcxx_cv_func_isinfl_use=yes
30315 else
30316   glibcxx_cv_func_isinfl_use=no
30317 fi
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319       ac_ext=c
30320 ac_cpp='$CPP $CPPFLAGS'
30321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30324
30325
30326 fi
30327
30328   fi
30329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30330 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30331
30332   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30333     for ac_func in isinfl
30334 do :
30335   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30336 if test "x$ac_cv_func_isinfl" = x""yes; then :
30337   cat >>confdefs.h <<_ACEOF
30338 #define HAVE_ISINFL 1
30339 _ACEOF
30340
30341 fi
30342 done
30343
30344   else
30345
30346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30347 $as_echo_n "checking for _isinfl declaration... " >&6; }
30348   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30349     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30350   $as_echo_n "(cached) " >&6
30351 else
30352
30353
30354       ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359
30360       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h.  */
30362 #include <math.h>
30363                       #ifdef HAVE_IEEEFP_H
30364                       #include <ieeefp.h>
30365                       #endif
30366
30367 int
30368 main ()
30369 {
30370  _isinfl(0);
30371   ;
30372   return 0;
30373 }
30374 _ACEOF
30375 if ac_fn_cxx_try_compile "$LINENO"; then :
30376   glibcxx_cv_func__isinfl_use=yes
30377 else
30378   glibcxx_cv_func__isinfl_use=no
30379 fi
30380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30381       ac_ext=c
30382 ac_cpp='$CPP $CPPFLAGS'
30383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386
30387
30388 fi
30389
30390   fi
30391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30392 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30393
30394     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30395       for ac_func in _isinfl
30396 do :
30397   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30398 if test "x$ac_cv_func__isinfl" = x""yes; then :
30399   cat >>confdefs.h <<_ACEOF
30400 #define HAVE__ISINFL 1
30401 _ACEOF
30402
30403 fi
30404 done
30405
30406     fi
30407   fi
30408
30409
30410
30411
30412
30413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30414 $as_echo_n "checking for atan2l declaration... " >&6; }
30415   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30416     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30417   $as_echo_n "(cached) " >&6
30418 else
30419
30420
30421       ac_ext=cpp
30422 ac_cpp='$CXXCPP $CPPFLAGS'
30423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30426
30427       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428 /* end confdefs.h.  */
30429 #include <math.h>
30430 int
30431 main ()
30432 {
30433  atan2l(0, 0);
30434   ;
30435   return 0;
30436 }
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439   glibcxx_cv_func_atan2l_use=yes
30440 else
30441   glibcxx_cv_func_atan2l_use=no
30442 fi
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444       ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30449
30450
30451 fi
30452
30453   fi
30454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30455 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30456
30457   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30458     for ac_func in atan2l
30459 do :
30460   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30461 if test "x$ac_cv_func_atan2l" = x""yes; then :
30462   cat >>confdefs.h <<_ACEOF
30463 #define HAVE_ATAN2L 1
30464 _ACEOF
30465
30466 fi
30467 done
30468
30469   else
30470
30471   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30472 $as_echo_n "checking for _atan2l declaration... " >&6; }
30473   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30474     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30475   $as_echo_n "(cached) " >&6
30476 else
30477
30478
30479       ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484
30485       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h.  */
30487 #include <math.h>
30488 int
30489 main ()
30490 {
30491  _atan2l(0, 0);
30492   ;
30493   return 0;
30494 }
30495 _ACEOF
30496 if ac_fn_cxx_try_compile "$LINENO"; then :
30497   glibcxx_cv_func__atan2l_use=yes
30498 else
30499   glibcxx_cv_func__atan2l_use=no
30500 fi
30501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30502       ac_ext=c
30503 ac_cpp='$CPP $CPPFLAGS'
30504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30507
30508
30509 fi
30510
30511   fi
30512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30513 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30514
30515     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30516       for ac_func in _atan2l
30517 do :
30518   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30519 if test "x$ac_cv_func__atan2l" = x""yes; then :
30520   cat >>confdefs.h <<_ACEOF
30521 #define HAVE__ATAN2L 1
30522 _ACEOF
30523
30524 fi
30525 done
30526
30527     fi
30528   fi
30529
30530
30531
30532
30533
30534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30535 $as_echo_n "checking for expl declaration... " >&6; }
30536   if test x${glibcxx_cv_func_expl_use+set} != xset; then
30537     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30538   $as_echo_n "(cached) " >&6
30539 else
30540
30541
30542       ac_ext=cpp
30543 ac_cpp='$CXXCPP $CPPFLAGS'
30544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30547
30548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30549 /* end confdefs.h.  */
30550 #include <math.h>
30551                       #ifdef HAVE_IEEEFP_H
30552                       #include <ieeefp.h>
30553                       #endif
30554
30555 int
30556 main ()
30557 {
30558  expl(0);
30559   ;
30560   return 0;
30561 }
30562 _ACEOF
30563 if ac_fn_cxx_try_compile "$LINENO"; then :
30564   glibcxx_cv_func_expl_use=yes
30565 else
30566   glibcxx_cv_func_expl_use=no
30567 fi
30568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30569       ac_ext=c
30570 ac_cpp='$CPP $CPPFLAGS'
30571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30574
30575
30576 fi
30577
30578   fi
30579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30580 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30581
30582   if test x$glibcxx_cv_func_expl_use = x"yes"; then
30583     for ac_func in expl
30584 do :
30585   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30586 if test "x$ac_cv_func_expl" = x""yes; then :
30587   cat >>confdefs.h <<_ACEOF
30588 #define HAVE_EXPL 1
30589 _ACEOF
30590
30591 fi
30592 done
30593
30594   else
30595
30596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30597 $as_echo_n "checking for _expl declaration... " >&6; }
30598   if test x${glibcxx_cv_func__expl_use+set} != xset; then
30599     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30600   $as_echo_n "(cached) " >&6
30601 else
30602
30603
30604       ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609
30610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h.  */
30612 #include <math.h>
30613                       #ifdef HAVE_IEEEFP_H
30614                       #include <ieeefp.h>
30615                       #endif
30616
30617 int
30618 main ()
30619 {
30620  _expl(0);
30621   ;
30622   return 0;
30623 }
30624 _ACEOF
30625 if ac_fn_cxx_try_compile "$LINENO"; then :
30626   glibcxx_cv_func__expl_use=yes
30627 else
30628   glibcxx_cv_func__expl_use=no
30629 fi
30630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30631       ac_ext=c
30632 ac_cpp='$CPP $CPPFLAGS'
30633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30636
30637
30638 fi
30639
30640   fi
30641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30642 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30643
30644     if test x$glibcxx_cv_func__expl_use = x"yes"; then
30645       for ac_func in _expl
30646 do :
30647   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30648 if test "x$ac_cv_func__expl" = x""yes; then :
30649   cat >>confdefs.h <<_ACEOF
30650 #define HAVE__EXPL 1
30651 _ACEOF
30652
30653 fi
30654 done
30655
30656     fi
30657   fi
30658
30659
30660
30661
30662
30663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30664 $as_echo_n "checking for fabsl declaration... " >&6; }
30665   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30666     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30667   $as_echo_n "(cached) " >&6
30668 else
30669
30670
30671       ac_ext=cpp
30672 ac_cpp='$CXXCPP $CPPFLAGS'
30673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30676
30677       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30678 /* end confdefs.h.  */
30679 #include <math.h>
30680                       #ifdef HAVE_IEEEFP_H
30681                       #include <ieeefp.h>
30682                       #endif
30683
30684 int
30685 main ()
30686 {
30687  fabsl(0);
30688   ;
30689   return 0;
30690 }
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693   glibcxx_cv_func_fabsl_use=yes
30694 else
30695   glibcxx_cv_func_fabsl_use=no
30696 fi
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698       ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703
30704
30705 fi
30706
30707   fi
30708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30709 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30710
30711   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30712     for ac_func in fabsl
30713 do :
30714   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30715 if test "x$ac_cv_func_fabsl" = x""yes; then :
30716   cat >>confdefs.h <<_ACEOF
30717 #define HAVE_FABSL 1
30718 _ACEOF
30719
30720 fi
30721 done
30722
30723   else
30724
30725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30726 $as_echo_n "checking for _fabsl declaration... " >&6; }
30727   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30728     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30729   $as_echo_n "(cached) " >&6
30730 else
30731
30732
30733       ac_ext=cpp
30734 ac_cpp='$CXXCPP $CPPFLAGS'
30735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738
30739       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30740 /* end confdefs.h.  */
30741 #include <math.h>
30742                       #ifdef HAVE_IEEEFP_H
30743                       #include <ieeefp.h>
30744                       #endif
30745
30746 int
30747 main ()
30748 {
30749  _fabsl(0);
30750   ;
30751   return 0;
30752 }
30753 _ACEOF
30754 if ac_fn_cxx_try_compile "$LINENO"; then :
30755   glibcxx_cv_func__fabsl_use=yes
30756 else
30757   glibcxx_cv_func__fabsl_use=no
30758 fi
30759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30760       ac_ext=c
30761 ac_cpp='$CPP $CPPFLAGS'
30762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765
30766
30767 fi
30768
30769   fi
30770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30771 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30772
30773     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30774       for ac_func in _fabsl
30775 do :
30776   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30777 if test "x$ac_cv_func__fabsl" = x""yes; then :
30778   cat >>confdefs.h <<_ACEOF
30779 #define HAVE__FABSL 1
30780 _ACEOF
30781
30782 fi
30783 done
30784
30785     fi
30786   fi
30787
30788
30789
30790
30791
30792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30793 $as_echo_n "checking for fmodl declaration... " >&6; }
30794   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30795     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30796   $as_echo_n "(cached) " >&6
30797 else
30798
30799
30800       ac_ext=cpp
30801 ac_cpp='$CXXCPP $CPPFLAGS'
30802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30805
30806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 /* end confdefs.h.  */
30808 #include <math.h>
30809 int
30810 main ()
30811 {
30812  fmodl(0, 0);
30813   ;
30814   return 0;
30815 }
30816 _ACEOF
30817 if ac_fn_cxx_try_compile "$LINENO"; then :
30818   glibcxx_cv_func_fmodl_use=yes
30819 else
30820   glibcxx_cv_func_fmodl_use=no
30821 fi
30822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30823       ac_ext=c
30824 ac_cpp='$CPP $CPPFLAGS'
30825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30828
30829
30830 fi
30831
30832   fi
30833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30834 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30835
30836   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30837     for ac_func in fmodl
30838 do :
30839   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30840 if test "x$ac_cv_func_fmodl" = x""yes; then :
30841   cat >>confdefs.h <<_ACEOF
30842 #define HAVE_FMODL 1
30843 _ACEOF
30844
30845 fi
30846 done
30847
30848   else
30849
30850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30851 $as_echo_n "checking for _fmodl declaration... " >&6; }
30852   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30853     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30854   $as_echo_n "(cached) " >&6
30855 else
30856
30857
30858       ac_ext=cpp
30859 ac_cpp='$CXXCPP $CPPFLAGS'
30860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30863
30864       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30865 /* end confdefs.h.  */
30866 #include <math.h>
30867 int
30868 main ()
30869 {
30870  _fmodl(0, 0);
30871   ;
30872   return 0;
30873 }
30874 _ACEOF
30875 if ac_fn_cxx_try_compile "$LINENO"; then :
30876   glibcxx_cv_func__fmodl_use=yes
30877 else
30878   glibcxx_cv_func__fmodl_use=no
30879 fi
30880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881       ac_ext=c
30882 ac_cpp='$CPP $CPPFLAGS'
30883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886
30887
30888 fi
30889
30890   fi
30891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30892 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30893
30894     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30895       for ac_func in _fmodl
30896 do :
30897   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30898 if test "x$ac_cv_func__fmodl" = x""yes; then :
30899   cat >>confdefs.h <<_ACEOF
30900 #define HAVE__FMODL 1
30901 _ACEOF
30902
30903 fi
30904 done
30905
30906     fi
30907   fi
30908
30909
30910
30911
30912
30913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30914 $as_echo_n "checking for frexpl declaration... " >&6; }
30915   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30916     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30917   $as_echo_n "(cached) " >&6
30918 else
30919
30920
30921       ac_ext=cpp
30922 ac_cpp='$CXXCPP $CPPFLAGS'
30923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30926
30927       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h.  */
30929 #include <math.h>
30930 int
30931 main ()
30932 {
30933  frexpl(0, 0);
30934   ;
30935   return 0;
30936 }
30937 _ACEOF
30938 if ac_fn_cxx_try_compile "$LINENO"; then :
30939   glibcxx_cv_func_frexpl_use=yes
30940 else
30941   glibcxx_cv_func_frexpl_use=no
30942 fi
30943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30944       ac_ext=c
30945 ac_cpp='$CPP $CPPFLAGS'
30946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30949
30950
30951 fi
30952
30953   fi
30954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30955 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30956
30957   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30958     for ac_func in frexpl
30959 do :
30960   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30961 if test "x$ac_cv_func_frexpl" = x""yes; then :
30962   cat >>confdefs.h <<_ACEOF
30963 #define HAVE_FREXPL 1
30964 _ACEOF
30965
30966 fi
30967 done
30968
30969   else
30970
30971   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30972 $as_echo_n "checking for _frexpl declaration... " >&6; }
30973   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30974     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30975   $as_echo_n "(cached) " >&6
30976 else
30977
30978
30979       ac_ext=cpp
30980 ac_cpp='$CXXCPP $CPPFLAGS'
30981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30984
30985       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30986 /* end confdefs.h.  */
30987 #include <math.h>
30988 int
30989 main ()
30990 {
30991  _frexpl(0, 0);
30992   ;
30993   return 0;
30994 }
30995 _ACEOF
30996 if ac_fn_cxx_try_compile "$LINENO"; then :
30997   glibcxx_cv_func__frexpl_use=yes
30998 else
30999   glibcxx_cv_func__frexpl_use=no
31000 fi
31001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31002       ac_ext=c
31003 ac_cpp='$CPP $CPPFLAGS'
31004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31007
31008
31009 fi
31010
31011   fi
31012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31013 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31014
31015     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31016       for ac_func in _frexpl
31017 do :
31018   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31019 if test "x$ac_cv_func__frexpl" = x""yes; then :
31020   cat >>confdefs.h <<_ACEOF
31021 #define HAVE__FREXPL 1
31022 _ACEOF
31023
31024 fi
31025 done
31026
31027     fi
31028   fi
31029
31030
31031
31032
31033
31034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31035 $as_echo_n "checking for hypotl declaration... " >&6; }
31036   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31037     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31038   $as_echo_n "(cached) " >&6
31039 else
31040
31041
31042       ac_ext=cpp
31043 ac_cpp='$CXXCPP $CPPFLAGS'
31044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047
31048       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h.  */
31050 #include <math.h>
31051 int
31052 main ()
31053 {
31054  hypotl(0, 0);
31055   ;
31056   return 0;
31057 }
31058 _ACEOF
31059 if ac_fn_cxx_try_compile "$LINENO"; then :
31060   glibcxx_cv_func_hypotl_use=yes
31061 else
31062   glibcxx_cv_func_hypotl_use=no
31063 fi
31064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31065       ac_ext=c
31066 ac_cpp='$CPP $CPPFLAGS'
31067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31070
31071
31072 fi
31073
31074   fi
31075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31076 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31077
31078   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31079     for ac_func in hypotl
31080 do :
31081   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31082 if test "x$ac_cv_func_hypotl" = x""yes; then :
31083   cat >>confdefs.h <<_ACEOF
31084 #define HAVE_HYPOTL 1
31085 _ACEOF
31086
31087 fi
31088 done
31089
31090   else
31091
31092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31093 $as_echo_n "checking for _hypotl declaration... " >&6; }
31094   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31095     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31096   $as_echo_n "(cached) " >&6
31097 else
31098
31099
31100       ac_ext=cpp
31101 ac_cpp='$CXXCPP $CPPFLAGS'
31102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31105
31106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31107 /* end confdefs.h.  */
31108 #include <math.h>
31109 int
31110 main ()
31111 {
31112  _hypotl(0, 0);
31113   ;
31114   return 0;
31115 }
31116 _ACEOF
31117 if ac_fn_cxx_try_compile "$LINENO"; then :
31118   glibcxx_cv_func__hypotl_use=yes
31119 else
31120   glibcxx_cv_func__hypotl_use=no
31121 fi
31122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31123       ac_ext=c
31124 ac_cpp='$CPP $CPPFLAGS'
31125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31128
31129
31130 fi
31131
31132   fi
31133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31134 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31135
31136     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31137       for ac_func in _hypotl
31138 do :
31139   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31140 if test "x$ac_cv_func__hypotl" = x""yes; then :
31141   cat >>confdefs.h <<_ACEOF
31142 #define HAVE__HYPOTL 1
31143 _ACEOF
31144
31145 fi
31146 done
31147
31148     fi
31149   fi
31150
31151
31152
31153
31154
31155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31156 $as_echo_n "checking for ldexpl declaration... " >&6; }
31157   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31158     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31159   $as_echo_n "(cached) " >&6
31160 else
31161
31162
31163       ac_ext=cpp
31164 ac_cpp='$CXXCPP $CPPFLAGS'
31165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31168
31169       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31170 /* end confdefs.h.  */
31171 #include <math.h>
31172 int
31173 main ()
31174 {
31175  ldexpl(0, 0);
31176   ;
31177   return 0;
31178 }
31179 _ACEOF
31180 if ac_fn_cxx_try_compile "$LINENO"; then :
31181   glibcxx_cv_func_ldexpl_use=yes
31182 else
31183   glibcxx_cv_func_ldexpl_use=no
31184 fi
31185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31186       ac_ext=c
31187 ac_cpp='$CPP $CPPFLAGS'
31188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31191
31192
31193 fi
31194
31195   fi
31196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31197 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31198
31199   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31200     for ac_func in ldexpl
31201 do :
31202   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31203 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31204   cat >>confdefs.h <<_ACEOF
31205 #define HAVE_LDEXPL 1
31206 _ACEOF
31207
31208 fi
31209 done
31210
31211   else
31212
31213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31214 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31215   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31216     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31217   $as_echo_n "(cached) " >&6
31218 else
31219
31220
31221       ac_ext=cpp
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31228 /* end confdefs.h.  */
31229 #include <math.h>
31230 int
31231 main ()
31232 {
31233  _ldexpl(0, 0);
31234   ;
31235   return 0;
31236 }
31237 _ACEOF
31238 if ac_fn_cxx_try_compile "$LINENO"; then :
31239   glibcxx_cv_func__ldexpl_use=yes
31240 else
31241   glibcxx_cv_func__ldexpl_use=no
31242 fi
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244       ac_ext=c
31245 ac_cpp='$CPP $CPPFLAGS'
31246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31249
31250
31251 fi
31252
31253   fi
31254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31255 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31256
31257     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31258       for ac_func in _ldexpl
31259 do :
31260   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31261 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31262   cat >>confdefs.h <<_ACEOF
31263 #define HAVE__LDEXPL 1
31264 _ACEOF
31265
31266 fi
31267 done
31268
31269     fi
31270   fi
31271
31272
31273
31274
31275
31276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31277 $as_echo_n "checking for logl declaration... " >&6; }
31278   if test x${glibcxx_cv_func_logl_use+set} != xset; then
31279     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31280   $as_echo_n "(cached) " >&6
31281 else
31282
31283
31284       ac_ext=cpp
31285 ac_cpp='$CXXCPP $CPPFLAGS'
31286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31289
31290       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31291 /* end confdefs.h.  */
31292 #include <math.h>
31293                       #ifdef HAVE_IEEEFP_H
31294                       #include <ieeefp.h>
31295                       #endif
31296
31297 int
31298 main ()
31299 {
31300  logl(0);
31301   ;
31302   return 0;
31303 }
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306   glibcxx_cv_func_logl_use=yes
31307 else
31308   glibcxx_cv_func_logl_use=no
31309 fi
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311       ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31316
31317
31318 fi
31319
31320   fi
31321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31322 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31323
31324   if test x$glibcxx_cv_func_logl_use = x"yes"; then
31325     for ac_func in logl
31326 do :
31327   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31328 if test "x$ac_cv_func_logl" = x""yes; then :
31329   cat >>confdefs.h <<_ACEOF
31330 #define HAVE_LOGL 1
31331 _ACEOF
31332
31333 fi
31334 done
31335
31336   else
31337
31338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31339 $as_echo_n "checking for _logl declaration... " >&6; }
31340   if test x${glibcxx_cv_func__logl_use+set} != xset; then
31341     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31342   $as_echo_n "(cached) " >&6
31343 else
31344
31345
31346       ac_ext=cpp
31347 ac_cpp='$CXXCPP $CPPFLAGS'
31348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31351
31352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31353 /* end confdefs.h.  */
31354 #include <math.h>
31355                       #ifdef HAVE_IEEEFP_H
31356                       #include <ieeefp.h>
31357                       #endif
31358
31359 int
31360 main ()
31361 {
31362  _logl(0);
31363   ;
31364   return 0;
31365 }
31366 _ACEOF
31367 if ac_fn_cxx_try_compile "$LINENO"; then :
31368   glibcxx_cv_func__logl_use=yes
31369 else
31370   glibcxx_cv_func__logl_use=no
31371 fi
31372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31373       ac_ext=c
31374 ac_cpp='$CPP $CPPFLAGS'
31375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31378
31379
31380 fi
31381
31382   fi
31383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31384 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31385
31386     if test x$glibcxx_cv_func__logl_use = x"yes"; then
31387       for ac_func in _logl
31388 do :
31389   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31390 if test "x$ac_cv_func__logl" = x""yes; then :
31391   cat >>confdefs.h <<_ACEOF
31392 #define HAVE__LOGL 1
31393 _ACEOF
31394
31395 fi
31396 done
31397
31398     fi
31399   fi
31400
31401
31402
31403
31404
31405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31406 $as_echo_n "checking for log10l declaration... " >&6; }
31407   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31408     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31409   $as_echo_n "(cached) " >&6
31410 else
31411
31412
31413       ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31418
31419       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h.  */
31421 #include <math.h>
31422                       #ifdef HAVE_IEEEFP_H
31423                       #include <ieeefp.h>
31424                       #endif
31425
31426 int
31427 main ()
31428 {
31429  log10l(0);
31430   ;
31431   return 0;
31432 }
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435   glibcxx_cv_func_log10l_use=yes
31436 else
31437   glibcxx_cv_func_log10l_use=no
31438 fi
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440       ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31445
31446
31447 fi
31448
31449   fi
31450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31451 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31452
31453   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31454     for ac_func in log10l
31455 do :
31456   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31457 if test "x$ac_cv_func_log10l" = x""yes; then :
31458   cat >>confdefs.h <<_ACEOF
31459 #define HAVE_LOG10L 1
31460 _ACEOF
31461
31462 fi
31463 done
31464
31465   else
31466
31467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31468 $as_echo_n "checking for _log10l declaration... " >&6; }
31469   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31470     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31471   $as_echo_n "(cached) " >&6
31472 else
31473
31474
31475       ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480
31481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h.  */
31483 #include <math.h>
31484                       #ifdef HAVE_IEEEFP_H
31485                       #include <ieeefp.h>
31486                       #endif
31487
31488 int
31489 main ()
31490 {
31491  _log10l(0);
31492   ;
31493   return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497   glibcxx_cv_func__log10l_use=yes
31498 else
31499   glibcxx_cv_func__log10l_use=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502       ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507
31508
31509 fi
31510
31511   fi
31512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31513 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31514
31515     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31516       for ac_func in _log10l
31517 do :
31518   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31519 if test "x$ac_cv_func__log10l" = x""yes; then :
31520   cat >>confdefs.h <<_ACEOF
31521 #define HAVE__LOG10L 1
31522 _ACEOF
31523
31524 fi
31525 done
31526
31527     fi
31528   fi
31529
31530
31531
31532
31533
31534   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31535 $as_echo_n "checking for modfl declaration... " >&6; }
31536   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31537     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31538   $as_echo_n "(cached) " >&6
31539 else
31540
31541
31542       ac_ext=cpp
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31547
31548       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31549 /* end confdefs.h.  */
31550 #include <math.h>
31551 int
31552 main ()
31553 {
31554  modfl(0, 0);
31555   ;
31556   return 0;
31557 }
31558 _ACEOF
31559 if ac_fn_cxx_try_compile "$LINENO"; then :
31560   glibcxx_cv_func_modfl_use=yes
31561 else
31562   glibcxx_cv_func_modfl_use=no
31563 fi
31564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31565       ac_ext=c
31566 ac_cpp='$CPP $CPPFLAGS'
31567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31570
31571
31572 fi
31573
31574   fi
31575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31576 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31577
31578   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31579     for ac_func in modfl
31580 do :
31581   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31582 if test "x$ac_cv_func_modfl" = x""yes; then :
31583   cat >>confdefs.h <<_ACEOF
31584 #define HAVE_MODFL 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590   else
31591
31592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31593 $as_echo_n "checking for _modfl declaration... " >&6; }
31594   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31595     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31596   $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600       ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h.  */
31608 #include <math.h>
31609 int
31610 main ()
31611 {
31612  _modfl(0, 0);
31613   ;
31614   return 0;
31615 }
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618   glibcxx_cv_func__modfl_use=yes
31619 else
31620   glibcxx_cv_func__modfl_use=no
31621 fi
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623       ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31628
31629
31630 fi
31631
31632   fi
31633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31634 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31635
31636     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31637       for ac_func in _modfl
31638 do :
31639   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31640 if test "x$ac_cv_func__modfl" = x""yes; then :
31641   cat >>confdefs.h <<_ACEOF
31642 #define HAVE__MODFL 1
31643 _ACEOF
31644
31645 fi
31646 done
31647
31648     fi
31649   fi
31650
31651
31652
31653
31654
31655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31656 $as_echo_n "checking for powl declaration... " >&6; }
31657   if test x${glibcxx_cv_func_powl_use+set} != xset; then
31658     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31659   $as_echo_n "(cached) " >&6
31660 else
31661
31662
31663       ac_ext=cpp
31664 ac_cpp='$CXXCPP $CPPFLAGS'
31665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31668
31669       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31670 /* end confdefs.h.  */
31671 #include <math.h>
31672 int
31673 main ()
31674 {
31675  powl(0, 0);
31676   ;
31677   return 0;
31678 }
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681   glibcxx_cv_func_powl_use=yes
31682 else
31683   glibcxx_cv_func_powl_use=no
31684 fi
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686       ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691
31692
31693 fi
31694
31695   fi
31696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31697 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31698
31699   if test x$glibcxx_cv_func_powl_use = x"yes"; then
31700     for ac_func in powl
31701 do :
31702   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31703 if test "x$ac_cv_func_powl" = x""yes; then :
31704   cat >>confdefs.h <<_ACEOF
31705 #define HAVE_POWL 1
31706 _ACEOF
31707
31708 fi
31709 done
31710
31711   else
31712
31713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31714 $as_echo_n "checking for _powl declaration... " >&6; }
31715   if test x${glibcxx_cv_func__powl_use+set} != xset; then
31716     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31717   $as_echo_n "(cached) " >&6
31718 else
31719
31720
31721       ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726
31727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h.  */
31729 #include <math.h>
31730 int
31731 main ()
31732 {
31733  _powl(0, 0);
31734   ;
31735   return 0;
31736 }
31737 _ACEOF
31738 if ac_fn_cxx_try_compile "$LINENO"; then :
31739   glibcxx_cv_func__powl_use=yes
31740 else
31741   glibcxx_cv_func__powl_use=no
31742 fi
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744       ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31749
31750
31751 fi
31752
31753   fi
31754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31755 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31756
31757     if test x$glibcxx_cv_func__powl_use = x"yes"; then
31758       for ac_func in _powl
31759 do :
31760   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31761 if test "x$ac_cv_func__powl" = x""yes; then :
31762   cat >>confdefs.h <<_ACEOF
31763 #define HAVE__POWL 1
31764 _ACEOF
31765
31766 fi
31767 done
31768
31769     fi
31770   fi
31771
31772
31773
31774
31775
31776   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31777 $as_echo_n "checking for sqrtl declaration... " >&6; }
31778   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31779     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31780   $as_echo_n "(cached) " >&6
31781 else
31782
31783
31784       ac_ext=cpp
31785 ac_cpp='$CXXCPP $CPPFLAGS'
31786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31789
31790       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31791 /* end confdefs.h.  */
31792 #include <math.h>
31793                       #ifdef HAVE_IEEEFP_H
31794                       #include <ieeefp.h>
31795                       #endif
31796
31797 int
31798 main ()
31799 {
31800  sqrtl(0);
31801   ;
31802   return 0;
31803 }
31804 _ACEOF
31805 if ac_fn_cxx_try_compile "$LINENO"; then :
31806   glibcxx_cv_func_sqrtl_use=yes
31807 else
31808   glibcxx_cv_func_sqrtl_use=no
31809 fi
31810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31811       ac_ext=c
31812 ac_cpp='$CPP $CPPFLAGS'
31813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31816
31817
31818 fi
31819
31820   fi
31821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31822 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31823
31824   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31825     for ac_func in sqrtl
31826 do :
31827   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31828 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31829   cat >>confdefs.h <<_ACEOF
31830 #define HAVE_SQRTL 1
31831 _ACEOF
31832
31833 fi
31834 done
31835
31836   else
31837
31838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31839 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31840   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31841     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31842   $as_echo_n "(cached) " >&6
31843 else
31844
31845
31846       ac_ext=cpp
31847 ac_cpp='$CXXCPP $CPPFLAGS'
31848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851
31852       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31853 /* end confdefs.h.  */
31854 #include <math.h>
31855                       #ifdef HAVE_IEEEFP_H
31856                       #include <ieeefp.h>
31857                       #endif
31858
31859 int
31860 main ()
31861 {
31862  _sqrtl(0);
31863   ;
31864   return 0;
31865 }
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868   glibcxx_cv_func__sqrtl_use=yes
31869 else
31870   glibcxx_cv_func__sqrtl_use=no
31871 fi
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873       ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878
31879
31880 fi
31881
31882   fi
31883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31884 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31885
31886     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31887       for ac_func in _sqrtl
31888 do :
31889   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31890 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31891   cat >>confdefs.h <<_ACEOF
31892 #define HAVE__SQRTL 1
31893 _ACEOF
31894
31895 fi
31896 done
31897
31898     fi
31899   fi
31900
31901
31902
31903
31904
31905   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31906 $as_echo_n "checking for sincosl declaration... " >&6; }
31907   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31908     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31909   $as_echo_n "(cached) " >&6
31910 else
31911
31912
31913       ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31918
31919       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h.  */
31921 #include <math.h>
31922 int
31923 main ()
31924 {
31925  sincosl(0, 0, 0);
31926   ;
31927   return 0;
31928 }
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931   glibcxx_cv_func_sincosl_use=yes
31932 else
31933   glibcxx_cv_func_sincosl_use=no
31934 fi
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936       ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941
31942
31943 fi
31944
31945   fi
31946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31947 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31948
31949   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31950     for ac_func in sincosl
31951 do :
31952   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31953 if test "x$ac_cv_func_sincosl" = x""yes; then :
31954   cat >>confdefs.h <<_ACEOF
31955 #define HAVE_SINCOSL 1
31956 _ACEOF
31957
31958 fi
31959 done
31960
31961   else
31962
31963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31964 $as_echo_n "checking for _sincosl declaration... " >&6; }
31965   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31966     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31967   $as_echo_n "(cached) " >&6
31968 else
31969
31970
31971       ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31976
31977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h.  */
31979 #include <math.h>
31980 int
31981 main ()
31982 {
31983  _sincosl(0, 0, 0);
31984   ;
31985   return 0;
31986 }
31987 _ACEOF
31988 if ac_fn_cxx_try_compile "$LINENO"; then :
31989   glibcxx_cv_func__sincosl_use=yes
31990 else
31991   glibcxx_cv_func__sincosl_use=no
31992 fi
31993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31994       ac_ext=c
31995 ac_cpp='$CPP $CPPFLAGS'
31996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31999
32000
32001 fi
32002
32003   fi
32004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32005 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32006
32007     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32008       for ac_func in _sincosl
32009 do :
32010   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32011 if test "x$ac_cv_func__sincosl" = x""yes; then :
32012   cat >>confdefs.h <<_ACEOF
32013 #define HAVE__SINCOSL 1
32014 _ACEOF
32015
32016 fi
32017 done
32018
32019     fi
32020   fi
32021
32022
32023
32024
32025
32026   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32027 $as_echo_n "checking for finitel declaration... " >&6; }
32028   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32029     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32030   $as_echo_n "(cached) " >&6
32031 else
32032
32033
32034       ac_ext=cpp
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32039
32040       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041 /* end confdefs.h.  */
32042 #include <math.h>
32043                       #ifdef HAVE_IEEEFP_H
32044                       #include <ieeefp.h>
32045                       #endif
32046
32047 int
32048 main ()
32049 {
32050  finitel(0);
32051   ;
32052   return 0;
32053 }
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056   glibcxx_cv_func_finitel_use=yes
32057 else
32058   glibcxx_cv_func_finitel_use=no
32059 fi
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061       ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32066
32067
32068 fi
32069
32070   fi
32071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32072 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32073
32074   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32075     for ac_func in finitel
32076 do :
32077   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32078 if test "x$ac_cv_func_finitel" = x""yes; then :
32079   cat >>confdefs.h <<_ACEOF
32080 #define HAVE_FINITEL 1
32081 _ACEOF
32082
32083 fi
32084 done
32085
32086   else
32087
32088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32089 $as_echo_n "checking for _finitel declaration... " >&6; }
32090   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32091     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32092   $as_echo_n "(cached) " >&6
32093 else
32094
32095
32096       ac_ext=cpp
32097 ac_cpp='$CXXCPP $CPPFLAGS'
32098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101
32102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32103 /* end confdefs.h.  */
32104 #include <math.h>
32105                       #ifdef HAVE_IEEEFP_H
32106                       #include <ieeefp.h>
32107                       #endif
32108
32109 int
32110 main ()
32111 {
32112  _finitel(0);
32113   ;
32114   return 0;
32115 }
32116 _ACEOF
32117 if ac_fn_cxx_try_compile "$LINENO"; then :
32118   glibcxx_cv_func__finitel_use=yes
32119 else
32120   glibcxx_cv_func__finitel_use=no
32121 fi
32122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32123       ac_ext=c
32124 ac_cpp='$CPP $CPPFLAGS'
32125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32128
32129
32130 fi
32131
32132   fi
32133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32134 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32135
32136     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32137       for ac_func in _finitel
32138 do :
32139   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32140 if test "x$ac_cv_func__finitel" = x""yes; then :
32141   cat >>confdefs.h <<_ACEOF
32142 #define HAVE__FINITEL 1
32143 _ACEOF
32144
32145 fi
32146 done
32147
32148     fi
32149   fi
32150
32151
32152
32153
32154   LIBS="$ac_save_LIBS"
32155   CXXFLAGS="$ac_save_CXXFLAGS"
32156
32157
32158   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32159   ac_save_CXXFLAGS="$CXXFLAGS"
32160   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32161
32162
32163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32164 $as_echo_n "checking for strtold declaration... " >&6; }
32165   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32166     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32167   $as_echo_n "(cached) " >&6
32168 else
32169
32170
32171       ac_ext=cpp
32172 ac_cpp='$CXXCPP $CPPFLAGS'
32173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32176
32177       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32178 /* end confdefs.h.  */
32179 #include <stdlib.h>
32180 int
32181 main ()
32182 {
32183  strtold(0, 0);
32184   ;
32185   return 0;
32186 }
32187 _ACEOF
32188 if ac_fn_cxx_try_compile "$LINENO"; then :
32189   glibcxx_cv_func_strtold_use=yes
32190 else
32191   glibcxx_cv_func_strtold_use=no
32192 fi
32193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32194       ac_ext=c
32195 ac_cpp='$CPP $CPPFLAGS'
32196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32199
32200
32201 fi
32202
32203   fi
32204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32205 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32206   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32207     for ac_func in strtold
32208 do :
32209   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32210 if test "x$ac_cv_func_strtold" = x""yes; then :
32211   cat >>confdefs.h <<_ACEOF
32212 #define HAVE_STRTOLD 1
32213 _ACEOF
32214
32215 fi
32216 done
32217
32218   fi
32219
32220
32221
32222
32223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32224 $as_echo_n "checking for strtof declaration... " >&6; }
32225   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32226     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32227   $as_echo_n "(cached) " >&6
32228 else
32229
32230
32231       ac_ext=cpp
32232 ac_cpp='$CXXCPP $CPPFLAGS'
32233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32236
32237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32238 /* end confdefs.h.  */
32239 #include <stdlib.h>
32240 int
32241 main ()
32242 {
32243  strtof(0, 0);
32244   ;
32245   return 0;
32246 }
32247 _ACEOF
32248 if ac_fn_cxx_try_compile "$LINENO"; then :
32249   glibcxx_cv_func_strtof_use=yes
32250 else
32251   glibcxx_cv_func_strtof_use=no
32252 fi
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254       ac_ext=c
32255 ac_cpp='$CPP $CPPFLAGS'
32256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32259
32260
32261 fi
32262
32263   fi
32264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32265 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32266   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32267     for ac_func in strtof
32268 do :
32269   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32270 if test "x$ac_cv_func_strtof" = x""yes; then :
32271   cat >>confdefs.h <<_ACEOF
32272 #define HAVE_STRTOF 1
32273 _ACEOF
32274
32275 fi
32276 done
32277
32278   fi
32279
32280
32281
32282
32283   CXXFLAGS="$ac_save_CXXFLAGS"
32284
32285
32286     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32287
32288     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32289
32290     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32291
32292     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32293
32294
32295     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32296
32297     $as_echo "#define HAVE_MODF 1" >>confdefs.h
32298
32299     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32300
32301     ;;
32302
32303   *-aix*)
32304
32305   # If we're not using GNU ld, then there's no point in even trying these
32306   # tests.  Check for that first.  We should have already tested for gld
32307   # by now (in libtool), but require it now just to be safe...
32308   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32309   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32310
32311
32312
32313   # The name set by libtool depends on the version of libtool.  Shame on us
32314   # for depending on an impl detail, but c'est la vie.  Older versions used
32315   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32316   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32317   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
32318   # set (hence we're using an older libtool), then set it.
32319   if test x${with_gnu_ld+set} != xset; then
32320     if test x${ac_cv_prog_gnu_ld+set} != xset; then
32321       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
32322       with_gnu_ld=no
32323     else
32324       with_gnu_ld=$ac_cv_prog_gnu_ld
32325     fi
32326   fi
32327
32328   # Start by getting the version number.  I think the libtool test already
32329   # does some of this, but throws away the result.
32330   glibcxx_ld_is_gold=no
32331   if test x"$with_gnu_ld" = x"yes"; then
32332     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32333 $as_echo_n "checking for ld version... " >&6; }
32334
32335     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32336       glibcxx_ld_is_gold=yes
32337     fi
32338     ldver=`$LD --version 2>/dev/null |
32339            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'`
32340
32341     glibcxx_gnu_ld_version=`echo $ldver | \
32342            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32343     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32344 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32345   fi
32346
32347   # Set --gc-sections.
32348   glibcxx_have_gc_sections=no
32349   if test "$glibcxx_ld_is_gold" = "yes"; then
32350     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32351       glibcxx_have_gc_sections=yes
32352     fi
32353   else
32354     glibcxx_gcsections_min_ld=21602
32355     if test x"$with_gnu_ld" = x"yes" &&
32356         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32357       glibcxx_have_gc_sections=yes
32358     fi
32359   fi
32360   if test "$glibcxx_have_gc_sections" = "yes"; then
32361     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
32362     # NB: This flag only works reliably after 2.16.1. Configure tests
32363     # for this are difficult, so hard wire a value that should work.
32364
32365     ac_test_CFLAGS="${CFLAGS+set}"
32366     ac_save_CFLAGS="$CFLAGS"
32367     CFLAGS='-Wl,--gc-sections'
32368
32369     # Check for -Wl,--gc-sections
32370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32371 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32372     if test x$gcc_no_link = xyes; then
32373   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32374 fi
32375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32376 /* end confdefs.h.  */
32377  int one(void) { return 1; }
32378      int two(void) { return 2; }
32379
32380 int
32381 main ()
32382 {
32383  two();
32384   ;
32385   return 0;
32386 }
32387 _ACEOF
32388 if ac_fn_c_try_link "$LINENO"; then :
32389   ac_gcsections=yes
32390 else
32391   ac_gcsections=no
32392 fi
32393 rm -f core conftest.err conftest.$ac_objext \
32394     conftest$ac_exeext conftest.$ac_ext
32395     if test "$ac_gcsections" = "yes"; then
32396       rm -f conftest.c
32397       touch conftest.c
32398       if $CC -c conftest.c; then
32399         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32400            grep "Warning: gc-sections option ignored" > /dev/null; then
32401           ac_gcsections=no
32402         fi
32403       fi
32404       rm -f conftest.c conftest.o conftest
32405     fi
32406     if test "$ac_gcsections" = "yes"; then
32407       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32408     fi
32409     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32410 $as_echo "$ac_gcsections" >&6; }
32411
32412     if test "$ac_test_CFLAGS" = set; then
32413       CFLAGS="$ac_save_CFLAGS"
32414     else
32415       # this is the suspicious part
32416       CFLAGS=''
32417     fi
32418   fi
32419
32420   # Set -z,relro.
32421   # Note this is only for shared objects.
32422   ac_ld_relro=no
32423   if test x"$with_gnu_ld" = x"yes"; then
32424     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32425 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32426     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32427     if test -n "$cxx_z_relo"; then
32428       OPT_LDFLAGS="-Wl,-z,relro"
32429       ac_ld_relro=yes
32430     fi
32431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32432 $as_echo "$ac_ld_relro" >&6; }
32433   fi
32434
32435   # Set linker optimization flags.
32436   if test x"$with_gnu_ld" = x"yes"; then
32437     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32438   fi
32439
32440
32441
32442
32443
32444   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32445   ac_save_CXXFLAGS="$CXXFLAGS"
32446   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32447
32448     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32449 $as_echo_n "checking for sin in -lm... " >&6; }
32450 if test "${ac_cv_lib_m_sin+set}" = set; then :
32451   $as_echo_n "(cached) " >&6
32452 else
32453   ac_check_lib_save_LIBS=$LIBS
32454 LIBS="-lm  $LIBS"
32455 if test x$gcc_no_link = xyes; then
32456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32457 fi
32458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32459 /* end confdefs.h.  */
32460
32461 /* Override any GCC internal prototype to avoid an error.
32462    Use char because int might match the return type of a GCC
32463    builtin and then its argument prototype would still apply.  */
32464 #ifdef __cplusplus
32465 extern "C"
32466 #endif
32467 char sin ();
32468 int
32469 main ()
32470 {
32471 return sin ();
32472   ;
32473   return 0;
32474 }
32475 _ACEOF
32476 if ac_fn_c_try_link "$LINENO"; then :
32477   ac_cv_lib_m_sin=yes
32478 else
32479   ac_cv_lib_m_sin=no
32480 fi
32481 rm -f core conftest.err conftest.$ac_objext \
32482     conftest$ac_exeext conftest.$ac_ext
32483 LIBS=$ac_check_lib_save_LIBS
32484 fi
32485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32486 $as_echo "$ac_cv_lib_m_sin" >&6; }
32487 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32488   libm="-lm"
32489 fi
32490
32491   ac_save_LIBS="$LIBS"
32492   LIBS="$LIBS $libm"
32493
32494
32495
32496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32497 $as_echo_n "checking for isinf declaration... " >&6; }
32498   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32499     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32500   $as_echo_n "(cached) " >&6
32501 else
32502
32503
32504       ac_ext=cpp
32505 ac_cpp='$CXXCPP $CPPFLAGS'
32506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32509
32510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32511 /* end confdefs.h.  */
32512 #include <math.h>
32513                       #ifdef HAVE_IEEEFP_H
32514                       #include <ieeefp.h>
32515                       #endif
32516
32517 int
32518 main ()
32519 {
32520  isinf(0);
32521   ;
32522   return 0;
32523 }
32524 _ACEOF
32525 if ac_fn_cxx_try_compile "$LINENO"; then :
32526   glibcxx_cv_func_isinf_use=yes
32527 else
32528   glibcxx_cv_func_isinf_use=no
32529 fi
32530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32531       ac_ext=c
32532 ac_cpp='$CPP $CPPFLAGS'
32533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32536
32537
32538 fi
32539
32540   fi
32541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32542 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32543
32544   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32545     for ac_func in isinf
32546 do :
32547   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32548 if test "x$ac_cv_func_isinf" = x""yes; then :
32549   cat >>confdefs.h <<_ACEOF
32550 #define HAVE_ISINF 1
32551 _ACEOF
32552
32553 fi
32554 done
32555
32556   else
32557
32558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32559 $as_echo_n "checking for _isinf declaration... " >&6; }
32560   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32561     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32562   $as_echo_n "(cached) " >&6
32563 else
32564
32565
32566       ac_ext=cpp
32567 ac_cpp='$CXXCPP $CPPFLAGS'
32568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32571
32572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32573 /* end confdefs.h.  */
32574 #include <math.h>
32575                       #ifdef HAVE_IEEEFP_H
32576                       #include <ieeefp.h>
32577                       #endif
32578
32579 int
32580 main ()
32581 {
32582  _isinf(0);
32583   ;
32584   return 0;
32585 }
32586 _ACEOF
32587 if ac_fn_cxx_try_compile "$LINENO"; then :
32588   glibcxx_cv_func__isinf_use=yes
32589 else
32590   glibcxx_cv_func__isinf_use=no
32591 fi
32592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32593       ac_ext=c
32594 ac_cpp='$CPP $CPPFLAGS'
32595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32598
32599
32600 fi
32601
32602   fi
32603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32604 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32605
32606     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32607       for ac_func in _isinf
32608 do :
32609   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32610 if test "x$ac_cv_func__isinf" = x""yes; then :
32611   cat >>confdefs.h <<_ACEOF
32612 #define HAVE__ISINF 1
32613 _ACEOF
32614
32615 fi
32616 done
32617
32618     fi
32619   fi
32620
32621
32622
32623
32624
32625   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32626 $as_echo_n "checking for isnan declaration... " >&6; }
32627   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32628     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32629   $as_echo_n "(cached) " >&6
32630 else
32631
32632
32633       ac_ext=cpp
32634 ac_cpp='$CXXCPP $CPPFLAGS'
32635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32638
32639       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32640 /* end confdefs.h.  */
32641 #include <math.h>
32642                       #ifdef HAVE_IEEEFP_H
32643                       #include <ieeefp.h>
32644                       #endif
32645
32646 int
32647 main ()
32648 {
32649  isnan(0);
32650   ;
32651   return 0;
32652 }
32653 _ACEOF
32654 if ac_fn_cxx_try_compile "$LINENO"; then :
32655   glibcxx_cv_func_isnan_use=yes
32656 else
32657   glibcxx_cv_func_isnan_use=no
32658 fi
32659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32660       ac_ext=c
32661 ac_cpp='$CPP $CPPFLAGS'
32662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32665
32666
32667 fi
32668
32669   fi
32670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32671 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32672
32673   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32674     for ac_func in isnan
32675 do :
32676   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32677 if test "x$ac_cv_func_isnan" = x""yes; then :
32678   cat >>confdefs.h <<_ACEOF
32679 #define HAVE_ISNAN 1
32680 _ACEOF
32681
32682 fi
32683 done
32684
32685   else
32686
32687   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32688 $as_echo_n "checking for _isnan declaration... " >&6; }
32689   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32690     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32691   $as_echo_n "(cached) " >&6
32692 else
32693
32694
32695       ac_ext=cpp
32696 ac_cpp='$CXXCPP $CPPFLAGS'
32697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32700
32701       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32702 /* end confdefs.h.  */
32703 #include <math.h>
32704                       #ifdef HAVE_IEEEFP_H
32705                       #include <ieeefp.h>
32706                       #endif
32707
32708 int
32709 main ()
32710 {
32711  _isnan(0);
32712   ;
32713   return 0;
32714 }
32715 _ACEOF
32716 if ac_fn_cxx_try_compile "$LINENO"; then :
32717   glibcxx_cv_func__isnan_use=yes
32718 else
32719   glibcxx_cv_func__isnan_use=no
32720 fi
32721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32722       ac_ext=c
32723 ac_cpp='$CPP $CPPFLAGS'
32724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32727
32728
32729 fi
32730
32731   fi
32732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32733 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32734
32735     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32736       for ac_func in _isnan
32737 do :
32738   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32739 if test "x$ac_cv_func__isnan" = x""yes; then :
32740   cat >>confdefs.h <<_ACEOF
32741 #define HAVE__ISNAN 1
32742 _ACEOF
32743
32744 fi
32745 done
32746
32747     fi
32748   fi
32749
32750
32751
32752
32753
32754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32755 $as_echo_n "checking for finite declaration... " >&6; }
32756   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32757     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32758   $as_echo_n "(cached) " >&6
32759 else
32760
32761
32762       ac_ext=cpp
32763 ac_cpp='$CXXCPP $CPPFLAGS'
32764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32767
32768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32769 /* end confdefs.h.  */
32770 #include <math.h>
32771                       #ifdef HAVE_IEEEFP_H
32772                       #include <ieeefp.h>
32773                       #endif
32774
32775 int
32776 main ()
32777 {
32778  finite(0);
32779   ;
32780   return 0;
32781 }
32782 _ACEOF
32783 if ac_fn_cxx_try_compile "$LINENO"; then :
32784   glibcxx_cv_func_finite_use=yes
32785 else
32786   glibcxx_cv_func_finite_use=no
32787 fi
32788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32789       ac_ext=c
32790 ac_cpp='$CPP $CPPFLAGS'
32791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32794
32795
32796 fi
32797
32798   fi
32799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32800 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32801
32802   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32803     for ac_func in finite
32804 do :
32805   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32806 if test "x$ac_cv_func_finite" = x""yes; then :
32807   cat >>confdefs.h <<_ACEOF
32808 #define HAVE_FINITE 1
32809 _ACEOF
32810
32811 fi
32812 done
32813
32814   else
32815
32816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32817 $as_echo_n "checking for _finite declaration... " >&6; }
32818   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32819     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32820   $as_echo_n "(cached) " >&6
32821 else
32822
32823
32824       ac_ext=cpp
32825 ac_cpp='$CXXCPP $CPPFLAGS'
32826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32829
32830       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32831 /* end confdefs.h.  */
32832 #include <math.h>
32833                       #ifdef HAVE_IEEEFP_H
32834                       #include <ieeefp.h>
32835                       #endif
32836
32837 int
32838 main ()
32839 {
32840  _finite(0);
32841   ;
32842   return 0;
32843 }
32844 _ACEOF
32845 if ac_fn_cxx_try_compile "$LINENO"; then :
32846   glibcxx_cv_func__finite_use=yes
32847 else
32848   glibcxx_cv_func__finite_use=no
32849 fi
32850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32851       ac_ext=c
32852 ac_cpp='$CPP $CPPFLAGS'
32853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32856
32857
32858 fi
32859
32860   fi
32861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32862 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32863
32864     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32865       for ac_func in _finite
32866 do :
32867   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32868 if test "x$ac_cv_func__finite" = x""yes; then :
32869   cat >>confdefs.h <<_ACEOF
32870 #define HAVE__FINITE 1
32871 _ACEOF
32872
32873 fi
32874 done
32875
32876     fi
32877   fi
32878
32879
32880
32881
32882
32883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32884 $as_echo_n "checking for sincos declaration... " >&6; }
32885   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32886     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32887   $as_echo_n "(cached) " >&6
32888 else
32889
32890
32891       ac_ext=cpp
32892 ac_cpp='$CXXCPP $CPPFLAGS'
32893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32896
32897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32898 /* end confdefs.h.  */
32899 #include <math.h>
32900 int
32901 main ()
32902 {
32903  sincos(0, 0, 0);
32904   ;
32905   return 0;
32906 }
32907 _ACEOF
32908 if ac_fn_cxx_try_compile "$LINENO"; then :
32909   glibcxx_cv_func_sincos_use=yes
32910 else
32911   glibcxx_cv_func_sincos_use=no
32912 fi
32913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32914       ac_ext=c
32915 ac_cpp='$CPP $CPPFLAGS'
32916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32919
32920
32921 fi
32922
32923   fi
32924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32925 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32926
32927   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32928     for ac_func in sincos
32929 do :
32930   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32931 if test "x$ac_cv_func_sincos" = x""yes; then :
32932   cat >>confdefs.h <<_ACEOF
32933 #define HAVE_SINCOS 1
32934 _ACEOF
32935
32936 fi
32937 done
32938
32939   else
32940
32941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32942 $as_echo_n "checking for _sincos declaration... " >&6; }
32943   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32944     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32945   $as_echo_n "(cached) " >&6
32946 else
32947
32948
32949       ac_ext=cpp
32950 ac_cpp='$CXXCPP $CPPFLAGS'
32951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32954
32955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32956 /* end confdefs.h.  */
32957 #include <math.h>
32958 int
32959 main ()
32960 {
32961  _sincos(0, 0, 0);
32962   ;
32963   return 0;
32964 }
32965 _ACEOF
32966 if ac_fn_cxx_try_compile "$LINENO"; then :
32967   glibcxx_cv_func__sincos_use=yes
32968 else
32969   glibcxx_cv_func__sincos_use=no
32970 fi
32971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32972       ac_ext=c
32973 ac_cpp='$CPP $CPPFLAGS'
32974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32977
32978
32979 fi
32980
32981   fi
32982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32983 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32984
32985     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32986       for ac_func in _sincos
32987 do :
32988   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32989 if test "x$ac_cv_func__sincos" = x""yes; then :
32990   cat >>confdefs.h <<_ACEOF
32991 #define HAVE__SINCOS 1
32992 _ACEOF
32993
32994 fi
32995 done
32996
32997     fi
32998   fi
32999
33000
33001
33002
33003
33004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33005 $as_echo_n "checking for fpclass declaration... " >&6; }
33006   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33007     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33008   $as_echo_n "(cached) " >&6
33009 else
33010
33011
33012       ac_ext=cpp
33013 ac_cpp='$CXXCPP $CPPFLAGS'
33014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33017
33018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33019 /* end confdefs.h.  */
33020 #include <math.h>
33021                       #ifdef HAVE_IEEEFP_H
33022                       #include <ieeefp.h>
33023                       #endif
33024
33025 int
33026 main ()
33027 {
33028  fpclass(0);
33029   ;
33030   return 0;
33031 }
33032 _ACEOF
33033 if ac_fn_cxx_try_compile "$LINENO"; then :
33034   glibcxx_cv_func_fpclass_use=yes
33035 else
33036   glibcxx_cv_func_fpclass_use=no
33037 fi
33038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33039       ac_ext=c
33040 ac_cpp='$CPP $CPPFLAGS'
33041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33044
33045
33046 fi
33047
33048   fi
33049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33050 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33051
33052   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33053     for ac_func in fpclass
33054 do :
33055   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33056 if test "x$ac_cv_func_fpclass" = x""yes; then :
33057   cat >>confdefs.h <<_ACEOF
33058 #define HAVE_FPCLASS 1
33059 _ACEOF
33060
33061 fi
33062 done
33063
33064   else
33065
33066   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33067 $as_echo_n "checking for _fpclass declaration... " >&6; }
33068   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33069     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33070   $as_echo_n "(cached) " >&6
33071 else
33072
33073
33074       ac_ext=cpp
33075 ac_cpp='$CXXCPP $CPPFLAGS'
33076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33079
33080       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33081 /* end confdefs.h.  */
33082 #include <math.h>
33083                       #ifdef HAVE_IEEEFP_H
33084                       #include <ieeefp.h>
33085                       #endif
33086
33087 int
33088 main ()
33089 {
33090  _fpclass(0);
33091   ;
33092   return 0;
33093 }
33094 _ACEOF
33095 if ac_fn_cxx_try_compile "$LINENO"; then :
33096   glibcxx_cv_func__fpclass_use=yes
33097 else
33098   glibcxx_cv_func__fpclass_use=no
33099 fi
33100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33101       ac_ext=c
33102 ac_cpp='$CPP $CPPFLAGS'
33103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33106
33107
33108 fi
33109
33110   fi
33111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33112 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33113
33114     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33115       for ac_func in _fpclass
33116 do :
33117   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33118 if test "x$ac_cv_func__fpclass" = x""yes; then :
33119   cat >>confdefs.h <<_ACEOF
33120 #define HAVE__FPCLASS 1
33121 _ACEOF
33122
33123 fi
33124 done
33125
33126     fi
33127   fi
33128
33129
33130
33131
33132
33133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33134 $as_echo_n "checking for qfpclass declaration... " >&6; }
33135   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33136     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33137   $as_echo_n "(cached) " >&6
33138 else
33139
33140
33141       ac_ext=cpp
33142 ac_cpp='$CXXCPP $CPPFLAGS'
33143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33146
33147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33148 /* end confdefs.h.  */
33149 #include <math.h>
33150                       #ifdef HAVE_IEEEFP_H
33151                       #include <ieeefp.h>
33152                       #endif
33153
33154 int
33155 main ()
33156 {
33157  qfpclass(0);
33158   ;
33159   return 0;
33160 }
33161 _ACEOF
33162 if ac_fn_cxx_try_compile "$LINENO"; then :
33163   glibcxx_cv_func_qfpclass_use=yes
33164 else
33165   glibcxx_cv_func_qfpclass_use=no
33166 fi
33167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33168       ac_ext=c
33169 ac_cpp='$CPP $CPPFLAGS'
33170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33173
33174
33175 fi
33176
33177   fi
33178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33179 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33180
33181   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33182     for ac_func in qfpclass
33183 do :
33184   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33185 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33186   cat >>confdefs.h <<_ACEOF
33187 #define HAVE_QFPCLASS 1
33188 _ACEOF
33189
33190 fi
33191 done
33192
33193   else
33194
33195   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33196 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33197   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33198     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33199   $as_echo_n "(cached) " >&6
33200 else
33201
33202
33203       ac_ext=cpp
33204 ac_cpp='$CXXCPP $CPPFLAGS'
33205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33208
33209       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33210 /* end confdefs.h.  */
33211 #include <math.h>
33212                       #ifdef HAVE_IEEEFP_H
33213                       #include <ieeefp.h>
33214                       #endif
33215
33216 int
33217 main ()
33218 {
33219  _qfpclass(0);
33220   ;
33221   return 0;
33222 }
33223 _ACEOF
33224 if ac_fn_cxx_try_compile "$LINENO"; then :
33225   glibcxx_cv_func__qfpclass_use=yes
33226 else
33227   glibcxx_cv_func__qfpclass_use=no
33228 fi
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230       ac_ext=c
33231 ac_cpp='$CPP $CPPFLAGS'
33232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33235
33236
33237 fi
33238
33239   fi
33240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33241 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33242
33243     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33244       for ac_func in _qfpclass
33245 do :
33246   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33247 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33248   cat >>confdefs.h <<_ACEOF
33249 #define HAVE__QFPCLASS 1
33250 _ACEOF
33251
33252 fi
33253 done
33254
33255     fi
33256   fi
33257
33258
33259
33260
33261
33262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33263 $as_echo_n "checking for hypot declaration... " >&6; }
33264   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33265     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33266   $as_echo_n "(cached) " >&6
33267 else
33268
33269
33270       ac_ext=cpp
33271 ac_cpp='$CXXCPP $CPPFLAGS'
33272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33275
33276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33277 /* end confdefs.h.  */
33278 #include <math.h>
33279 int
33280 main ()
33281 {
33282  hypot(0, 0);
33283   ;
33284   return 0;
33285 }
33286 _ACEOF
33287 if ac_fn_cxx_try_compile "$LINENO"; then :
33288   glibcxx_cv_func_hypot_use=yes
33289 else
33290   glibcxx_cv_func_hypot_use=no
33291 fi
33292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33293       ac_ext=c
33294 ac_cpp='$CPP $CPPFLAGS'
33295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33298
33299
33300 fi
33301
33302   fi
33303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33304 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33305
33306   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33307     for ac_func in hypot
33308 do :
33309   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33310 if test "x$ac_cv_func_hypot" = x""yes; then :
33311   cat >>confdefs.h <<_ACEOF
33312 #define HAVE_HYPOT 1
33313 _ACEOF
33314
33315 fi
33316 done
33317
33318   else
33319
33320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33321 $as_echo_n "checking for _hypot declaration... " >&6; }
33322   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33323     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33324   $as_echo_n "(cached) " >&6
33325 else
33326
33327
33328       ac_ext=cpp
33329 ac_cpp='$CXXCPP $CPPFLAGS'
33330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33333
33334       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33335 /* end confdefs.h.  */
33336 #include <math.h>
33337 int
33338 main ()
33339 {
33340  _hypot(0, 0);
33341   ;
33342   return 0;
33343 }
33344 _ACEOF
33345 if ac_fn_cxx_try_compile "$LINENO"; then :
33346   glibcxx_cv_func__hypot_use=yes
33347 else
33348   glibcxx_cv_func__hypot_use=no
33349 fi
33350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351       ac_ext=c
33352 ac_cpp='$CPP $CPPFLAGS'
33353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356
33357
33358 fi
33359
33360   fi
33361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33362 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33363
33364     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33365       for ac_func in _hypot
33366 do :
33367   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33368 if test "x$ac_cv_func__hypot" = x""yes; then :
33369   cat >>confdefs.h <<_ACEOF
33370 #define HAVE__HYPOT 1
33371 _ACEOF
33372
33373 fi
33374 done
33375
33376     fi
33377   fi
33378
33379
33380
33381
33382
33383     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33384 $as_echo_n "checking for float trig functions... " >&6; }
33385   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33386   $as_echo_n "(cached) " >&6
33387 else
33388
33389
33390     ac_ext=cpp
33391 ac_cpp='$CXXCPP $CPPFLAGS'
33392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33395
33396     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33397 /* end confdefs.h.  */
33398 #include <math.h>
33399 int
33400 main ()
33401 {
33402 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33403   ;
33404   return 0;
33405 }
33406 _ACEOF
33407 if ac_fn_cxx_try_compile "$LINENO"; then :
33408   glibcxx_cv_func_float_trig_use=yes
33409 else
33410   glibcxx_cv_func_float_trig_use=no
33411 fi
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413     ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419 fi
33420
33421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33422 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33423   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33424     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33425 do :
33426   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33428 eval as_val=\$$as_ac_var
33429    if test "x$as_val" = x""yes; then :
33430   cat >>confdefs.h <<_ACEOF
33431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33432 _ACEOF
33433
33434 fi
33435 done
33436
33437   else
33438     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33439 $as_echo_n "checking for _float trig functions... " >&6; }
33440     if test "${glibcxx_cv_func__float_trig_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 int
33455 main ()
33456 {
33457 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33458   ;
33459   return 0;
33460 }
33461 _ACEOF
33462 if ac_fn_cxx_try_compile "$LINENO"; then :
33463   glibcxx_cv_func__float_trig_use=yes
33464 else
33465   glibcxx_cv_func__float_trig_use=no
33466 fi
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33468       ac_ext=c
33469 ac_cpp='$CPP $CPPFLAGS'
33470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473
33474 fi
33475
33476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33477 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33478     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33479       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33480 do :
33481   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33482 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33483 eval as_val=\$$as_ac_var
33484    if test "x$as_val" = x""yes; then :
33485   cat >>confdefs.h <<_ACEOF
33486 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33487 _ACEOF
33488
33489 fi
33490 done
33491
33492     fi
33493   fi
33494
33495
33496
33497
33498
33499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33500 $as_echo_n "checking for float round functions... " >&6; }
33501   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33502   $as_echo_n "(cached) " >&6
33503 else
33504
33505
33506     ac_ext=cpp
33507 ac_cpp='$CXXCPP $CPPFLAGS'
33508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33511
33512     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33513 /* end confdefs.h.  */
33514 #include <math.h>
33515 int
33516 main ()
33517 {
33518 ceilf (0); floorf (0);
33519   ;
33520   return 0;
33521 }
33522 _ACEOF
33523 if ac_fn_cxx_try_compile "$LINENO"; then :
33524   glibcxx_cv_func_float_round_use=yes
33525 else
33526   glibcxx_cv_func_float_round_use=no
33527 fi
33528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33529     ac_ext=c
33530 ac_cpp='$CPP $CPPFLAGS'
33531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33534
33535 fi
33536
33537   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33538 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33539   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33540     for ac_func in ceilf floorf
33541 do :
33542   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33543 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33544 eval as_val=\$$as_ac_var
33545    if test "x$as_val" = x""yes; then :
33546   cat >>confdefs.h <<_ACEOF
33547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33548 _ACEOF
33549
33550 fi
33551 done
33552
33553   else
33554     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33555 $as_echo_n "checking for _float round functions... " >&6; }
33556     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33557   $as_echo_n "(cached) " >&6
33558 else
33559
33560
33561       ac_ext=cpp
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566
33567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33568 /* end confdefs.h.  */
33569 #include <math.h>
33570 int
33571 main ()
33572 {
33573 _ceilf (0); _floorf (0);
33574   ;
33575   return 0;
33576 }
33577 _ACEOF
33578 if ac_fn_cxx_try_compile "$LINENO"; then :
33579   glibcxx_cv_func__float_round_use=yes
33580 else
33581   glibcxx_cv_func__float_round_use=no
33582 fi
33583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33584       ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33589
33590 fi
33591
33592     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33593 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33594     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33595       for ac_func in _ceilf _floorf
33596 do :
33597   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33599 eval as_val=\$$as_ac_var
33600    if test "x$as_val" = x""yes; then :
33601   cat >>confdefs.h <<_ACEOF
33602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33603 _ACEOF
33604
33605 fi
33606 done
33607
33608     fi
33609   fi
33610
33611
33612
33613
33614
33615
33616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33617 $as_echo_n "checking for expf declaration... " >&6; }
33618   if test x${glibcxx_cv_func_expf_use+set} != xset; then
33619     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33620   $as_echo_n "(cached) " >&6
33621 else
33622
33623
33624       ac_ext=cpp
33625 ac_cpp='$CXXCPP $CPPFLAGS'
33626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33629
33630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33631 /* end confdefs.h.  */
33632 #include <math.h>
33633                       #ifdef HAVE_IEEEFP_H
33634                       #include <ieeefp.h>
33635                       #endif
33636
33637 int
33638 main ()
33639 {
33640  expf(0);
33641   ;
33642   return 0;
33643 }
33644 _ACEOF
33645 if ac_fn_cxx_try_compile "$LINENO"; then :
33646   glibcxx_cv_func_expf_use=yes
33647 else
33648   glibcxx_cv_func_expf_use=no
33649 fi
33650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651       ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33656
33657
33658 fi
33659
33660   fi
33661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33662 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33663
33664   if test x$glibcxx_cv_func_expf_use = x"yes"; then
33665     for ac_func in expf
33666 do :
33667   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33668 if test "x$ac_cv_func_expf" = x""yes; then :
33669   cat >>confdefs.h <<_ACEOF
33670 #define HAVE_EXPF 1
33671 _ACEOF
33672
33673 fi
33674 done
33675
33676   else
33677
33678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33679 $as_echo_n "checking for _expf declaration... " >&6; }
33680   if test x${glibcxx_cv_func__expf_use+set} != xset; then
33681     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33682   $as_echo_n "(cached) " >&6
33683 else
33684
33685
33686       ac_ext=cpp
33687 ac_cpp='$CXXCPP $CPPFLAGS'
33688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33691
33692       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33693 /* end confdefs.h.  */
33694 #include <math.h>
33695                       #ifdef HAVE_IEEEFP_H
33696                       #include <ieeefp.h>
33697                       #endif
33698
33699 int
33700 main ()
33701 {
33702  _expf(0);
33703   ;
33704   return 0;
33705 }
33706 _ACEOF
33707 if ac_fn_cxx_try_compile "$LINENO"; then :
33708   glibcxx_cv_func__expf_use=yes
33709 else
33710   glibcxx_cv_func__expf_use=no
33711 fi
33712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33713       ac_ext=c
33714 ac_cpp='$CPP $CPPFLAGS'
33715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33718
33719
33720 fi
33721
33722   fi
33723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33724 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33725
33726     if test x$glibcxx_cv_func__expf_use = x"yes"; then
33727       for ac_func in _expf
33728 do :
33729   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33730 if test "x$ac_cv_func__expf" = x""yes; then :
33731   cat >>confdefs.h <<_ACEOF
33732 #define HAVE__EXPF 1
33733 _ACEOF
33734
33735 fi
33736 done
33737
33738     fi
33739   fi
33740
33741
33742
33743
33744
33745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33746 $as_echo_n "checking for isnanf declaration... " >&6; }
33747   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33748     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33749   $as_echo_n "(cached) " >&6
33750 else
33751
33752
33753       ac_ext=cpp
33754 ac_cpp='$CXXCPP $CPPFLAGS'
33755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758
33759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33760 /* end confdefs.h.  */
33761 #include <math.h>
33762                       #ifdef HAVE_IEEEFP_H
33763                       #include <ieeefp.h>
33764                       #endif
33765
33766 int
33767 main ()
33768 {
33769  isnanf(0);
33770   ;
33771   return 0;
33772 }
33773 _ACEOF
33774 if ac_fn_cxx_try_compile "$LINENO"; then :
33775   glibcxx_cv_func_isnanf_use=yes
33776 else
33777   glibcxx_cv_func_isnanf_use=no
33778 fi
33779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33780       ac_ext=c
33781 ac_cpp='$CPP $CPPFLAGS'
33782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33785
33786
33787 fi
33788
33789   fi
33790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33791 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33792
33793   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33794     for ac_func in isnanf
33795 do :
33796   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33797 if test "x$ac_cv_func_isnanf" = x""yes; then :
33798   cat >>confdefs.h <<_ACEOF
33799 #define HAVE_ISNANF 1
33800 _ACEOF
33801
33802 fi
33803 done
33804
33805   else
33806
33807   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33808 $as_echo_n "checking for _isnanf declaration... " >&6; }
33809   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33810     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33811   $as_echo_n "(cached) " >&6
33812 else
33813
33814
33815       ac_ext=cpp
33816 ac_cpp='$CXXCPP $CPPFLAGS'
33817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33820
33821       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33822 /* end confdefs.h.  */
33823 #include <math.h>
33824                       #ifdef HAVE_IEEEFP_H
33825                       #include <ieeefp.h>
33826                       #endif
33827
33828 int
33829 main ()
33830 {
33831  _isnanf(0);
33832   ;
33833   return 0;
33834 }
33835 _ACEOF
33836 if ac_fn_cxx_try_compile "$LINENO"; then :
33837   glibcxx_cv_func__isnanf_use=yes
33838 else
33839   glibcxx_cv_func__isnanf_use=no
33840 fi
33841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33842       ac_ext=c
33843 ac_cpp='$CPP $CPPFLAGS'
33844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33847
33848
33849 fi
33850
33851   fi
33852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33853 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33854
33855     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33856       for ac_func in _isnanf
33857 do :
33858   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33859 if test "x$ac_cv_func__isnanf" = x""yes; then :
33860   cat >>confdefs.h <<_ACEOF
33861 #define HAVE__ISNANF 1
33862 _ACEOF
33863
33864 fi
33865 done
33866
33867     fi
33868   fi
33869
33870
33871
33872
33873
33874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33875 $as_echo_n "checking for isinff declaration... " >&6; }
33876   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33877     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33878   $as_echo_n "(cached) " >&6
33879 else
33880
33881
33882       ac_ext=cpp
33883 ac_cpp='$CXXCPP $CPPFLAGS'
33884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33887
33888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33889 /* end confdefs.h.  */
33890 #include <math.h>
33891                       #ifdef HAVE_IEEEFP_H
33892                       #include <ieeefp.h>
33893                       #endif
33894
33895 int
33896 main ()
33897 {
33898  isinff(0);
33899   ;
33900   return 0;
33901 }
33902 _ACEOF
33903 if ac_fn_cxx_try_compile "$LINENO"; then :
33904   glibcxx_cv_func_isinff_use=yes
33905 else
33906   glibcxx_cv_func_isinff_use=no
33907 fi
33908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33909       ac_ext=c
33910 ac_cpp='$CPP $CPPFLAGS'
33911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33914
33915
33916 fi
33917
33918   fi
33919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33920 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33921
33922   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33923     for ac_func in isinff
33924 do :
33925   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33926 if test "x$ac_cv_func_isinff" = x""yes; then :
33927   cat >>confdefs.h <<_ACEOF
33928 #define HAVE_ISINFF 1
33929 _ACEOF
33930
33931 fi
33932 done
33933
33934   else
33935
33936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33937 $as_echo_n "checking for _isinff declaration... " >&6; }
33938   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33939     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33940   $as_echo_n "(cached) " >&6
33941 else
33942
33943
33944       ac_ext=cpp
33945 ac_cpp='$CXXCPP $CPPFLAGS'
33946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33949
33950       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33951 /* end confdefs.h.  */
33952 #include <math.h>
33953                       #ifdef HAVE_IEEEFP_H
33954                       #include <ieeefp.h>
33955                       #endif
33956
33957 int
33958 main ()
33959 {
33960  _isinff(0);
33961   ;
33962   return 0;
33963 }
33964 _ACEOF
33965 if ac_fn_cxx_try_compile "$LINENO"; then :
33966   glibcxx_cv_func__isinff_use=yes
33967 else
33968   glibcxx_cv_func__isinff_use=no
33969 fi
33970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33971       ac_ext=c
33972 ac_cpp='$CPP $CPPFLAGS'
33973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976
33977
33978 fi
33979
33980   fi
33981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33982 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33983
33984     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33985       for ac_func in _isinff
33986 do :
33987   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33988 if test "x$ac_cv_func__isinff" = x""yes; then :
33989   cat >>confdefs.h <<_ACEOF
33990 #define HAVE__ISINFF 1
33991 _ACEOF
33992
33993 fi
33994 done
33995
33996     fi
33997   fi
33998
33999
34000
34001
34002
34003   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34004 $as_echo_n "checking for atan2f declaration... " >&6; }
34005   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34006     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34007   $as_echo_n "(cached) " >&6
34008 else
34009
34010
34011       ac_ext=cpp
34012 ac_cpp='$CXXCPP $CPPFLAGS'
34013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34016
34017       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34018 /* end confdefs.h.  */
34019 #include <math.h>
34020 int
34021 main ()
34022 {
34023  atan2f(0, 0);
34024   ;
34025   return 0;
34026 }
34027 _ACEOF
34028 if ac_fn_cxx_try_compile "$LINENO"; then :
34029   glibcxx_cv_func_atan2f_use=yes
34030 else
34031   glibcxx_cv_func_atan2f_use=no
34032 fi
34033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34034       ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039
34040
34041 fi
34042
34043   fi
34044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34045 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34046
34047   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34048     for ac_func in atan2f
34049 do :
34050   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34051 if test "x$ac_cv_func_atan2f" = x""yes; then :
34052   cat >>confdefs.h <<_ACEOF
34053 #define HAVE_ATAN2F 1
34054 _ACEOF
34055
34056 fi
34057 done
34058
34059   else
34060
34061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34062 $as_echo_n "checking for _atan2f declaration... " >&6; }
34063   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34064     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34065   $as_echo_n "(cached) " >&6
34066 else
34067
34068
34069       ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074
34075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h.  */
34077 #include <math.h>
34078 int
34079 main ()
34080 {
34081  _atan2f(0, 0);
34082   ;
34083   return 0;
34084 }
34085 _ACEOF
34086 if ac_fn_cxx_try_compile "$LINENO"; then :
34087   glibcxx_cv_func__atan2f_use=yes
34088 else
34089   glibcxx_cv_func__atan2f_use=no
34090 fi
34091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092       ac_ext=c
34093 ac_cpp='$CPP $CPPFLAGS'
34094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34097
34098
34099 fi
34100
34101   fi
34102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34103 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34104
34105     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34106       for ac_func in _atan2f
34107 do :
34108   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34109 if test "x$ac_cv_func__atan2f" = x""yes; then :
34110   cat >>confdefs.h <<_ACEOF
34111 #define HAVE__ATAN2F 1
34112 _ACEOF
34113
34114 fi
34115 done
34116
34117     fi
34118   fi
34119
34120
34121
34122
34123
34124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34125 $as_echo_n "checking for fabsf declaration... " >&6; }
34126   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34127     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34128   $as_echo_n "(cached) " >&6
34129 else
34130
34131
34132       ac_ext=cpp
34133 ac_cpp='$CXXCPP $CPPFLAGS'
34134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34137
34138       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34139 /* end confdefs.h.  */
34140 #include <math.h>
34141                       #ifdef HAVE_IEEEFP_H
34142                       #include <ieeefp.h>
34143                       #endif
34144
34145 int
34146 main ()
34147 {
34148  fabsf(0);
34149   ;
34150   return 0;
34151 }
34152 _ACEOF
34153 if ac_fn_cxx_try_compile "$LINENO"; then :
34154   glibcxx_cv_func_fabsf_use=yes
34155 else
34156   glibcxx_cv_func_fabsf_use=no
34157 fi
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159       ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164
34165
34166 fi
34167
34168   fi
34169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34170 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34171
34172   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34173     for ac_func in fabsf
34174 do :
34175   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34176 if test "x$ac_cv_func_fabsf" = x""yes; then :
34177   cat >>confdefs.h <<_ACEOF
34178 #define HAVE_FABSF 1
34179 _ACEOF
34180
34181 fi
34182 done
34183
34184   else
34185
34186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34187 $as_echo_n "checking for _fabsf declaration... " >&6; }
34188   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34189     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34190   $as_echo_n "(cached) " >&6
34191 else
34192
34193
34194       ac_ext=cpp
34195 ac_cpp='$CXXCPP $CPPFLAGS'
34196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34199
34200       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34201 /* end confdefs.h.  */
34202 #include <math.h>
34203                       #ifdef HAVE_IEEEFP_H
34204                       #include <ieeefp.h>
34205                       #endif
34206
34207 int
34208 main ()
34209 {
34210  _fabsf(0);
34211   ;
34212   return 0;
34213 }
34214 _ACEOF
34215 if ac_fn_cxx_try_compile "$LINENO"; then :
34216   glibcxx_cv_func__fabsf_use=yes
34217 else
34218   glibcxx_cv_func__fabsf_use=no
34219 fi
34220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34221       ac_ext=c
34222 ac_cpp='$CPP $CPPFLAGS'
34223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34226
34227
34228 fi
34229
34230   fi
34231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34232 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34233
34234     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34235       for ac_func in _fabsf
34236 do :
34237   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34238 if test "x$ac_cv_func__fabsf" = x""yes; then :
34239   cat >>confdefs.h <<_ACEOF
34240 #define HAVE__FABSF 1
34241 _ACEOF
34242
34243 fi
34244 done
34245
34246     fi
34247   fi
34248
34249
34250
34251
34252
34253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34254 $as_echo_n "checking for fmodf declaration... " >&6; }
34255   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34256     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34257   $as_echo_n "(cached) " >&6
34258 else
34259
34260
34261       ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266
34267       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h.  */
34269 #include <math.h>
34270 int
34271 main ()
34272 {
34273  fmodf(0, 0);
34274   ;
34275   return 0;
34276 }
34277 _ACEOF
34278 if ac_fn_cxx_try_compile "$LINENO"; then :
34279   glibcxx_cv_func_fmodf_use=yes
34280 else
34281   glibcxx_cv_func_fmodf_use=no
34282 fi
34283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34284       ac_ext=c
34285 ac_cpp='$CPP $CPPFLAGS'
34286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34289
34290
34291 fi
34292
34293   fi
34294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34295 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34296
34297   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34298     for ac_func in fmodf
34299 do :
34300   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34301 if test "x$ac_cv_func_fmodf" = x""yes; then :
34302   cat >>confdefs.h <<_ACEOF
34303 #define HAVE_FMODF 1
34304 _ACEOF
34305
34306 fi
34307 done
34308
34309   else
34310
34311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34312 $as_echo_n "checking for _fmodf declaration... " >&6; }
34313   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34314     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34315   $as_echo_n "(cached) " >&6
34316 else
34317
34318
34319       ac_ext=cpp
34320 ac_cpp='$CXXCPP $CPPFLAGS'
34321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34324
34325       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34326 /* end confdefs.h.  */
34327 #include <math.h>
34328 int
34329 main ()
34330 {
34331  _fmodf(0, 0);
34332   ;
34333   return 0;
34334 }
34335 _ACEOF
34336 if ac_fn_cxx_try_compile "$LINENO"; then :
34337   glibcxx_cv_func__fmodf_use=yes
34338 else
34339   glibcxx_cv_func__fmodf_use=no
34340 fi
34341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342       ac_ext=c
34343 ac_cpp='$CPP $CPPFLAGS'
34344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34347
34348
34349 fi
34350
34351   fi
34352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34353 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34354
34355     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34356       for ac_func in _fmodf
34357 do :
34358   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34359 if test "x$ac_cv_func__fmodf" = x""yes; then :
34360   cat >>confdefs.h <<_ACEOF
34361 #define HAVE__FMODF 1
34362 _ACEOF
34363
34364 fi
34365 done
34366
34367     fi
34368   fi
34369
34370
34371
34372
34373
34374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34375 $as_echo_n "checking for frexpf declaration... " >&6; }
34376   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34377     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34378   $as_echo_n "(cached) " >&6
34379 else
34380
34381
34382       ac_ext=cpp
34383 ac_cpp='$CXXCPP $CPPFLAGS'
34384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34387
34388       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34389 /* end confdefs.h.  */
34390 #include <math.h>
34391 int
34392 main ()
34393 {
34394  frexpf(0, 0);
34395   ;
34396   return 0;
34397 }
34398 _ACEOF
34399 if ac_fn_cxx_try_compile "$LINENO"; then :
34400   glibcxx_cv_func_frexpf_use=yes
34401 else
34402   glibcxx_cv_func_frexpf_use=no
34403 fi
34404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34405       ac_ext=c
34406 ac_cpp='$CPP $CPPFLAGS'
34407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34410
34411
34412 fi
34413
34414   fi
34415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34416 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34417
34418   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34419     for ac_func in frexpf
34420 do :
34421   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34422 if test "x$ac_cv_func_frexpf" = x""yes; then :
34423   cat >>confdefs.h <<_ACEOF
34424 #define HAVE_FREXPF 1
34425 _ACEOF
34426
34427 fi
34428 done
34429
34430   else
34431
34432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34433 $as_echo_n "checking for _frexpf declaration... " >&6; }
34434   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34435     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34436   $as_echo_n "(cached) " >&6
34437 else
34438
34439
34440       ac_ext=cpp
34441 ac_cpp='$CXXCPP $CPPFLAGS'
34442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34445
34446       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34447 /* end confdefs.h.  */
34448 #include <math.h>
34449 int
34450 main ()
34451 {
34452  _frexpf(0, 0);
34453   ;
34454   return 0;
34455 }
34456 _ACEOF
34457 if ac_fn_cxx_try_compile "$LINENO"; then :
34458   glibcxx_cv_func__frexpf_use=yes
34459 else
34460   glibcxx_cv_func__frexpf_use=no
34461 fi
34462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34463       ac_ext=c
34464 ac_cpp='$CPP $CPPFLAGS'
34465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34468
34469
34470 fi
34471
34472   fi
34473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34474 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34475
34476     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34477       for ac_func in _frexpf
34478 do :
34479   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34480 if test "x$ac_cv_func__frexpf" = x""yes; then :
34481   cat >>confdefs.h <<_ACEOF
34482 #define HAVE__FREXPF 1
34483 _ACEOF
34484
34485 fi
34486 done
34487
34488     fi
34489   fi
34490
34491
34492
34493
34494
34495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34496 $as_echo_n "checking for hypotf declaration... " >&6; }
34497   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34498     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34499   $as_echo_n "(cached) " >&6
34500 else
34501
34502
34503       ac_ext=cpp
34504 ac_cpp='$CXXCPP $CPPFLAGS'
34505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508
34509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34510 /* end confdefs.h.  */
34511 #include <math.h>
34512 int
34513 main ()
34514 {
34515  hypotf(0, 0);
34516   ;
34517   return 0;
34518 }
34519 _ACEOF
34520 if ac_fn_cxx_try_compile "$LINENO"; then :
34521   glibcxx_cv_func_hypotf_use=yes
34522 else
34523   glibcxx_cv_func_hypotf_use=no
34524 fi
34525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34526       ac_ext=c
34527 ac_cpp='$CPP $CPPFLAGS'
34528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34531
34532
34533 fi
34534
34535   fi
34536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34537 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34538
34539   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34540     for ac_func in hypotf
34541 do :
34542   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34543 if test "x$ac_cv_func_hypotf" = x""yes; then :
34544   cat >>confdefs.h <<_ACEOF
34545 #define HAVE_HYPOTF 1
34546 _ACEOF
34547
34548 fi
34549 done
34550
34551   else
34552
34553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34554 $as_echo_n "checking for _hypotf declaration... " >&6; }
34555   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34556     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34557   $as_echo_n "(cached) " >&6
34558 else
34559
34560
34561       ac_ext=cpp
34562 ac_cpp='$CXXCPP $CPPFLAGS'
34563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34566
34567       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34568 /* end confdefs.h.  */
34569 #include <math.h>
34570 int
34571 main ()
34572 {
34573  _hypotf(0, 0);
34574   ;
34575   return 0;
34576 }
34577 _ACEOF
34578 if ac_fn_cxx_try_compile "$LINENO"; then :
34579   glibcxx_cv_func__hypotf_use=yes
34580 else
34581   glibcxx_cv_func__hypotf_use=no
34582 fi
34583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34584       ac_ext=c
34585 ac_cpp='$CPP $CPPFLAGS'
34586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34589
34590
34591 fi
34592
34593   fi
34594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34595 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34596
34597     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34598       for ac_func in _hypotf
34599 do :
34600   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34601 if test "x$ac_cv_func__hypotf" = x""yes; then :
34602   cat >>confdefs.h <<_ACEOF
34603 #define HAVE__HYPOTF 1
34604 _ACEOF
34605
34606 fi
34607 done
34608
34609     fi
34610   fi
34611
34612
34613
34614
34615
34616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34617 $as_echo_n "checking for ldexpf declaration... " >&6; }
34618   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34619     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34620   $as_echo_n "(cached) " >&6
34621 else
34622
34623
34624       ac_ext=cpp
34625 ac_cpp='$CXXCPP $CPPFLAGS'
34626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34629
34630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34631 /* end confdefs.h.  */
34632 #include <math.h>
34633 int
34634 main ()
34635 {
34636  ldexpf(0, 0);
34637   ;
34638   return 0;
34639 }
34640 _ACEOF
34641 if ac_fn_cxx_try_compile "$LINENO"; then :
34642   glibcxx_cv_func_ldexpf_use=yes
34643 else
34644   glibcxx_cv_func_ldexpf_use=no
34645 fi
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647       ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652
34653
34654 fi
34655
34656   fi
34657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34658 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34659
34660   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34661     for ac_func in ldexpf
34662 do :
34663   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34664 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34665   cat >>confdefs.h <<_ACEOF
34666 #define HAVE_LDEXPF 1
34667 _ACEOF
34668
34669 fi
34670 done
34671
34672   else
34673
34674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34675 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34676   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34677     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34678   $as_echo_n "(cached) " >&6
34679 else
34680
34681
34682       ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687
34688       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h.  */
34690 #include <math.h>
34691 int
34692 main ()
34693 {
34694  _ldexpf(0, 0);
34695   ;
34696   return 0;
34697 }
34698 _ACEOF
34699 if ac_fn_cxx_try_compile "$LINENO"; then :
34700   glibcxx_cv_func__ldexpf_use=yes
34701 else
34702   glibcxx_cv_func__ldexpf_use=no
34703 fi
34704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34705       ac_ext=c
34706 ac_cpp='$CPP $CPPFLAGS'
34707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34710
34711
34712 fi
34713
34714   fi
34715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34716 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34717
34718     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34719       for ac_func in _ldexpf
34720 do :
34721   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34722 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34723   cat >>confdefs.h <<_ACEOF
34724 #define HAVE__LDEXPF 1
34725 _ACEOF
34726
34727 fi
34728 done
34729
34730     fi
34731   fi
34732
34733
34734
34735
34736
34737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34738 $as_echo_n "checking for logf declaration... " >&6; }
34739   if test x${glibcxx_cv_func_logf_use+set} != xset; then
34740     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34741   $as_echo_n "(cached) " >&6
34742 else
34743
34744
34745       ac_ext=cpp
34746 ac_cpp='$CXXCPP $CPPFLAGS'
34747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34750
34751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h.  */
34753 #include <math.h>
34754                       #ifdef HAVE_IEEEFP_H
34755                       #include <ieeefp.h>
34756                       #endif
34757
34758 int
34759 main ()
34760 {
34761  logf(0);
34762   ;
34763   return 0;
34764 }
34765 _ACEOF
34766 if ac_fn_cxx_try_compile "$LINENO"; then :
34767   glibcxx_cv_func_logf_use=yes
34768 else
34769   glibcxx_cv_func_logf_use=no
34770 fi
34771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772       ac_ext=c
34773 ac_cpp='$CPP $CPPFLAGS'
34774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34777
34778
34779 fi
34780
34781   fi
34782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34783 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34784
34785   if test x$glibcxx_cv_func_logf_use = x"yes"; then
34786     for ac_func in logf
34787 do :
34788   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34789 if test "x$ac_cv_func_logf" = x""yes; then :
34790   cat >>confdefs.h <<_ACEOF
34791 #define HAVE_LOGF 1
34792 _ACEOF
34793
34794 fi
34795 done
34796
34797   else
34798
34799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34800 $as_echo_n "checking for _logf declaration... " >&6; }
34801   if test x${glibcxx_cv_func__logf_use+set} != xset; then
34802     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34803   $as_echo_n "(cached) " >&6
34804 else
34805
34806
34807       ac_ext=cpp
34808 ac_cpp='$CXXCPP $CPPFLAGS'
34809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34812
34813       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34814 /* end confdefs.h.  */
34815 #include <math.h>
34816                       #ifdef HAVE_IEEEFP_H
34817                       #include <ieeefp.h>
34818                       #endif
34819
34820 int
34821 main ()
34822 {
34823  _logf(0);
34824   ;
34825   return 0;
34826 }
34827 _ACEOF
34828 if ac_fn_cxx_try_compile "$LINENO"; then :
34829   glibcxx_cv_func__logf_use=yes
34830 else
34831   glibcxx_cv_func__logf_use=no
34832 fi
34833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34834       ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839
34840
34841 fi
34842
34843   fi
34844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34845 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34846
34847     if test x$glibcxx_cv_func__logf_use = x"yes"; then
34848       for ac_func in _logf
34849 do :
34850   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34851 if test "x$ac_cv_func__logf" = x""yes; then :
34852   cat >>confdefs.h <<_ACEOF
34853 #define HAVE__LOGF 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859     fi
34860   fi
34861
34862
34863
34864
34865
34866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34867 $as_echo_n "checking for log10f declaration... " >&6; }
34868   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34869     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34870   $as_echo_n "(cached) " >&6
34871 else
34872
34873
34874       ac_ext=cpp
34875 ac_cpp='$CXXCPP $CPPFLAGS'
34876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879
34880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34881 /* end confdefs.h.  */
34882 #include <math.h>
34883                       #ifdef HAVE_IEEEFP_H
34884                       #include <ieeefp.h>
34885                       #endif
34886
34887 int
34888 main ()
34889 {
34890  log10f(0);
34891   ;
34892   return 0;
34893 }
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896   glibcxx_cv_func_log10f_use=yes
34897 else
34898   glibcxx_cv_func_log10f_use=no
34899 fi
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901       ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907
34908 fi
34909
34910   fi
34911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34912 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34913
34914   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34915     for ac_func in log10f
34916 do :
34917   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34918 if test "x$ac_cv_func_log10f" = x""yes; then :
34919   cat >>confdefs.h <<_ACEOF
34920 #define HAVE_LOG10F 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926   else
34927
34928   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34929 $as_echo_n "checking for _log10f declaration... " >&6; }
34930   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34931     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34932   $as_echo_n "(cached) " >&6
34933 else
34934
34935
34936       ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34941
34942       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h.  */
34944 #include <math.h>
34945                       #ifdef HAVE_IEEEFP_H
34946                       #include <ieeefp.h>
34947                       #endif
34948
34949 int
34950 main ()
34951 {
34952  _log10f(0);
34953   ;
34954   return 0;
34955 }
34956 _ACEOF
34957 if ac_fn_cxx_try_compile "$LINENO"; then :
34958   glibcxx_cv_func__log10f_use=yes
34959 else
34960   glibcxx_cv_func__log10f_use=no
34961 fi
34962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34963       ac_ext=c
34964 ac_cpp='$CPP $CPPFLAGS'
34965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34968
34969
34970 fi
34971
34972   fi
34973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34974 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34975
34976     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34977       for ac_func in _log10f
34978 do :
34979   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34980 if test "x$ac_cv_func__log10f" = x""yes; then :
34981   cat >>confdefs.h <<_ACEOF
34982 #define HAVE__LOG10F 1
34983 _ACEOF
34984
34985 fi
34986 done
34987
34988     fi
34989   fi
34990
34991
34992
34993
34994
34995   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34996 $as_echo_n "checking for modff declaration... " >&6; }
34997   if test x${glibcxx_cv_func_modff_use+set} != xset; then
34998     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34999   $as_echo_n "(cached) " >&6
35000 else
35001
35002
35003       ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h.  */
35011 #include <math.h>
35012 int
35013 main ()
35014 {
35015  modff(0, 0);
35016   ;
35017   return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021   glibcxx_cv_func_modff_use=yes
35022 else
35023   glibcxx_cv_func_modff_use=no
35024 fi
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026       ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031
35032
35033 fi
35034
35035   fi
35036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35037 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35038
35039   if test x$glibcxx_cv_func_modff_use = x"yes"; then
35040     for ac_func in modff
35041 do :
35042   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35043 if test "x$ac_cv_func_modff" = x""yes; then :
35044   cat >>confdefs.h <<_ACEOF
35045 #define HAVE_MODFF 1
35046 _ACEOF
35047
35048 fi
35049 done
35050
35051   else
35052
35053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35054 $as_echo_n "checking for _modff declaration... " >&6; }
35055   if test x${glibcxx_cv_func__modff_use+set} != xset; then
35056     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35057   $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061       ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h.  */
35069 #include <math.h>
35070 int
35071 main ()
35072 {
35073  _modff(0, 0);
35074   ;
35075   return 0;
35076 }
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079   glibcxx_cv_func__modff_use=yes
35080 else
35081   glibcxx_cv_func__modff_use=no
35082 fi
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084       ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089
35090
35091 fi
35092
35093   fi
35094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35095 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35096
35097     if test x$glibcxx_cv_func__modff_use = x"yes"; then
35098       for ac_func in _modff
35099 do :
35100   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35101 if test "x$ac_cv_func__modff" = x""yes; then :
35102   cat >>confdefs.h <<_ACEOF
35103 #define HAVE__MODFF 1
35104 _ACEOF
35105
35106 fi
35107 done
35108
35109     fi
35110   fi
35111
35112
35113
35114
35115
35116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35117 $as_echo_n "checking for modf declaration... " >&6; }
35118   if test x${glibcxx_cv_func_modf_use+set} != xset; then
35119     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35120   $as_echo_n "(cached) " >&6
35121 else
35122
35123
35124       ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35129
35130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h.  */
35132 #include <math.h>
35133 int
35134 main ()
35135 {
35136  modf(0, 0);
35137   ;
35138   return 0;
35139 }
35140 _ACEOF
35141 if ac_fn_cxx_try_compile "$LINENO"; then :
35142   glibcxx_cv_func_modf_use=yes
35143 else
35144   glibcxx_cv_func_modf_use=no
35145 fi
35146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35147       ac_ext=c
35148 ac_cpp='$CPP $CPPFLAGS'
35149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35152
35153
35154 fi
35155
35156   fi
35157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35158 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35159
35160   if test x$glibcxx_cv_func_modf_use = x"yes"; then
35161     for ac_func in modf
35162 do :
35163   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35164 if test "x$ac_cv_func_modf" = x""yes; then :
35165   cat >>confdefs.h <<_ACEOF
35166 #define HAVE_MODF 1
35167 _ACEOF
35168
35169 fi
35170 done
35171
35172   else
35173
35174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35175 $as_echo_n "checking for _modf declaration... " >&6; }
35176   if test x${glibcxx_cv_func__modf_use+set} != xset; then
35177     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35178   $as_echo_n "(cached) " >&6
35179 else
35180
35181
35182       ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35187
35188       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h.  */
35190 #include <math.h>
35191 int
35192 main ()
35193 {
35194  _modf(0, 0);
35195   ;
35196   return 0;
35197 }
35198 _ACEOF
35199 if ac_fn_cxx_try_compile "$LINENO"; then :
35200   glibcxx_cv_func__modf_use=yes
35201 else
35202   glibcxx_cv_func__modf_use=no
35203 fi
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205       ac_ext=c
35206 ac_cpp='$CPP $CPPFLAGS'
35207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35210
35211
35212 fi
35213
35214   fi
35215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35216 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35217
35218     if test x$glibcxx_cv_func__modf_use = x"yes"; then
35219       for ac_func in _modf
35220 do :
35221   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35222 if test "x$ac_cv_func__modf" = x""yes; then :
35223   cat >>confdefs.h <<_ACEOF
35224 #define HAVE__MODF 1
35225 _ACEOF
35226
35227 fi
35228 done
35229
35230     fi
35231   fi
35232
35233
35234
35235
35236
35237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35238 $as_echo_n "checking for powf declaration... " >&6; }
35239   if test x${glibcxx_cv_func_powf_use+set} != xset; then
35240     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35241   $as_echo_n "(cached) " >&6
35242 else
35243
35244
35245       ac_ext=cpp
35246 ac_cpp='$CXXCPP $CPPFLAGS'
35247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250
35251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35252 /* end confdefs.h.  */
35253 #include <math.h>
35254 int
35255 main ()
35256 {
35257  powf(0, 0);
35258   ;
35259   return 0;
35260 }
35261 _ACEOF
35262 if ac_fn_cxx_try_compile "$LINENO"; then :
35263   glibcxx_cv_func_powf_use=yes
35264 else
35265   glibcxx_cv_func_powf_use=no
35266 fi
35267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35268       ac_ext=c
35269 ac_cpp='$CPP $CPPFLAGS'
35270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35273
35274
35275 fi
35276
35277   fi
35278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35279 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35280
35281   if test x$glibcxx_cv_func_powf_use = x"yes"; then
35282     for ac_func in powf
35283 do :
35284   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35285 if test "x$ac_cv_func_powf" = x""yes; then :
35286   cat >>confdefs.h <<_ACEOF
35287 #define HAVE_POWF 1
35288 _ACEOF
35289
35290 fi
35291 done
35292
35293   else
35294
35295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35296 $as_echo_n "checking for _powf declaration... " >&6; }
35297   if test x${glibcxx_cv_func__powf_use+set} != xset; then
35298     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35299   $as_echo_n "(cached) " >&6
35300 else
35301
35302
35303       ac_ext=cpp
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308
35309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35310 /* end confdefs.h.  */
35311 #include <math.h>
35312 int
35313 main ()
35314 {
35315  _powf(0, 0);
35316   ;
35317   return 0;
35318 }
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321   glibcxx_cv_func__powf_use=yes
35322 else
35323   glibcxx_cv_func__powf_use=no
35324 fi
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326       ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331
35332
35333 fi
35334
35335   fi
35336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35337 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35338
35339     if test x$glibcxx_cv_func__powf_use = x"yes"; then
35340       for ac_func in _powf
35341 do :
35342   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35343 if test "x$ac_cv_func__powf" = x""yes; then :
35344   cat >>confdefs.h <<_ACEOF
35345 #define HAVE__POWF 1
35346 _ACEOF
35347
35348 fi
35349 done
35350
35351     fi
35352   fi
35353
35354
35355
35356
35357
35358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35359 $as_echo_n "checking for sqrtf declaration... " >&6; }
35360   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35361     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35362   $as_echo_n "(cached) " >&6
35363 else
35364
35365
35366       ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35371
35372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h.  */
35374 #include <math.h>
35375                       #ifdef HAVE_IEEEFP_H
35376                       #include <ieeefp.h>
35377                       #endif
35378
35379 int
35380 main ()
35381 {
35382  sqrtf(0);
35383   ;
35384   return 0;
35385 }
35386 _ACEOF
35387 if ac_fn_cxx_try_compile "$LINENO"; then :
35388   glibcxx_cv_func_sqrtf_use=yes
35389 else
35390   glibcxx_cv_func_sqrtf_use=no
35391 fi
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393       ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35398
35399
35400 fi
35401
35402   fi
35403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35404 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35405
35406   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35407     for ac_func in sqrtf
35408 do :
35409   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35410 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35411   cat >>confdefs.h <<_ACEOF
35412 #define HAVE_SQRTF 1
35413 _ACEOF
35414
35415 fi
35416 done
35417
35418   else
35419
35420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35421 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35422   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35423     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35424   $as_echo_n "(cached) " >&6
35425 else
35426
35427
35428       ac_ext=cpp
35429 ac_cpp='$CXXCPP $CPPFLAGS'
35430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35433
35434       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35435 /* end confdefs.h.  */
35436 #include <math.h>
35437                       #ifdef HAVE_IEEEFP_H
35438                       #include <ieeefp.h>
35439                       #endif
35440
35441 int
35442 main ()
35443 {
35444  _sqrtf(0);
35445   ;
35446   return 0;
35447 }
35448 _ACEOF
35449 if ac_fn_cxx_try_compile "$LINENO"; then :
35450   glibcxx_cv_func__sqrtf_use=yes
35451 else
35452   glibcxx_cv_func__sqrtf_use=no
35453 fi
35454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455       ac_ext=c
35456 ac_cpp='$CPP $CPPFLAGS'
35457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35460
35461
35462 fi
35463
35464   fi
35465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35466 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35467
35468     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35469       for ac_func in _sqrtf
35470 do :
35471   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35472 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35473   cat >>confdefs.h <<_ACEOF
35474 #define HAVE__SQRTF 1
35475 _ACEOF
35476
35477 fi
35478 done
35479
35480     fi
35481   fi
35482
35483
35484
35485
35486
35487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35488 $as_echo_n "checking for sincosf declaration... " >&6; }
35489   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35490     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35491   $as_echo_n "(cached) " >&6
35492 else
35493
35494
35495       ac_ext=cpp
35496 ac_cpp='$CXXCPP $CPPFLAGS'
35497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35500
35501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35502 /* end confdefs.h.  */
35503 #include <math.h>
35504 int
35505 main ()
35506 {
35507  sincosf(0, 0, 0);
35508   ;
35509   return 0;
35510 }
35511 _ACEOF
35512 if ac_fn_cxx_try_compile "$LINENO"; then :
35513   glibcxx_cv_func_sincosf_use=yes
35514 else
35515   glibcxx_cv_func_sincosf_use=no
35516 fi
35517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35518       ac_ext=c
35519 ac_cpp='$CPP $CPPFLAGS'
35520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35523
35524
35525 fi
35526
35527   fi
35528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35529 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35530
35531   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35532     for ac_func in sincosf
35533 do :
35534   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35535 if test "x$ac_cv_func_sincosf" = x""yes; then :
35536   cat >>confdefs.h <<_ACEOF
35537 #define HAVE_SINCOSF 1
35538 _ACEOF
35539
35540 fi
35541 done
35542
35543   else
35544
35545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35546 $as_echo_n "checking for _sincosf declaration... " >&6; }
35547   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35548     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35549   $as_echo_n "(cached) " >&6
35550 else
35551
35552
35553       ac_ext=cpp
35554 ac_cpp='$CXXCPP $CPPFLAGS'
35555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35558
35559       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35560 /* end confdefs.h.  */
35561 #include <math.h>
35562 int
35563 main ()
35564 {
35565  _sincosf(0, 0, 0);
35566   ;
35567   return 0;
35568 }
35569 _ACEOF
35570 if ac_fn_cxx_try_compile "$LINENO"; then :
35571   glibcxx_cv_func__sincosf_use=yes
35572 else
35573   glibcxx_cv_func__sincosf_use=no
35574 fi
35575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35576       ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581
35582
35583 fi
35584
35585   fi
35586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35587 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35588
35589     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35590       for ac_func in _sincosf
35591 do :
35592   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35593 if test "x$ac_cv_func__sincosf" = x""yes; then :
35594   cat >>confdefs.h <<_ACEOF
35595 #define HAVE__SINCOSF 1
35596 _ACEOF
35597
35598 fi
35599 done
35600
35601     fi
35602   fi
35603
35604
35605
35606
35607
35608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35609 $as_echo_n "checking for finitef declaration... " >&6; }
35610   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35611     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35612   $as_echo_n "(cached) " >&6
35613 else
35614
35615
35616       ac_ext=cpp
35617 ac_cpp='$CXXCPP $CPPFLAGS'
35618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35621
35622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35623 /* end confdefs.h.  */
35624 #include <math.h>
35625                       #ifdef HAVE_IEEEFP_H
35626                       #include <ieeefp.h>
35627                       #endif
35628
35629 int
35630 main ()
35631 {
35632  finitef(0);
35633   ;
35634   return 0;
35635 }
35636 _ACEOF
35637 if ac_fn_cxx_try_compile "$LINENO"; then :
35638   glibcxx_cv_func_finitef_use=yes
35639 else
35640   glibcxx_cv_func_finitef_use=no
35641 fi
35642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35643       ac_ext=c
35644 ac_cpp='$CPP $CPPFLAGS'
35645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35648
35649
35650 fi
35651
35652   fi
35653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35654 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35655
35656   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35657     for ac_func in finitef
35658 do :
35659   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35660 if test "x$ac_cv_func_finitef" = x""yes; then :
35661   cat >>confdefs.h <<_ACEOF
35662 #define HAVE_FINITEF 1
35663 _ACEOF
35664
35665 fi
35666 done
35667
35668   else
35669
35670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35671 $as_echo_n "checking for _finitef declaration... " >&6; }
35672   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35673     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35674   $as_echo_n "(cached) " >&6
35675 else
35676
35677
35678       ac_ext=cpp
35679 ac_cpp='$CXXCPP $CPPFLAGS'
35680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683
35684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35685 /* end confdefs.h.  */
35686 #include <math.h>
35687                       #ifdef HAVE_IEEEFP_H
35688                       #include <ieeefp.h>
35689                       #endif
35690
35691 int
35692 main ()
35693 {
35694  _finitef(0);
35695   ;
35696   return 0;
35697 }
35698 _ACEOF
35699 if ac_fn_cxx_try_compile "$LINENO"; then :
35700   glibcxx_cv_func__finitef_use=yes
35701 else
35702   glibcxx_cv_func__finitef_use=no
35703 fi
35704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35705       ac_ext=c
35706 ac_cpp='$CPP $CPPFLAGS'
35707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35710
35711
35712 fi
35713
35714   fi
35715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35716 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35717
35718     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35719       for ac_func in _finitef
35720 do :
35721   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35722 if test "x$ac_cv_func__finitef" = x""yes; then :
35723   cat >>confdefs.h <<_ACEOF
35724 #define HAVE__FINITEF 1
35725 _ACEOF
35726
35727 fi
35728 done
35729
35730     fi
35731   fi
35732
35733
35734
35735
35736
35737     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35738 $as_echo_n "checking for long double trig functions... " >&6; }
35739   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35740   $as_echo_n "(cached) " >&6
35741 else
35742
35743
35744     ac_ext=cpp
35745 ac_cpp='$CXXCPP $CPPFLAGS'
35746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35749
35750     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35751 /* end confdefs.h.  */
35752 #include <math.h>
35753 int
35754 main ()
35755 {
35756 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35757   ;
35758   return 0;
35759 }
35760 _ACEOF
35761 if ac_fn_cxx_try_compile "$LINENO"; then :
35762   glibcxx_cv_func_long_double_trig_use=yes
35763 else
35764   glibcxx_cv_func_long_double_trig_use=no
35765 fi
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35767     ac_ext=c
35768 ac_cpp='$CPP $CPPFLAGS'
35769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35772
35773 fi
35774
35775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35776 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35777   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35778     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35779 do :
35780   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35782 eval as_val=\$$as_ac_var
35783    if test "x$as_val" = x""yes; then :
35784   cat >>confdefs.h <<_ACEOF
35785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35786 _ACEOF
35787
35788 fi
35789 done
35790
35791   else
35792     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35793 $as_echo_n "checking for _long double trig functions... " >&6; }
35794     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35795   $as_echo_n "(cached) " >&6
35796 else
35797
35798
35799       ac_ext=cpp
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804
35805       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35806 /* end confdefs.h.  */
35807 #include <math.h>
35808 int
35809 main ()
35810 {
35811 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35812   ;
35813   return 0;
35814 }
35815 _ACEOF
35816 if ac_fn_cxx_try_compile "$LINENO"; then :
35817   glibcxx_cv_func__long_double_trig_use=yes
35818 else
35819   glibcxx_cv_func__long_double_trig_use=no
35820 fi
35821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35822       ac_ext=c
35823 ac_cpp='$CPP $CPPFLAGS'
35824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35827
35828 fi
35829
35830     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35831 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35832     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35833       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35834 do :
35835   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35837 eval as_val=\$$as_ac_var
35838    if test "x$as_val" = x""yes; then :
35839   cat >>confdefs.h <<_ACEOF
35840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35841 _ACEOF
35842
35843 fi
35844 done
35845
35846     fi
35847   fi
35848
35849
35850
35851
35852
35853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35854 $as_echo_n "checking for long double round functions... " >&6; }
35855   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35856   $as_echo_n "(cached) " >&6
35857 else
35858
35859
35860     ac_ext=cpp
35861 ac_cpp='$CXXCPP $CPPFLAGS'
35862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35865
35866     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35867 /* end confdefs.h.  */
35868 #include <math.h>
35869 int
35870 main ()
35871 {
35872 ceill (0); floorl (0);
35873   ;
35874   return 0;
35875 }
35876 _ACEOF
35877 if ac_fn_cxx_try_compile "$LINENO"; then :
35878   glibcxx_cv_func_long_double_round_use=yes
35879 else
35880   glibcxx_cv_func_long_double_round_use=no
35881 fi
35882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35883     ac_ext=c
35884 ac_cpp='$CPP $CPPFLAGS'
35885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35888
35889 fi
35890
35891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35892 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35893   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35894     for ac_func in ceill floorl
35895 do :
35896   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35897 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35898 eval as_val=\$$as_ac_var
35899    if test "x$as_val" = x""yes; then :
35900   cat >>confdefs.h <<_ACEOF
35901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35902 _ACEOF
35903
35904 fi
35905 done
35906
35907   else
35908     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35909 $as_echo_n "checking for _long double round functions... " >&6; }
35910     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35911   $as_echo_n "(cached) " >&6
35912 else
35913
35914
35915       ac_ext=cpp
35916 ac_cpp='$CXXCPP $CPPFLAGS'
35917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35920
35921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35922 /* end confdefs.h.  */
35923 #include <math.h>
35924 int
35925 main ()
35926 {
35927 _ceill (0); _floorl (0);
35928   ;
35929   return 0;
35930 }
35931 _ACEOF
35932 if ac_fn_cxx_try_compile "$LINENO"; then :
35933   glibcxx_cv_func__long_double_round_use=yes
35934 else
35935   glibcxx_cv_func__long_double_round_use=no
35936 fi
35937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35938       ac_ext=c
35939 ac_cpp='$CPP $CPPFLAGS'
35940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35943
35944 fi
35945
35946     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35947 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35948     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35949       for ac_func in _ceill _floorl
35950 do :
35951   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35953 eval as_val=\$$as_ac_var
35954    if test "x$as_val" = x""yes; then :
35955   cat >>confdefs.h <<_ACEOF
35956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35957 _ACEOF
35958
35959 fi
35960 done
35961
35962     fi
35963   fi
35964
35965
35966
35967
35968
35969
35970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35971 $as_echo_n "checking for isnanl declaration... " >&6; }
35972   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35973     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35974   $as_echo_n "(cached) " >&6
35975 else
35976
35977
35978       ac_ext=cpp
35979 ac_cpp='$CXXCPP $CPPFLAGS'
35980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35983
35984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35985 /* end confdefs.h.  */
35986 #include <math.h>
35987                       #ifdef HAVE_IEEEFP_H
35988                       #include <ieeefp.h>
35989                       #endif
35990
35991 int
35992 main ()
35993 {
35994  isnanl(0);
35995   ;
35996   return 0;
35997 }
35998 _ACEOF
35999 if ac_fn_cxx_try_compile "$LINENO"; then :
36000   glibcxx_cv_func_isnanl_use=yes
36001 else
36002   glibcxx_cv_func_isnanl_use=no
36003 fi
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005       ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36010
36011
36012 fi
36013
36014   fi
36015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36016 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36017
36018   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36019     for ac_func in isnanl
36020 do :
36021   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36022 if test "x$ac_cv_func_isnanl" = x""yes; then :
36023   cat >>confdefs.h <<_ACEOF
36024 #define HAVE_ISNANL 1
36025 _ACEOF
36026
36027 fi
36028 done
36029
36030   else
36031
36032   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36033 $as_echo_n "checking for _isnanl declaration... " >&6; }
36034   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36035     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36036   $as_echo_n "(cached) " >&6
36037 else
36038
36039
36040       ac_ext=cpp
36041 ac_cpp='$CXXCPP $CPPFLAGS'
36042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36045
36046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36047 /* end confdefs.h.  */
36048 #include <math.h>
36049                       #ifdef HAVE_IEEEFP_H
36050                       #include <ieeefp.h>
36051                       #endif
36052
36053 int
36054 main ()
36055 {
36056  _isnanl(0);
36057   ;
36058   return 0;
36059 }
36060 _ACEOF
36061 if ac_fn_cxx_try_compile "$LINENO"; then :
36062   glibcxx_cv_func__isnanl_use=yes
36063 else
36064   glibcxx_cv_func__isnanl_use=no
36065 fi
36066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36067       ac_ext=c
36068 ac_cpp='$CPP $CPPFLAGS'
36069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36072
36073
36074 fi
36075
36076   fi
36077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36078 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36079
36080     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36081       for ac_func in _isnanl
36082 do :
36083   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36084 if test "x$ac_cv_func__isnanl" = x""yes; then :
36085   cat >>confdefs.h <<_ACEOF
36086 #define HAVE__ISNANL 1
36087 _ACEOF
36088
36089 fi
36090 done
36091
36092     fi
36093   fi
36094
36095
36096
36097
36098
36099   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36100 $as_echo_n "checking for isinfl declaration... " >&6; }
36101   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36102     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36103   $as_echo_n "(cached) " >&6
36104 else
36105
36106
36107       ac_ext=cpp
36108 ac_cpp='$CXXCPP $CPPFLAGS'
36109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36112
36113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36114 /* end confdefs.h.  */
36115 #include <math.h>
36116                       #ifdef HAVE_IEEEFP_H
36117                       #include <ieeefp.h>
36118                       #endif
36119
36120 int
36121 main ()
36122 {
36123  isinfl(0);
36124   ;
36125   return 0;
36126 }
36127 _ACEOF
36128 if ac_fn_cxx_try_compile "$LINENO"; then :
36129   glibcxx_cv_func_isinfl_use=yes
36130 else
36131   glibcxx_cv_func_isinfl_use=no
36132 fi
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134       ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141 fi
36142
36143   fi
36144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36145 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36146
36147   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36148     for ac_func in isinfl
36149 do :
36150   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36151 if test "x$ac_cv_func_isinfl" = x""yes; then :
36152   cat >>confdefs.h <<_ACEOF
36153 #define HAVE_ISINFL 1
36154 _ACEOF
36155
36156 fi
36157 done
36158
36159   else
36160
36161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36162 $as_echo_n "checking for _isinfl declaration... " >&6; }
36163   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36164     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36165   $as_echo_n "(cached) " >&6
36166 else
36167
36168
36169       ac_ext=cpp
36170 ac_cpp='$CXXCPP $CPPFLAGS'
36171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36174
36175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36176 /* end confdefs.h.  */
36177 #include <math.h>
36178                       #ifdef HAVE_IEEEFP_H
36179                       #include <ieeefp.h>
36180                       #endif
36181
36182 int
36183 main ()
36184 {
36185  _isinfl(0);
36186   ;
36187   return 0;
36188 }
36189 _ACEOF
36190 if ac_fn_cxx_try_compile "$LINENO"; then :
36191   glibcxx_cv_func__isinfl_use=yes
36192 else
36193   glibcxx_cv_func__isinfl_use=no
36194 fi
36195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36196       ac_ext=c
36197 ac_cpp='$CPP $CPPFLAGS'
36198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36201
36202
36203 fi
36204
36205   fi
36206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36207 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36208
36209     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36210       for ac_func in _isinfl
36211 do :
36212   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36213 if test "x$ac_cv_func__isinfl" = x""yes; then :
36214   cat >>confdefs.h <<_ACEOF
36215 #define HAVE__ISINFL 1
36216 _ACEOF
36217
36218 fi
36219 done
36220
36221     fi
36222   fi
36223
36224
36225
36226
36227
36228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36229 $as_echo_n "checking for atan2l declaration... " >&6; }
36230   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36231     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36232   $as_echo_n "(cached) " >&6
36233 else
36234
36235
36236       ac_ext=cpp
36237 ac_cpp='$CXXCPP $CPPFLAGS'
36238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36241
36242       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36243 /* end confdefs.h.  */
36244 #include <math.h>
36245 int
36246 main ()
36247 {
36248  atan2l(0, 0);
36249   ;
36250   return 0;
36251 }
36252 _ACEOF
36253 if ac_fn_cxx_try_compile "$LINENO"; then :
36254   glibcxx_cv_func_atan2l_use=yes
36255 else
36256   glibcxx_cv_func_atan2l_use=no
36257 fi
36258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36259       ac_ext=c
36260 ac_cpp='$CPP $CPPFLAGS'
36261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36264
36265
36266 fi
36267
36268   fi
36269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36270 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36271
36272   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36273     for ac_func in atan2l
36274 do :
36275   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36276 if test "x$ac_cv_func_atan2l" = x""yes; then :
36277   cat >>confdefs.h <<_ACEOF
36278 #define HAVE_ATAN2L 1
36279 _ACEOF
36280
36281 fi
36282 done
36283
36284   else
36285
36286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36287 $as_echo_n "checking for _atan2l declaration... " >&6; }
36288   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36289     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36290   $as_echo_n "(cached) " >&6
36291 else
36292
36293
36294       ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299
36300       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h.  */
36302 #include <math.h>
36303 int
36304 main ()
36305 {
36306  _atan2l(0, 0);
36307   ;
36308   return 0;
36309 }
36310 _ACEOF
36311 if ac_fn_cxx_try_compile "$LINENO"; then :
36312   glibcxx_cv_func__atan2l_use=yes
36313 else
36314   glibcxx_cv_func__atan2l_use=no
36315 fi
36316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36317       ac_ext=c
36318 ac_cpp='$CPP $CPPFLAGS'
36319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36322
36323
36324 fi
36325
36326   fi
36327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36328 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36329
36330     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36331       for ac_func in _atan2l
36332 do :
36333   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36334 if test "x$ac_cv_func__atan2l" = x""yes; then :
36335   cat >>confdefs.h <<_ACEOF
36336 #define HAVE__ATAN2L 1
36337 _ACEOF
36338
36339 fi
36340 done
36341
36342     fi
36343   fi
36344
36345
36346
36347
36348
36349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36350 $as_echo_n "checking for expl declaration... " >&6; }
36351   if test x${glibcxx_cv_func_expl_use+set} != xset; then
36352     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36353   $as_echo_n "(cached) " >&6
36354 else
36355
36356
36357       ac_ext=cpp
36358 ac_cpp='$CXXCPP $CPPFLAGS'
36359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36362
36363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36364 /* end confdefs.h.  */
36365 #include <math.h>
36366                       #ifdef HAVE_IEEEFP_H
36367                       #include <ieeefp.h>
36368                       #endif
36369
36370 int
36371 main ()
36372 {
36373  expl(0);
36374   ;
36375   return 0;
36376 }
36377 _ACEOF
36378 if ac_fn_cxx_try_compile "$LINENO"; then :
36379   glibcxx_cv_func_expl_use=yes
36380 else
36381   glibcxx_cv_func_expl_use=no
36382 fi
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384       ac_ext=c
36385 ac_cpp='$CPP $CPPFLAGS'
36386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36389
36390
36391 fi
36392
36393   fi
36394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36395 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36396
36397   if test x$glibcxx_cv_func_expl_use = x"yes"; then
36398     for ac_func in expl
36399 do :
36400   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36401 if test "x$ac_cv_func_expl" = x""yes; then :
36402   cat >>confdefs.h <<_ACEOF
36403 #define HAVE_EXPL 1
36404 _ACEOF
36405
36406 fi
36407 done
36408
36409   else
36410
36411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36412 $as_echo_n "checking for _expl declaration... " >&6; }
36413   if test x${glibcxx_cv_func__expl_use+set} != xset; then
36414     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36415   $as_echo_n "(cached) " >&6
36416 else
36417
36418
36419       ac_ext=cpp
36420 ac_cpp='$CXXCPP $CPPFLAGS'
36421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36424
36425       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36426 /* end confdefs.h.  */
36427 #include <math.h>
36428                       #ifdef HAVE_IEEEFP_H
36429                       #include <ieeefp.h>
36430                       #endif
36431
36432 int
36433 main ()
36434 {
36435  _expl(0);
36436   ;
36437   return 0;
36438 }
36439 _ACEOF
36440 if ac_fn_cxx_try_compile "$LINENO"; then :
36441   glibcxx_cv_func__expl_use=yes
36442 else
36443   glibcxx_cv_func__expl_use=no
36444 fi
36445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36446       ac_ext=c
36447 ac_cpp='$CPP $CPPFLAGS'
36448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451
36452
36453 fi
36454
36455   fi
36456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36457 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36458
36459     if test x$glibcxx_cv_func__expl_use = x"yes"; then
36460       for ac_func in _expl
36461 do :
36462   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36463 if test "x$ac_cv_func__expl" = x""yes; then :
36464   cat >>confdefs.h <<_ACEOF
36465 #define HAVE__EXPL 1
36466 _ACEOF
36467
36468 fi
36469 done
36470
36471     fi
36472   fi
36473
36474
36475
36476
36477
36478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36479 $as_echo_n "checking for fabsl declaration... " >&6; }
36480   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36481     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36482   $as_echo_n "(cached) " >&6
36483 else
36484
36485
36486       ac_ext=cpp
36487 ac_cpp='$CXXCPP $CPPFLAGS'
36488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36491
36492       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36493 /* end confdefs.h.  */
36494 #include <math.h>
36495                       #ifdef HAVE_IEEEFP_H
36496                       #include <ieeefp.h>
36497                       #endif
36498
36499 int
36500 main ()
36501 {
36502  fabsl(0);
36503   ;
36504   return 0;
36505 }
36506 _ACEOF
36507 if ac_fn_cxx_try_compile "$LINENO"; then :
36508   glibcxx_cv_func_fabsl_use=yes
36509 else
36510   glibcxx_cv_func_fabsl_use=no
36511 fi
36512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36513       ac_ext=c
36514 ac_cpp='$CPP $CPPFLAGS'
36515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36518
36519
36520 fi
36521
36522   fi
36523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36524 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36525
36526   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36527     for ac_func in fabsl
36528 do :
36529   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36530 if test "x$ac_cv_func_fabsl" = x""yes; then :
36531   cat >>confdefs.h <<_ACEOF
36532 #define HAVE_FABSL 1
36533 _ACEOF
36534
36535 fi
36536 done
36537
36538   else
36539
36540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36541 $as_echo_n "checking for _fabsl declaration... " >&6; }
36542   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36543     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36544   $as_echo_n "(cached) " >&6
36545 else
36546
36547
36548       ac_ext=cpp
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36555 /* end confdefs.h.  */
36556 #include <math.h>
36557                       #ifdef HAVE_IEEEFP_H
36558                       #include <ieeefp.h>
36559                       #endif
36560
36561 int
36562 main ()
36563 {
36564  _fabsl(0);
36565   ;
36566   return 0;
36567 }
36568 _ACEOF
36569 if ac_fn_cxx_try_compile "$LINENO"; then :
36570   glibcxx_cv_func__fabsl_use=yes
36571 else
36572   glibcxx_cv_func__fabsl_use=no
36573 fi
36574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575       ac_ext=c
36576 ac_cpp='$CPP $CPPFLAGS'
36577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36580
36581
36582 fi
36583
36584   fi
36585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36586 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36587
36588     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36589       for ac_func in _fabsl
36590 do :
36591   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36592 if test "x$ac_cv_func__fabsl" = x""yes; then :
36593   cat >>confdefs.h <<_ACEOF
36594 #define HAVE__FABSL 1
36595 _ACEOF
36596
36597 fi
36598 done
36599
36600     fi
36601   fi
36602
36603
36604
36605
36606
36607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36608 $as_echo_n "checking for fmodl declaration... " >&6; }
36609   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36610     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36611   $as_echo_n "(cached) " >&6
36612 else
36613
36614
36615       ac_ext=cpp
36616 ac_cpp='$CXXCPP $CPPFLAGS'
36617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36620
36621       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36622 /* end confdefs.h.  */
36623 #include <math.h>
36624 int
36625 main ()
36626 {
36627  fmodl(0, 0);
36628   ;
36629   return 0;
36630 }
36631 _ACEOF
36632 if ac_fn_cxx_try_compile "$LINENO"; then :
36633   glibcxx_cv_func_fmodl_use=yes
36634 else
36635   glibcxx_cv_func_fmodl_use=no
36636 fi
36637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36638       ac_ext=c
36639 ac_cpp='$CPP $CPPFLAGS'
36640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36643
36644
36645 fi
36646
36647   fi
36648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36649 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36650
36651   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36652     for ac_func in fmodl
36653 do :
36654   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36655 if test "x$ac_cv_func_fmodl" = x""yes; then :
36656   cat >>confdefs.h <<_ACEOF
36657 #define HAVE_FMODL 1
36658 _ACEOF
36659
36660 fi
36661 done
36662
36663   else
36664
36665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36666 $as_echo_n "checking for _fmodl declaration... " >&6; }
36667   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36668     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36669   $as_echo_n "(cached) " >&6
36670 else
36671
36672
36673       ac_ext=cpp
36674 ac_cpp='$CXXCPP $CPPFLAGS'
36675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36678
36679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36680 /* end confdefs.h.  */
36681 #include <math.h>
36682 int
36683 main ()
36684 {
36685  _fmodl(0, 0);
36686   ;
36687   return 0;
36688 }
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691   glibcxx_cv_func__fmodl_use=yes
36692 else
36693   glibcxx_cv_func__fmodl_use=no
36694 fi
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696       ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701
36702
36703 fi
36704
36705   fi
36706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36707 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36708
36709     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36710       for ac_func in _fmodl
36711 do :
36712   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36713 if test "x$ac_cv_func__fmodl" = x""yes; then :
36714   cat >>confdefs.h <<_ACEOF
36715 #define HAVE__FMODL 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721     fi
36722   fi
36723
36724
36725
36726
36727
36728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36729 $as_echo_n "checking for frexpl declaration... " >&6; }
36730   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36731     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36732   $as_echo_n "(cached) " >&6
36733 else
36734
36735
36736       ac_ext=cpp
36737 ac_cpp='$CXXCPP $CPPFLAGS'
36738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36741
36742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36743 /* end confdefs.h.  */
36744 #include <math.h>
36745 int
36746 main ()
36747 {
36748  frexpl(0, 0);
36749   ;
36750   return 0;
36751 }
36752 _ACEOF
36753 if ac_fn_cxx_try_compile "$LINENO"; then :
36754   glibcxx_cv_func_frexpl_use=yes
36755 else
36756   glibcxx_cv_func_frexpl_use=no
36757 fi
36758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36759       ac_ext=c
36760 ac_cpp='$CPP $CPPFLAGS'
36761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36764
36765
36766 fi
36767
36768   fi
36769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36770 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36771
36772   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36773     for ac_func in frexpl
36774 do :
36775   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36776 if test "x$ac_cv_func_frexpl" = x""yes; then :
36777   cat >>confdefs.h <<_ACEOF
36778 #define HAVE_FREXPL 1
36779 _ACEOF
36780
36781 fi
36782 done
36783
36784   else
36785
36786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36787 $as_echo_n "checking for _frexpl declaration... " >&6; }
36788   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36789     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36790   $as_echo_n "(cached) " >&6
36791 else
36792
36793
36794       ac_ext=cpp
36795 ac_cpp='$CXXCPP $CPPFLAGS'
36796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36799
36800       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36801 /* end confdefs.h.  */
36802 #include <math.h>
36803 int
36804 main ()
36805 {
36806  _frexpl(0, 0);
36807   ;
36808   return 0;
36809 }
36810 _ACEOF
36811 if ac_fn_cxx_try_compile "$LINENO"; then :
36812   glibcxx_cv_func__frexpl_use=yes
36813 else
36814   glibcxx_cv_func__frexpl_use=no
36815 fi
36816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36817       ac_ext=c
36818 ac_cpp='$CPP $CPPFLAGS'
36819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36822
36823
36824 fi
36825
36826   fi
36827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36828 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36829
36830     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36831       for ac_func in _frexpl
36832 do :
36833   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36834 if test "x$ac_cv_func__frexpl" = x""yes; then :
36835   cat >>confdefs.h <<_ACEOF
36836 #define HAVE__FREXPL 1
36837 _ACEOF
36838
36839 fi
36840 done
36841
36842     fi
36843   fi
36844
36845
36846
36847
36848
36849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36850 $as_echo_n "checking for hypotl declaration... " >&6; }
36851   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36852     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36853   $as_echo_n "(cached) " >&6
36854 else
36855
36856
36857       ac_ext=cpp
36858 ac_cpp='$CXXCPP $CPPFLAGS'
36859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862
36863       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36864 /* end confdefs.h.  */
36865 #include <math.h>
36866 int
36867 main ()
36868 {
36869  hypotl(0, 0);
36870   ;
36871   return 0;
36872 }
36873 _ACEOF
36874 if ac_fn_cxx_try_compile "$LINENO"; then :
36875   glibcxx_cv_func_hypotl_use=yes
36876 else
36877   glibcxx_cv_func_hypotl_use=no
36878 fi
36879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36880       ac_ext=c
36881 ac_cpp='$CPP $CPPFLAGS'
36882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36885
36886
36887 fi
36888
36889   fi
36890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36891 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36892
36893   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36894     for ac_func in hypotl
36895 do :
36896   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36897 if test "x$ac_cv_func_hypotl" = x""yes; then :
36898   cat >>confdefs.h <<_ACEOF
36899 #define HAVE_HYPOTL 1
36900 _ACEOF
36901
36902 fi
36903 done
36904
36905   else
36906
36907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36908 $as_echo_n "checking for _hypotl declaration... " >&6; }
36909   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36910     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36911   $as_echo_n "(cached) " >&6
36912 else
36913
36914
36915       ac_ext=cpp
36916 ac_cpp='$CXXCPP $CPPFLAGS'
36917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36920
36921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36922 /* end confdefs.h.  */
36923 #include <math.h>
36924 int
36925 main ()
36926 {
36927  _hypotl(0, 0);
36928   ;
36929   return 0;
36930 }
36931 _ACEOF
36932 if ac_fn_cxx_try_compile "$LINENO"; then :
36933   glibcxx_cv_func__hypotl_use=yes
36934 else
36935   glibcxx_cv_func__hypotl_use=no
36936 fi
36937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36938       ac_ext=c
36939 ac_cpp='$CPP $CPPFLAGS'
36940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36943
36944
36945 fi
36946
36947   fi
36948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36949 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36950
36951     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36952       for ac_func in _hypotl
36953 do :
36954   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36955 if test "x$ac_cv_func__hypotl" = x""yes; then :
36956   cat >>confdefs.h <<_ACEOF
36957 #define HAVE__HYPOTL 1
36958 _ACEOF
36959
36960 fi
36961 done
36962
36963     fi
36964   fi
36965
36966
36967
36968
36969
36970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36971 $as_echo_n "checking for ldexpl declaration... " >&6; }
36972   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36973     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36974   $as_echo_n "(cached) " >&6
36975 else
36976
36977
36978       ac_ext=cpp
36979 ac_cpp='$CXXCPP $CPPFLAGS'
36980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36983
36984       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36985 /* end confdefs.h.  */
36986 #include <math.h>
36987 int
36988 main ()
36989 {
36990  ldexpl(0, 0);
36991   ;
36992   return 0;
36993 }
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996   glibcxx_cv_func_ldexpl_use=yes
36997 else
36998   glibcxx_cv_func_ldexpl_use=no
36999 fi
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001       ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010   fi
37011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37012 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37013
37014   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37015     for ac_func in ldexpl
37016 do :
37017   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37018 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37019   cat >>confdefs.h <<_ACEOF
37020 #define HAVE_LDEXPL 1
37021 _ACEOF
37022
37023 fi
37024 done
37025
37026   else
37027
37028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37029 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37030   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37031     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37032   $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036       ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h.  */
37044 #include <math.h>
37045 int
37046 main ()
37047 {
37048  _ldexpl(0, 0);
37049   ;
37050   return 0;
37051 }
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054   glibcxx_cv_func__ldexpl_use=yes
37055 else
37056   glibcxx_cv_func__ldexpl_use=no
37057 fi
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059       ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064
37065
37066 fi
37067
37068   fi
37069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37070 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37071
37072     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37073       for ac_func in _ldexpl
37074 do :
37075   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37076 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37077   cat >>confdefs.h <<_ACEOF
37078 #define HAVE__LDEXPL 1
37079 _ACEOF
37080
37081 fi
37082 done
37083
37084     fi
37085   fi
37086
37087
37088
37089
37090
37091   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37092 $as_echo_n "checking for logl declaration... " >&6; }
37093   if test x${glibcxx_cv_func_logl_use+set} != xset; then
37094     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37095   $as_echo_n "(cached) " >&6
37096 else
37097
37098
37099       ac_ext=cpp
37100 ac_cpp='$CXXCPP $CPPFLAGS'
37101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37104
37105       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37106 /* end confdefs.h.  */
37107 #include <math.h>
37108                       #ifdef HAVE_IEEEFP_H
37109                       #include <ieeefp.h>
37110                       #endif
37111
37112 int
37113 main ()
37114 {
37115  logl(0);
37116   ;
37117   return 0;
37118 }
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121   glibcxx_cv_func_logl_use=yes
37122 else
37123   glibcxx_cv_func_logl_use=no
37124 fi
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126       ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37131
37132
37133 fi
37134
37135   fi
37136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37137 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37138
37139   if test x$glibcxx_cv_func_logl_use = x"yes"; then
37140     for ac_func in logl
37141 do :
37142   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37143 if test "x$ac_cv_func_logl" = x""yes; then :
37144   cat >>confdefs.h <<_ACEOF
37145 #define HAVE_LOGL 1
37146 _ACEOF
37147
37148 fi
37149 done
37150
37151   else
37152
37153   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37154 $as_echo_n "checking for _logl declaration... " >&6; }
37155   if test x${glibcxx_cv_func__logl_use+set} != xset; then
37156     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37157   $as_echo_n "(cached) " >&6
37158 else
37159
37160
37161       ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166
37167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h.  */
37169 #include <math.h>
37170                       #ifdef HAVE_IEEEFP_H
37171                       #include <ieeefp.h>
37172                       #endif
37173
37174 int
37175 main ()
37176 {
37177  _logl(0);
37178   ;
37179   return 0;
37180 }
37181 _ACEOF
37182 if ac_fn_cxx_try_compile "$LINENO"; then :
37183   glibcxx_cv_func__logl_use=yes
37184 else
37185   glibcxx_cv_func__logl_use=no
37186 fi
37187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37188       ac_ext=c
37189 ac_cpp='$CPP $CPPFLAGS'
37190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37193
37194
37195 fi
37196
37197   fi
37198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37199 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37200
37201     if test x$glibcxx_cv_func__logl_use = x"yes"; then
37202       for ac_func in _logl
37203 do :
37204   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37205 if test "x$ac_cv_func__logl" = x""yes; then :
37206   cat >>confdefs.h <<_ACEOF
37207 #define HAVE__LOGL 1
37208 _ACEOF
37209
37210 fi
37211 done
37212
37213     fi
37214   fi
37215
37216
37217
37218
37219
37220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37221 $as_echo_n "checking for log10l declaration... " >&6; }
37222   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37223     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37224   $as_echo_n "(cached) " >&6
37225 else
37226
37227
37228       ac_ext=cpp
37229 ac_cpp='$CXXCPP $CPPFLAGS'
37230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37233
37234       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37235 /* end confdefs.h.  */
37236 #include <math.h>
37237                       #ifdef HAVE_IEEEFP_H
37238                       #include <ieeefp.h>
37239                       #endif
37240
37241 int
37242 main ()
37243 {
37244  log10l(0);
37245   ;
37246   return 0;
37247 }
37248 _ACEOF
37249 if ac_fn_cxx_try_compile "$LINENO"; then :
37250   glibcxx_cv_func_log10l_use=yes
37251 else
37252   glibcxx_cv_func_log10l_use=no
37253 fi
37254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37255       ac_ext=c
37256 ac_cpp='$CPP $CPPFLAGS'
37257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37260
37261
37262 fi
37263
37264   fi
37265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37266 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37267
37268   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37269     for ac_func in log10l
37270 do :
37271   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37272 if test "x$ac_cv_func_log10l" = x""yes; then :
37273   cat >>confdefs.h <<_ACEOF
37274 #define HAVE_LOG10L 1
37275 _ACEOF
37276
37277 fi
37278 done
37279
37280   else
37281
37282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37283 $as_echo_n "checking for _log10l declaration... " >&6; }
37284   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37285     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37286   $as_echo_n "(cached) " >&6
37287 else
37288
37289
37290       ac_ext=cpp
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295
37296       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37297 /* end confdefs.h.  */
37298 #include <math.h>
37299                       #ifdef HAVE_IEEEFP_H
37300                       #include <ieeefp.h>
37301                       #endif
37302
37303 int
37304 main ()
37305 {
37306  _log10l(0);
37307   ;
37308   return 0;
37309 }
37310 _ACEOF
37311 if ac_fn_cxx_try_compile "$LINENO"; then :
37312   glibcxx_cv_func__log10l_use=yes
37313 else
37314   glibcxx_cv_func__log10l_use=no
37315 fi
37316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37317       ac_ext=c
37318 ac_cpp='$CPP $CPPFLAGS'
37319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37322
37323
37324 fi
37325
37326   fi
37327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37328 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37329
37330     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37331       for ac_func in _log10l
37332 do :
37333   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37334 if test "x$ac_cv_func__log10l" = x""yes; then :
37335   cat >>confdefs.h <<_ACEOF
37336 #define HAVE__LOG10L 1
37337 _ACEOF
37338
37339 fi
37340 done
37341
37342     fi
37343   fi
37344
37345
37346
37347
37348
37349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37350 $as_echo_n "checking for modfl declaration... " >&6; }
37351   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37352     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37353   $as_echo_n "(cached) " >&6
37354 else
37355
37356
37357       ac_ext=cpp
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362
37363       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37364 /* end confdefs.h.  */
37365 #include <math.h>
37366 int
37367 main ()
37368 {
37369  modfl(0, 0);
37370   ;
37371   return 0;
37372 }
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375   glibcxx_cv_func_modfl_use=yes
37376 else
37377   glibcxx_cv_func_modfl_use=no
37378 fi
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380       ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385
37386
37387 fi
37388
37389   fi
37390   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37391 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37392
37393   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37394     for ac_func in modfl
37395 do :
37396   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37397 if test "x$ac_cv_func_modfl" = x""yes; then :
37398   cat >>confdefs.h <<_ACEOF
37399 #define HAVE_MODFL 1
37400 _ACEOF
37401
37402 fi
37403 done
37404
37405   else
37406
37407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37408 $as_echo_n "checking for _modfl declaration... " >&6; }
37409   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37410     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37411   $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415       ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h.  */
37423 #include <math.h>
37424 int
37425 main ()
37426 {
37427  _modfl(0, 0);
37428   ;
37429   return 0;
37430 }
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433   glibcxx_cv_func__modfl_use=yes
37434 else
37435   glibcxx_cv_func__modfl_use=no
37436 fi
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438       ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443
37444
37445 fi
37446
37447   fi
37448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37449 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37450
37451     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37452       for ac_func in _modfl
37453 do :
37454   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37455 if test "x$ac_cv_func__modfl" = x""yes; then :
37456   cat >>confdefs.h <<_ACEOF
37457 #define HAVE__MODFL 1
37458 _ACEOF
37459
37460 fi
37461 done
37462
37463     fi
37464   fi
37465
37466
37467
37468
37469
37470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37471 $as_echo_n "checking for powl declaration... " >&6; }
37472   if test x${glibcxx_cv_func_powl_use+set} != xset; then
37473     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37474   $as_echo_n "(cached) " >&6
37475 else
37476
37477
37478       ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37483
37484       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h.  */
37486 #include <math.h>
37487 int
37488 main ()
37489 {
37490  powl(0, 0);
37491   ;
37492   return 0;
37493 }
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496   glibcxx_cv_func_powl_use=yes
37497 else
37498   glibcxx_cv_func_powl_use=no
37499 fi
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501       ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37506
37507
37508 fi
37509
37510   fi
37511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37512 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37513
37514   if test x$glibcxx_cv_func_powl_use = x"yes"; then
37515     for ac_func in powl
37516 do :
37517   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37518 if test "x$ac_cv_func_powl" = x""yes; then :
37519   cat >>confdefs.h <<_ACEOF
37520 #define HAVE_POWL 1
37521 _ACEOF
37522
37523 fi
37524 done
37525
37526   else
37527
37528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37529 $as_echo_n "checking for _powl declaration... " >&6; }
37530   if test x${glibcxx_cv_func__powl_use+set} != xset; then
37531     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37532   $as_echo_n "(cached) " >&6
37533 else
37534
37535
37536       ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37541
37542       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h.  */
37544 #include <math.h>
37545 int
37546 main ()
37547 {
37548  _powl(0, 0);
37549   ;
37550   return 0;
37551 }
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554   glibcxx_cv_func__powl_use=yes
37555 else
37556   glibcxx_cv_func__powl_use=no
37557 fi
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559       ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564
37565
37566 fi
37567
37568   fi
37569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37570 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37571
37572     if test x$glibcxx_cv_func__powl_use = x"yes"; then
37573       for ac_func in _powl
37574 do :
37575   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37576 if test "x$ac_cv_func__powl" = x""yes; then :
37577   cat >>confdefs.h <<_ACEOF
37578 #define HAVE__POWL 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584     fi
37585   fi
37586
37587
37588
37589
37590
37591   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37592 $as_echo_n "checking for sqrtl declaration... " >&6; }
37593   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37594     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37595   $as_echo_n "(cached) " >&6
37596 else
37597
37598
37599       ac_ext=cpp
37600 ac_cpp='$CXXCPP $CPPFLAGS'
37601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37604
37605       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37606 /* end confdefs.h.  */
37607 #include <math.h>
37608                       #ifdef HAVE_IEEEFP_H
37609                       #include <ieeefp.h>
37610                       #endif
37611
37612 int
37613 main ()
37614 {
37615  sqrtl(0);
37616   ;
37617   return 0;
37618 }
37619 _ACEOF
37620 if ac_fn_cxx_try_compile "$LINENO"; then :
37621   glibcxx_cv_func_sqrtl_use=yes
37622 else
37623   glibcxx_cv_func_sqrtl_use=no
37624 fi
37625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37626       ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37631
37632
37633 fi
37634
37635   fi
37636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37637 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37638
37639   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37640     for ac_func in sqrtl
37641 do :
37642   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37643 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37644   cat >>confdefs.h <<_ACEOF
37645 #define HAVE_SQRTL 1
37646 _ACEOF
37647
37648 fi
37649 done
37650
37651   else
37652
37653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37654 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37655   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37656     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37657   $as_echo_n "(cached) " >&6
37658 else
37659
37660
37661       ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37666
37667       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h.  */
37669 #include <math.h>
37670                       #ifdef HAVE_IEEEFP_H
37671                       #include <ieeefp.h>
37672                       #endif
37673
37674 int
37675 main ()
37676 {
37677  _sqrtl(0);
37678   ;
37679   return 0;
37680 }
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683   glibcxx_cv_func__sqrtl_use=yes
37684 else
37685   glibcxx_cv_func__sqrtl_use=no
37686 fi
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688       ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37693
37694
37695 fi
37696
37697   fi
37698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37699 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37700
37701     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37702       for ac_func in _sqrtl
37703 do :
37704   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37705 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37706   cat >>confdefs.h <<_ACEOF
37707 #define HAVE__SQRTL 1
37708 _ACEOF
37709
37710 fi
37711 done
37712
37713     fi
37714   fi
37715
37716
37717
37718
37719
37720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37721 $as_echo_n "checking for sincosl declaration... " >&6; }
37722   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37723     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37724   $as_echo_n "(cached) " >&6
37725 else
37726
37727
37728       ac_ext=cpp
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37733
37734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735 /* end confdefs.h.  */
37736 #include <math.h>
37737 int
37738 main ()
37739 {
37740  sincosl(0, 0, 0);
37741   ;
37742   return 0;
37743 }
37744 _ACEOF
37745 if ac_fn_cxx_try_compile "$LINENO"; then :
37746   glibcxx_cv_func_sincosl_use=yes
37747 else
37748   glibcxx_cv_func_sincosl_use=no
37749 fi
37750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37751       ac_ext=c
37752 ac_cpp='$CPP $CPPFLAGS'
37753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37756
37757
37758 fi
37759
37760   fi
37761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37762 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37763
37764   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37765     for ac_func in sincosl
37766 do :
37767   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37768 if test "x$ac_cv_func_sincosl" = x""yes; then :
37769   cat >>confdefs.h <<_ACEOF
37770 #define HAVE_SINCOSL 1
37771 _ACEOF
37772
37773 fi
37774 done
37775
37776   else
37777
37778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37779 $as_echo_n "checking for _sincosl declaration... " >&6; }
37780   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37781     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37782   $as_echo_n "(cached) " >&6
37783 else
37784
37785
37786       ac_ext=cpp
37787 ac_cpp='$CXXCPP $CPPFLAGS'
37788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37791
37792       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37793 /* end confdefs.h.  */
37794 #include <math.h>
37795 int
37796 main ()
37797 {
37798  _sincosl(0, 0, 0);
37799   ;
37800   return 0;
37801 }
37802 _ACEOF
37803 if ac_fn_cxx_try_compile "$LINENO"; then :
37804   glibcxx_cv_func__sincosl_use=yes
37805 else
37806   glibcxx_cv_func__sincosl_use=no
37807 fi
37808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37809       ac_ext=c
37810 ac_cpp='$CPP $CPPFLAGS'
37811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37814
37815
37816 fi
37817
37818   fi
37819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37820 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37821
37822     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37823       for ac_func in _sincosl
37824 do :
37825   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37826 if test "x$ac_cv_func__sincosl" = x""yes; then :
37827   cat >>confdefs.h <<_ACEOF
37828 #define HAVE__SINCOSL 1
37829 _ACEOF
37830
37831 fi
37832 done
37833
37834     fi
37835   fi
37836
37837
37838
37839
37840
37841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37842 $as_echo_n "checking for finitel declaration... " >&6; }
37843   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37844     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37845   $as_echo_n "(cached) " >&6
37846 else
37847
37848
37849       ac_ext=cpp
37850 ac_cpp='$CXXCPP $CPPFLAGS'
37851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37854
37855       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37856 /* end confdefs.h.  */
37857 #include <math.h>
37858                       #ifdef HAVE_IEEEFP_H
37859                       #include <ieeefp.h>
37860                       #endif
37861
37862 int
37863 main ()
37864 {
37865  finitel(0);
37866   ;
37867   return 0;
37868 }
37869 _ACEOF
37870 if ac_fn_cxx_try_compile "$LINENO"; then :
37871   glibcxx_cv_func_finitel_use=yes
37872 else
37873   glibcxx_cv_func_finitel_use=no
37874 fi
37875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37876       ac_ext=c
37877 ac_cpp='$CPP $CPPFLAGS'
37878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37881
37882
37883 fi
37884
37885   fi
37886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37887 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37888
37889   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37890     for ac_func in finitel
37891 do :
37892   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37893 if test "x$ac_cv_func_finitel" = x""yes; then :
37894   cat >>confdefs.h <<_ACEOF
37895 #define HAVE_FINITEL 1
37896 _ACEOF
37897
37898 fi
37899 done
37900
37901   else
37902
37903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37904 $as_echo_n "checking for _finitel declaration... " >&6; }
37905   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37906     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37907   $as_echo_n "(cached) " >&6
37908 else
37909
37910
37911       ac_ext=cpp
37912 ac_cpp='$CXXCPP $CPPFLAGS'
37913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37916
37917       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37918 /* end confdefs.h.  */
37919 #include <math.h>
37920                       #ifdef HAVE_IEEEFP_H
37921                       #include <ieeefp.h>
37922                       #endif
37923
37924 int
37925 main ()
37926 {
37927  _finitel(0);
37928   ;
37929   return 0;
37930 }
37931 _ACEOF
37932 if ac_fn_cxx_try_compile "$LINENO"; then :
37933   glibcxx_cv_func__finitel_use=yes
37934 else
37935   glibcxx_cv_func__finitel_use=no
37936 fi
37937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37938       ac_ext=c
37939 ac_cpp='$CPP $CPPFLAGS'
37940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37943
37944
37945 fi
37946
37947   fi
37948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37949 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37950
37951     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37952       for ac_func in _finitel
37953 do :
37954   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37955 if test "x$ac_cv_func__finitel" = x""yes; then :
37956   cat >>confdefs.h <<_ACEOF
37957 #define HAVE__FINITEL 1
37958 _ACEOF
37959
37960 fi
37961 done
37962
37963     fi
37964   fi
37965
37966
37967
37968
37969   LIBS="$ac_save_LIBS"
37970   CXXFLAGS="$ac_save_CXXFLAGS"
37971
37972
37973   ac_test_CXXFLAGS="${CXXFLAGS+set}"
37974   ac_save_CXXFLAGS="$CXXFLAGS"
37975   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37976
37977
37978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37979 $as_echo_n "checking for strtold declaration... " >&6; }
37980   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37981     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
37982   $as_echo_n "(cached) " >&6
37983 else
37984
37985
37986       ac_ext=cpp
37987 ac_cpp='$CXXCPP $CPPFLAGS'
37988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37991
37992       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37993 /* end confdefs.h.  */
37994 #include <stdlib.h>
37995 int
37996 main ()
37997 {
37998  strtold(0, 0);
37999   ;
38000   return 0;
38001 }
38002 _ACEOF
38003 if ac_fn_cxx_try_compile "$LINENO"; then :
38004   glibcxx_cv_func_strtold_use=yes
38005 else
38006   glibcxx_cv_func_strtold_use=no
38007 fi
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009       ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38014
38015
38016 fi
38017
38018   fi
38019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38020 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38021   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38022     for ac_func in strtold
38023 do :
38024   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38025 if test "x$ac_cv_func_strtold" = x""yes; then :
38026   cat >>confdefs.h <<_ACEOF
38027 #define HAVE_STRTOLD 1
38028 _ACEOF
38029
38030 fi
38031 done
38032
38033   fi
38034
38035
38036
38037
38038   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38039 $as_echo_n "checking for strtof declaration... " >&6; }
38040   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38041     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38042   $as_echo_n "(cached) " >&6
38043 else
38044
38045
38046       ac_ext=cpp
38047 ac_cpp='$CXXCPP $CPPFLAGS'
38048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38051
38052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38053 /* end confdefs.h.  */
38054 #include <stdlib.h>
38055 int
38056 main ()
38057 {
38058  strtof(0, 0);
38059   ;
38060   return 0;
38061 }
38062 _ACEOF
38063 if ac_fn_cxx_try_compile "$LINENO"; then :
38064   glibcxx_cv_func_strtof_use=yes
38065 else
38066   glibcxx_cv_func_strtof_use=no
38067 fi
38068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38069       ac_ext=c
38070 ac_cpp='$CPP $CPPFLAGS'
38071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38074
38075
38076 fi
38077
38078   fi
38079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38080 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38081   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38082     for ac_func in strtof
38083 do :
38084   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38085 if test "x$ac_cv_func_strtof" = x""yes; then :
38086   cat >>confdefs.h <<_ACEOF
38087 #define HAVE_STRTOF 1
38088 _ACEOF
38089
38090 fi
38091 done
38092
38093   fi
38094
38095
38096
38097
38098   CXXFLAGS="$ac_save_CXXFLAGS"
38099
38100     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38101
38102     # We don't yet support AIX's TLS ABI.
38103     #GCC_CHECK_TLS
38104
38105
38106
38107
38108
38109           am_save_CPPFLAGS="$CPPFLAGS"
38110
38111   for element in $INCICONV; do
38112     haveit=
38113     for x in $CPPFLAGS; do
38114
38115   acl_save_prefix="$prefix"
38116   prefix="$acl_final_prefix"
38117   acl_save_exec_prefix="$exec_prefix"
38118   exec_prefix="$acl_final_exec_prefix"
38119   eval x=\"$x\"
38120   exec_prefix="$acl_save_exec_prefix"
38121   prefix="$acl_save_prefix"
38122
38123       if test "X$x" = "X$element"; then
38124         haveit=yes
38125         break
38126       fi
38127     done
38128     if test -z "$haveit"; then
38129       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38130     fi
38131   done
38132
38133
38134   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38135 $as_echo_n "checking for iconv... " >&6; }
38136 if test "${am_cv_func_iconv+set}" = set; then :
38137   $as_echo_n "(cached) " >&6
38138 else
38139
38140     am_cv_func_iconv="no, consider installing GNU libiconv"
38141     am_cv_lib_iconv=no
38142     if test x$gcc_no_link = xyes; then
38143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38144 fi
38145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38146 /* end confdefs.h.  */
38147 #include <stdlib.h>
38148 #include <iconv.h>
38149 int
38150 main ()
38151 {
38152 iconv_t cd = iconv_open("","");
38153        iconv(cd,NULL,NULL,NULL,NULL);
38154        iconv_close(cd);
38155   ;
38156   return 0;
38157 }
38158 _ACEOF
38159 if ac_fn_c_try_link "$LINENO"; then :
38160   am_cv_func_iconv=yes
38161 fi
38162 rm -f core conftest.err conftest.$ac_objext \
38163     conftest$ac_exeext conftest.$ac_ext
38164     if test "$am_cv_func_iconv" != yes; then
38165       am_save_LIBS="$LIBS"
38166       LIBS="$LIBS $LIBICONV"
38167       if test x$gcc_no_link = xyes; then
38168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38169 fi
38170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h.  */
38172 #include <stdlib.h>
38173 #include <iconv.h>
38174 int
38175 main ()
38176 {
38177 iconv_t cd = iconv_open("","");
38178          iconv(cd,NULL,NULL,NULL,NULL);
38179          iconv_close(cd);
38180   ;
38181   return 0;
38182 }
38183 _ACEOF
38184 if ac_fn_c_try_link "$LINENO"; then :
38185   am_cv_lib_iconv=yes
38186         am_cv_func_iconv=yes
38187 fi
38188 rm -f core conftest.err conftest.$ac_objext \
38189     conftest$ac_exeext conftest.$ac_ext
38190       LIBS="$am_save_LIBS"
38191     fi
38192
38193 fi
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38195 $as_echo "$am_cv_func_iconv" >&6; }
38196   if test "$am_cv_func_iconv" = yes; then
38197
38198 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38199
38200   fi
38201   if test "$am_cv_lib_iconv" = yes; then
38202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38203 $as_echo_n "checking how to link with libiconv... " >&6; }
38204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38205 $as_echo "$LIBICONV" >&6; }
38206   else
38207             CPPFLAGS="$am_save_CPPFLAGS"
38208     LIBICONV=
38209     LTLIBICONV=
38210   fi
38211
38212
38213
38214   if test "$am_cv_func_iconv" = yes; then
38215     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38216 $as_echo_n "checking for iconv declaration... " >&6; }
38217     if test "${am_cv_proto_iconv+set}" = set; then :
38218   $as_echo_n "(cached) " >&6
38219 else
38220
38221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h.  */
38223
38224 #include <stdlib.h>
38225 #include <iconv.h>
38226 extern
38227 #ifdef __cplusplus
38228 "C"
38229 #endif
38230 #if defined(__STDC__) || defined(__cplusplus)
38231 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38232 #else
38233 size_t iconv();
38234 #endif
38235
38236 int
38237 main ()
38238 {
38239
38240   ;
38241   return 0;
38242 }
38243 _ACEOF
38244 if ac_fn_c_try_compile "$LINENO"; then :
38245   am_cv_proto_iconv_arg1=""
38246 else
38247   am_cv_proto_iconv_arg1="const"
38248 fi
38249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250       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);"
38251 fi
38252
38253     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38254     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38255          }$am_cv_proto_iconv" >&5
38256 $as_echo "${ac_t:-
38257          }$am_cv_proto_iconv" >&6; }
38258
38259 cat >>confdefs.h <<_ACEOF
38260 #define ICONV_CONST $am_cv_proto_iconv_arg1
38261 _ACEOF
38262
38263   fi
38264
38265     ;;
38266
38267   *-darwin*)
38268     # Darwin versions vary, but the linker should work in a cross environment,
38269     # so we just check for all the features here.
38270     # Check for available headers.
38271
38272     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38273
38274   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38275   ac_save_CXXFLAGS="$CXXFLAGS"
38276   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38277
38278     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38279 $as_echo_n "checking for sin in -lm... " >&6; }
38280 if test "${ac_cv_lib_m_sin+set}" = set; then :
38281   $as_echo_n "(cached) " >&6
38282 else
38283   ac_check_lib_save_LIBS=$LIBS
38284 LIBS="-lm  $LIBS"
38285 if test x$gcc_no_link = xyes; then
38286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38287 fi
38288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38289 /* end confdefs.h.  */
38290
38291 /* Override any GCC internal prototype to avoid an error.
38292    Use char because int might match the return type of a GCC
38293    builtin and then its argument prototype would still apply.  */
38294 #ifdef __cplusplus
38295 extern "C"
38296 #endif
38297 char sin ();
38298 int
38299 main ()
38300 {
38301 return sin ();
38302   ;
38303   return 0;
38304 }
38305 _ACEOF
38306 if ac_fn_c_try_link "$LINENO"; then :
38307   ac_cv_lib_m_sin=yes
38308 else
38309   ac_cv_lib_m_sin=no
38310 fi
38311 rm -f core conftest.err conftest.$ac_objext \
38312     conftest$ac_exeext conftest.$ac_ext
38313 LIBS=$ac_check_lib_save_LIBS
38314 fi
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38316 $as_echo "$ac_cv_lib_m_sin" >&6; }
38317 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38318   libm="-lm"
38319 fi
38320
38321   ac_save_LIBS="$LIBS"
38322   LIBS="$LIBS $libm"
38323
38324
38325
38326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38327 $as_echo_n "checking for isinf declaration... " >&6; }
38328   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38329     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38330   $as_echo_n "(cached) " >&6
38331 else
38332
38333
38334       ac_ext=cpp
38335 ac_cpp='$CXXCPP $CPPFLAGS'
38336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38339
38340       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38341 /* end confdefs.h.  */
38342 #include <math.h>
38343                       #ifdef HAVE_IEEEFP_H
38344                       #include <ieeefp.h>
38345                       #endif
38346
38347 int
38348 main ()
38349 {
38350  isinf(0);
38351   ;
38352   return 0;
38353 }
38354 _ACEOF
38355 if ac_fn_cxx_try_compile "$LINENO"; then :
38356   glibcxx_cv_func_isinf_use=yes
38357 else
38358   glibcxx_cv_func_isinf_use=no
38359 fi
38360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38361       ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38366
38367
38368 fi
38369
38370   fi
38371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38372 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38373
38374   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38375     for ac_func in isinf
38376 do :
38377   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38378 if test "x$ac_cv_func_isinf" = x""yes; then :
38379   cat >>confdefs.h <<_ACEOF
38380 #define HAVE_ISINF 1
38381 _ACEOF
38382
38383 fi
38384 done
38385
38386   else
38387
38388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38389 $as_echo_n "checking for _isinf declaration... " >&6; }
38390   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38391     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38392   $as_echo_n "(cached) " >&6
38393 else
38394
38395
38396       ac_ext=cpp
38397 ac_cpp='$CXXCPP $CPPFLAGS'
38398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38401
38402       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38403 /* end confdefs.h.  */
38404 #include <math.h>
38405                       #ifdef HAVE_IEEEFP_H
38406                       #include <ieeefp.h>
38407                       #endif
38408
38409 int
38410 main ()
38411 {
38412  _isinf(0);
38413   ;
38414   return 0;
38415 }
38416 _ACEOF
38417 if ac_fn_cxx_try_compile "$LINENO"; then :
38418   glibcxx_cv_func__isinf_use=yes
38419 else
38420   glibcxx_cv_func__isinf_use=no
38421 fi
38422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38423       ac_ext=c
38424 ac_cpp='$CPP $CPPFLAGS'
38425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38428
38429
38430 fi
38431
38432   fi
38433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38434 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38435
38436     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38437       for ac_func in _isinf
38438 do :
38439   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38440 if test "x$ac_cv_func__isinf" = x""yes; then :
38441   cat >>confdefs.h <<_ACEOF
38442 #define HAVE__ISINF 1
38443 _ACEOF
38444
38445 fi
38446 done
38447
38448     fi
38449   fi
38450
38451
38452
38453
38454
38455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38456 $as_echo_n "checking for isnan declaration... " >&6; }
38457   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38458     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38459   $as_echo_n "(cached) " >&6
38460 else
38461
38462
38463       ac_ext=cpp
38464 ac_cpp='$CXXCPP $CPPFLAGS'
38465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38468
38469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38470 /* end confdefs.h.  */
38471 #include <math.h>
38472                       #ifdef HAVE_IEEEFP_H
38473                       #include <ieeefp.h>
38474                       #endif
38475
38476 int
38477 main ()
38478 {
38479  isnan(0);
38480   ;
38481   return 0;
38482 }
38483 _ACEOF
38484 if ac_fn_cxx_try_compile "$LINENO"; then :
38485   glibcxx_cv_func_isnan_use=yes
38486 else
38487   glibcxx_cv_func_isnan_use=no
38488 fi
38489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38490       ac_ext=c
38491 ac_cpp='$CPP $CPPFLAGS'
38492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38495
38496
38497 fi
38498
38499   fi
38500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38501 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38502
38503   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38504     for ac_func in isnan
38505 do :
38506   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38507 if test "x$ac_cv_func_isnan" = x""yes; then :
38508   cat >>confdefs.h <<_ACEOF
38509 #define HAVE_ISNAN 1
38510 _ACEOF
38511
38512 fi
38513 done
38514
38515   else
38516
38517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38518 $as_echo_n "checking for _isnan declaration... " >&6; }
38519   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38520     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38521   $as_echo_n "(cached) " >&6
38522 else
38523
38524
38525       ac_ext=cpp
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38530
38531       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38532 /* end confdefs.h.  */
38533 #include <math.h>
38534                       #ifdef HAVE_IEEEFP_H
38535                       #include <ieeefp.h>
38536                       #endif
38537
38538 int
38539 main ()
38540 {
38541  _isnan(0);
38542   ;
38543   return 0;
38544 }
38545 _ACEOF
38546 if ac_fn_cxx_try_compile "$LINENO"; then :
38547   glibcxx_cv_func__isnan_use=yes
38548 else
38549   glibcxx_cv_func__isnan_use=no
38550 fi
38551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38552       ac_ext=c
38553 ac_cpp='$CPP $CPPFLAGS'
38554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38557
38558
38559 fi
38560
38561   fi
38562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38563 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38564
38565     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38566       for ac_func in _isnan
38567 do :
38568   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38569 if test "x$ac_cv_func__isnan" = x""yes; then :
38570   cat >>confdefs.h <<_ACEOF
38571 #define HAVE__ISNAN 1
38572 _ACEOF
38573
38574 fi
38575 done
38576
38577     fi
38578   fi
38579
38580
38581
38582
38583
38584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38585 $as_echo_n "checking for finite declaration... " >&6; }
38586   if test x${glibcxx_cv_func_finite_use+set} != xset; then
38587     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38588   $as_echo_n "(cached) " >&6
38589 else
38590
38591
38592       ac_ext=cpp
38593 ac_cpp='$CXXCPP $CPPFLAGS'
38594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38597
38598       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38599 /* end confdefs.h.  */
38600 #include <math.h>
38601                       #ifdef HAVE_IEEEFP_H
38602                       #include <ieeefp.h>
38603                       #endif
38604
38605 int
38606 main ()
38607 {
38608  finite(0);
38609   ;
38610   return 0;
38611 }
38612 _ACEOF
38613 if ac_fn_cxx_try_compile "$LINENO"; then :
38614   glibcxx_cv_func_finite_use=yes
38615 else
38616   glibcxx_cv_func_finite_use=no
38617 fi
38618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38619       ac_ext=c
38620 ac_cpp='$CPP $CPPFLAGS'
38621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38624
38625
38626 fi
38627
38628   fi
38629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38630 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38631
38632   if test x$glibcxx_cv_func_finite_use = x"yes"; then
38633     for ac_func in finite
38634 do :
38635   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38636 if test "x$ac_cv_func_finite" = x""yes; then :
38637   cat >>confdefs.h <<_ACEOF
38638 #define HAVE_FINITE 1
38639 _ACEOF
38640
38641 fi
38642 done
38643
38644   else
38645
38646   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38647 $as_echo_n "checking for _finite declaration... " >&6; }
38648   if test x${glibcxx_cv_func__finite_use+set} != xset; then
38649     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38650   $as_echo_n "(cached) " >&6
38651 else
38652
38653
38654       ac_ext=cpp
38655 ac_cpp='$CXXCPP $CPPFLAGS'
38656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38659
38660       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38661 /* end confdefs.h.  */
38662 #include <math.h>
38663                       #ifdef HAVE_IEEEFP_H
38664                       #include <ieeefp.h>
38665                       #endif
38666
38667 int
38668 main ()
38669 {
38670  _finite(0);
38671   ;
38672   return 0;
38673 }
38674 _ACEOF
38675 if ac_fn_cxx_try_compile "$LINENO"; then :
38676   glibcxx_cv_func__finite_use=yes
38677 else
38678   glibcxx_cv_func__finite_use=no
38679 fi
38680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38681       ac_ext=c
38682 ac_cpp='$CPP $CPPFLAGS'
38683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38686
38687
38688 fi
38689
38690   fi
38691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38692 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38693
38694     if test x$glibcxx_cv_func__finite_use = x"yes"; then
38695       for ac_func in _finite
38696 do :
38697   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38698 if test "x$ac_cv_func__finite" = x""yes; then :
38699   cat >>confdefs.h <<_ACEOF
38700 #define HAVE__FINITE 1
38701 _ACEOF
38702
38703 fi
38704 done
38705
38706     fi
38707   fi
38708
38709
38710
38711
38712
38713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38714 $as_echo_n "checking for sincos declaration... " >&6; }
38715   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38716     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38717   $as_echo_n "(cached) " >&6
38718 else
38719
38720
38721       ac_ext=cpp
38722 ac_cpp='$CXXCPP $CPPFLAGS'
38723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38726
38727       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38728 /* end confdefs.h.  */
38729 #include <math.h>
38730 int
38731 main ()
38732 {
38733  sincos(0, 0, 0);
38734   ;
38735   return 0;
38736 }
38737 _ACEOF
38738 if ac_fn_cxx_try_compile "$LINENO"; then :
38739   glibcxx_cv_func_sincos_use=yes
38740 else
38741   glibcxx_cv_func_sincos_use=no
38742 fi
38743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38744       ac_ext=c
38745 ac_cpp='$CPP $CPPFLAGS'
38746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38749
38750
38751 fi
38752
38753   fi
38754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38755 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38756
38757   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38758     for ac_func in sincos
38759 do :
38760   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38761 if test "x$ac_cv_func_sincos" = x""yes; then :
38762   cat >>confdefs.h <<_ACEOF
38763 #define HAVE_SINCOS 1
38764 _ACEOF
38765
38766 fi
38767 done
38768
38769   else
38770
38771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38772 $as_echo_n "checking for _sincos declaration... " >&6; }
38773   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38774     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38775   $as_echo_n "(cached) " >&6
38776 else
38777
38778
38779       ac_ext=cpp
38780 ac_cpp='$CXXCPP $CPPFLAGS'
38781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784
38785       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38786 /* end confdefs.h.  */
38787 #include <math.h>
38788 int
38789 main ()
38790 {
38791  _sincos(0, 0, 0);
38792   ;
38793   return 0;
38794 }
38795 _ACEOF
38796 if ac_fn_cxx_try_compile "$LINENO"; then :
38797   glibcxx_cv_func__sincos_use=yes
38798 else
38799   glibcxx_cv_func__sincos_use=no
38800 fi
38801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38802       ac_ext=c
38803 ac_cpp='$CPP $CPPFLAGS'
38804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38807
38808
38809 fi
38810
38811   fi
38812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38813 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38814
38815     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38816       for ac_func in _sincos
38817 do :
38818   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38819 if test "x$ac_cv_func__sincos" = x""yes; then :
38820   cat >>confdefs.h <<_ACEOF
38821 #define HAVE__SINCOS 1
38822 _ACEOF
38823
38824 fi
38825 done
38826
38827     fi
38828   fi
38829
38830
38831
38832
38833
38834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38835 $as_echo_n "checking for fpclass declaration... " >&6; }
38836   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38837     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38838   $as_echo_n "(cached) " >&6
38839 else
38840
38841
38842       ac_ext=cpp
38843 ac_cpp='$CXXCPP $CPPFLAGS'
38844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38847
38848       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38849 /* end confdefs.h.  */
38850 #include <math.h>
38851                       #ifdef HAVE_IEEEFP_H
38852                       #include <ieeefp.h>
38853                       #endif
38854
38855 int
38856 main ()
38857 {
38858  fpclass(0);
38859   ;
38860   return 0;
38861 }
38862 _ACEOF
38863 if ac_fn_cxx_try_compile "$LINENO"; then :
38864   glibcxx_cv_func_fpclass_use=yes
38865 else
38866   glibcxx_cv_func_fpclass_use=no
38867 fi
38868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38869       ac_ext=c
38870 ac_cpp='$CPP $CPPFLAGS'
38871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874
38875
38876 fi
38877
38878   fi
38879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38880 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38881
38882   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38883     for ac_func in fpclass
38884 do :
38885   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38886 if test "x$ac_cv_func_fpclass" = x""yes; then :
38887   cat >>confdefs.h <<_ACEOF
38888 #define HAVE_FPCLASS 1
38889 _ACEOF
38890
38891 fi
38892 done
38893
38894   else
38895
38896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38897 $as_echo_n "checking for _fpclass declaration... " >&6; }
38898   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38899     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38900   $as_echo_n "(cached) " >&6
38901 else
38902
38903
38904       ac_ext=cpp
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909
38910       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38911 /* end confdefs.h.  */
38912 #include <math.h>
38913                       #ifdef HAVE_IEEEFP_H
38914                       #include <ieeefp.h>
38915                       #endif
38916
38917 int
38918 main ()
38919 {
38920  _fpclass(0);
38921   ;
38922   return 0;
38923 }
38924 _ACEOF
38925 if ac_fn_cxx_try_compile "$LINENO"; then :
38926   glibcxx_cv_func__fpclass_use=yes
38927 else
38928   glibcxx_cv_func__fpclass_use=no
38929 fi
38930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38931       ac_ext=c
38932 ac_cpp='$CPP $CPPFLAGS'
38933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38936
38937
38938 fi
38939
38940   fi
38941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38942 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38943
38944     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38945       for ac_func in _fpclass
38946 do :
38947   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38948 if test "x$ac_cv_func__fpclass" = x""yes; then :
38949   cat >>confdefs.h <<_ACEOF
38950 #define HAVE__FPCLASS 1
38951 _ACEOF
38952
38953 fi
38954 done
38955
38956     fi
38957   fi
38958
38959
38960
38961
38962
38963   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38964 $as_echo_n "checking for qfpclass declaration... " >&6; }
38965   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38966     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38967   $as_echo_n "(cached) " >&6
38968 else
38969
38970
38971       ac_ext=cpp
38972 ac_cpp='$CXXCPP $CPPFLAGS'
38973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976
38977       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38978 /* end confdefs.h.  */
38979 #include <math.h>
38980                       #ifdef HAVE_IEEEFP_H
38981                       #include <ieeefp.h>
38982                       #endif
38983
38984 int
38985 main ()
38986 {
38987  qfpclass(0);
38988   ;
38989   return 0;
38990 }
38991 _ACEOF
38992 if ac_fn_cxx_try_compile "$LINENO"; then :
38993   glibcxx_cv_func_qfpclass_use=yes
38994 else
38995   glibcxx_cv_func_qfpclass_use=no
38996 fi
38997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38998       ac_ext=c
38999 ac_cpp='$CPP $CPPFLAGS'
39000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39003
39004
39005 fi
39006
39007   fi
39008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39009 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39010
39011   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39012     for ac_func in qfpclass
39013 do :
39014   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39015 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39016   cat >>confdefs.h <<_ACEOF
39017 #define HAVE_QFPCLASS 1
39018 _ACEOF
39019
39020 fi
39021 done
39022
39023   else
39024
39025   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39026 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39027   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39028     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39029   $as_echo_n "(cached) " >&6
39030 else
39031
39032
39033       ac_ext=cpp
39034 ac_cpp='$CXXCPP $CPPFLAGS'
39035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39038
39039       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39040 /* end confdefs.h.  */
39041 #include <math.h>
39042                       #ifdef HAVE_IEEEFP_H
39043                       #include <ieeefp.h>
39044                       #endif
39045
39046 int
39047 main ()
39048 {
39049  _qfpclass(0);
39050   ;
39051   return 0;
39052 }
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055   glibcxx_cv_func__qfpclass_use=yes
39056 else
39057   glibcxx_cv_func__qfpclass_use=no
39058 fi
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060       ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39065
39066
39067 fi
39068
39069   fi
39070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39071 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39072
39073     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39074       for ac_func in _qfpclass
39075 do :
39076   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39077 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39078   cat >>confdefs.h <<_ACEOF
39079 #define HAVE__QFPCLASS 1
39080 _ACEOF
39081
39082 fi
39083 done
39084
39085     fi
39086   fi
39087
39088
39089
39090
39091
39092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39093 $as_echo_n "checking for hypot declaration... " >&6; }
39094   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39095     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39096   $as_echo_n "(cached) " >&6
39097 else
39098
39099
39100       ac_ext=cpp
39101 ac_cpp='$CXXCPP $CPPFLAGS'
39102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39105
39106       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39107 /* end confdefs.h.  */
39108 #include <math.h>
39109 int
39110 main ()
39111 {
39112  hypot(0, 0);
39113   ;
39114   return 0;
39115 }
39116 _ACEOF
39117 if ac_fn_cxx_try_compile "$LINENO"; then :
39118   glibcxx_cv_func_hypot_use=yes
39119 else
39120   glibcxx_cv_func_hypot_use=no
39121 fi
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123       ac_ext=c
39124 ac_cpp='$CPP $CPPFLAGS'
39125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39128
39129
39130 fi
39131
39132   fi
39133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39134 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39135
39136   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39137     for ac_func in hypot
39138 do :
39139   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39140 if test "x$ac_cv_func_hypot" = x""yes; then :
39141   cat >>confdefs.h <<_ACEOF
39142 #define HAVE_HYPOT 1
39143 _ACEOF
39144
39145 fi
39146 done
39147
39148   else
39149
39150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39151 $as_echo_n "checking for _hypot declaration... " >&6; }
39152   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39153     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39154   $as_echo_n "(cached) " >&6
39155 else
39156
39157
39158       ac_ext=cpp
39159 ac_cpp='$CXXCPP $CPPFLAGS'
39160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39163
39164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 /* end confdefs.h.  */
39166 #include <math.h>
39167 int
39168 main ()
39169 {
39170  _hypot(0, 0);
39171   ;
39172   return 0;
39173 }
39174 _ACEOF
39175 if ac_fn_cxx_try_compile "$LINENO"; then :
39176   glibcxx_cv_func__hypot_use=yes
39177 else
39178   glibcxx_cv_func__hypot_use=no
39179 fi
39180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181       ac_ext=c
39182 ac_cpp='$CPP $CPPFLAGS'
39183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39186
39187
39188 fi
39189
39190   fi
39191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39192 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39193
39194     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39195       for ac_func in _hypot
39196 do :
39197   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39198 if test "x$ac_cv_func__hypot" = x""yes; then :
39199   cat >>confdefs.h <<_ACEOF
39200 #define HAVE__HYPOT 1
39201 _ACEOF
39202
39203 fi
39204 done
39205
39206     fi
39207   fi
39208
39209
39210
39211
39212
39213     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39214 $as_echo_n "checking for float trig functions... " >&6; }
39215   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39216   $as_echo_n "(cached) " >&6
39217 else
39218
39219
39220     ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39225
39226     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h.  */
39228 #include <math.h>
39229 int
39230 main ()
39231 {
39232 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39233   ;
39234   return 0;
39235 }
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238   glibcxx_cv_func_float_trig_use=yes
39239 else
39240   glibcxx_cv_func_float_trig_use=no
39241 fi
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243     ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248
39249 fi
39250
39251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39252 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39253   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39254     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39255 do :
39256   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39258 eval as_val=\$$as_ac_var
39259    if test "x$as_val" = x""yes; then :
39260   cat >>confdefs.h <<_ACEOF
39261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39262 _ACEOF
39263
39264 fi
39265 done
39266
39267   else
39268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39269 $as_echo_n "checking for _float trig functions... " >&6; }
39270     if test "${glibcxx_cv_func__float_trig_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 int
39285 main ()
39286 {
39287 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39288   ;
39289   return 0;
39290 }
39291 _ACEOF
39292 if ac_fn_cxx_try_compile "$LINENO"; then :
39293   glibcxx_cv_func__float_trig_use=yes
39294 else
39295   glibcxx_cv_func__float_trig_use=no
39296 fi
39297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39298       ac_ext=c
39299 ac_cpp='$CPP $CPPFLAGS'
39300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39303
39304 fi
39305
39306     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39307 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39308     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39309       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39310 do :
39311   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39313 eval as_val=\$$as_ac_var
39314    if test "x$as_val" = x""yes; then :
39315   cat >>confdefs.h <<_ACEOF
39316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39317 _ACEOF
39318
39319 fi
39320 done
39321
39322     fi
39323   fi
39324
39325
39326
39327
39328
39329     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39330 $as_echo_n "checking for float round functions... " >&6; }
39331   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39332   $as_echo_n "(cached) " >&6
39333 else
39334
39335
39336     ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341
39342     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h.  */
39344 #include <math.h>
39345 int
39346 main ()
39347 {
39348 ceilf (0); floorf (0);
39349   ;
39350   return 0;
39351 }
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354   glibcxx_cv_func_float_round_use=yes
39355 else
39356   glibcxx_cv_func_float_round_use=no
39357 fi
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359     ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39364
39365 fi
39366
39367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39368 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39369   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39370     for ac_func in ceilf floorf
39371 do :
39372   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39374 eval as_val=\$$as_ac_var
39375    if test "x$as_val" = x""yes; then :
39376   cat >>confdefs.h <<_ACEOF
39377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39378 _ACEOF
39379
39380 fi
39381 done
39382
39383   else
39384     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39385 $as_echo_n "checking for _float round functions... " >&6; }
39386     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39387   $as_echo_n "(cached) " >&6
39388 else
39389
39390
39391       ac_ext=cpp
39392 ac_cpp='$CXXCPP $CPPFLAGS'
39393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396
39397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39398 /* end confdefs.h.  */
39399 #include <math.h>
39400 int
39401 main ()
39402 {
39403 _ceilf (0); _floorf (0);
39404   ;
39405   return 0;
39406 }
39407 _ACEOF
39408 if ac_fn_cxx_try_compile "$LINENO"; then :
39409   glibcxx_cv_func__float_round_use=yes
39410 else
39411   glibcxx_cv_func__float_round_use=no
39412 fi
39413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39414       ac_ext=c
39415 ac_cpp='$CPP $CPPFLAGS'
39416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39419
39420 fi
39421
39422     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39423 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39424     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39425       for ac_func in _ceilf _floorf
39426 do :
39427   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39429 eval as_val=\$$as_ac_var
39430    if test "x$as_val" = x""yes; then :
39431   cat >>confdefs.h <<_ACEOF
39432 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39433 _ACEOF
39434
39435 fi
39436 done
39437
39438     fi
39439   fi
39440
39441
39442
39443
39444
39445
39446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39447 $as_echo_n "checking for expf declaration... " >&6; }
39448   if test x${glibcxx_cv_func_expf_use+set} != xset; then
39449     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39450   $as_echo_n "(cached) " >&6
39451 else
39452
39453
39454       ac_ext=cpp
39455 ac_cpp='$CXXCPP $CPPFLAGS'
39456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39459
39460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39461 /* end confdefs.h.  */
39462 #include <math.h>
39463                       #ifdef HAVE_IEEEFP_H
39464                       #include <ieeefp.h>
39465                       #endif
39466
39467 int
39468 main ()
39469 {
39470  expf(0);
39471   ;
39472   return 0;
39473 }
39474 _ACEOF
39475 if ac_fn_cxx_try_compile "$LINENO"; then :
39476   glibcxx_cv_func_expf_use=yes
39477 else
39478   glibcxx_cv_func_expf_use=no
39479 fi
39480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39481       ac_ext=c
39482 ac_cpp='$CPP $CPPFLAGS'
39483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39486
39487
39488 fi
39489
39490   fi
39491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39492 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39493
39494   if test x$glibcxx_cv_func_expf_use = x"yes"; then
39495     for ac_func in expf
39496 do :
39497   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39498 if test "x$ac_cv_func_expf" = x""yes; then :
39499   cat >>confdefs.h <<_ACEOF
39500 #define HAVE_EXPF 1
39501 _ACEOF
39502
39503 fi
39504 done
39505
39506   else
39507
39508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39509 $as_echo_n "checking for _expf declaration... " >&6; }
39510   if test x${glibcxx_cv_func__expf_use+set} != xset; then
39511     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39512   $as_echo_n "(cached) " >&6
39513 else
39514
39515
39516       ac_ext=cpp
39517 ac_cpp='$CXXCPP $CPPFLAGS'
39518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39521
39522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39523 /* end confdefs.h.  */
39524 #include <math.h>
39525                       #ifdef HAVE_IEEEFP_H
39526                       #include <ieeefp.h>
39527                       #endif
39528
39529 int
39530 main ()
39531 {
39532  _expf(0);
39533   ;
39534   return 0;
39535 }
39536 _ACEOF
39537 if ac_fn_cxx_try_compile "$LINENO"; then :
39538   glibcxx_cv_func__expf_use=yes
39539 else
39540   glibcxx_cv_func__expf_use=no
39541 fi
39542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39543       ac_ext=c
39544 ac_cpp='$CPP $CPPFLAGS'
39545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39548
39549
39550 fi
39551
39552   fi
39553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39554 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39555
39556     if test x$glibcxx_cv_func__expf_use = x"yes"; then
39557       for ac_func in _expf
39558 do :
39559   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39560 if test "x$ac_cv_func__expf" = x""yes; then :
39561   cat >>confdefs.h <<_ACEOF
39562 #define HAVE__EXPF 1
39563 _ACEOF
39564
39565 fi
39566 done
39567
39568     fi
39569   fi
39570
39571
39572
39573
39574
39575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39576 $as_echo_n "checking for isnanf declaration... " >&6; }
39577   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39578     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39579   $as_echo_n "(cached) " >&6
39580 else
39581
39582
39583       ac_ext=cpp
39584 ac_cpp='$CXXCPP $CPPFLAGS'
39585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39588
39589       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39590 /* end confdefs.h.  */
39591 #include <math.h>
39592                       #ifdef HAVE_IEEEFP_H
39593                       #include <ieeefp.h>
39594                       #endif
39595
39596 int
39597 main ()
39598 {
39599  isnanf(0);
39600   ;
39601   return 0;
39602 }
39603 _ACEOF
39604 if ac_fn_cxx_try_compile "$LINENO"; then :
39605   glibcxx_cv_func_isnanf_use=yes
39606 else
39607   glibcxx_cv_func_isnanf_use=no
39608 fi
39609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39610       ac_ext=c
39611 ac_cpp='$CPP $CPPFLAGS'
39612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615
39616
39617 fi
39618
39619   fi
39620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39621 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39622
39623   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39624     for ac_func in isnanf
39625 do :
39626   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39627 if test "x$ac_cv_func_isnanf" = x""yes; then :
39628   cat >>confdefs.h <<_ACEOF
39629 #define HAVE_ISNANF 1
39630 _ACEOF
39631
39632 fi
39633 done
39634
39635   else
39636
39637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39638 $as_echo_n "checking for _isnanf declaration... " >&6; }
39639   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39640     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39641   $as_echo_n "(cached) " >&6
39642 else
39643
39644
39645       ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650
39651       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39652 /* end confdefs.h.  */
39653 #include <math.h>
39654                       #ifdef HAVE_IEEEFP_H
39655                       #include <ieeefp.h>
39656                       #endif
39657
39658 int
39659 main ()
39660 {
39661  _isnanf(0);
39662   ;
39663   return 0;
39664 }
39665 _ACEOF
39666 if ac_fn_cxx_try_compile "$LINENO"; then :
39667   glibcxx_cv_func__isnanf_use=yes
39668 else
39669   glibcxx_cv_func__isnanf_use=no
39670 fi
39671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39672       ac_ext=c
39673 ac_cpp='$CPP $CPPFLAGS'
39674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677
39678
39679 fi
39680
39681   fi
39682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39683 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39684
39685     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39686       for ac_func in _isnanf
39687 do :
39688   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39689 if test "x$ac_cv_func__isnanf" = x""yes; then :
39690   cat >>confdefs.h <<_ACEOF
39691 #define HAVE__ISNANF 1
39692 _ACEOF
39693
39694 fi
39695 done
39696
39697     fi
39698   fi
39699
39700
39701
39702
39703
39704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39705 $as_echo_n "checking for isinff declaration... " >&6; }
39706   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39707     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39708   $as_echo_n "(cached) " >&6
39709 else
39710
39711
39712       ac_ext=cpp
39713 ac_cpp='$CXXCPP $CPPFLAGS'
39714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39717
39718       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39719 /* end confdefs.h.  */
39720 #include <math.h>
39721                       #ifdef HAVE_IEEEFP_H
39722                       #include <ieeefp.h>
39723                       #endif
39724
39725 int
39726 main ()
39727 {
39728  isinff(0);
39729   ;
39730   return 0;
39731 }
39732 _ACEOF
39733 if ac_fn_cxx_try_compile "$LINENO"; then :
39734   glibcxx_cv_func_isinff_use=yes
39735 else
39736   glibcxx_cv_func_isinff_use=no
39737 fi
39738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39739       ac_ext=c
39740 ac_cpp='$CPP $CPPFLAGS'
39741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39744
39745
39746 fi
39747
39748   fi
39749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39750 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39751
39752   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39753     for ac_func in isinff
39754 do :
39755   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39756 if test "x$ac_cv_func_isinff" = x""yes; then :
39757   cat >>confdefs.h <<_ACEOF
39758 #define HAVE_ISINFF 1
39759 _ACEOF
39760
39761 fi
39762 done
39763
39764   else
39765
39766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39767 $as_echo_n "checking for _isinff declaration... " >&6; }
39768   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39769     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39770   $as_echo_n "(cached) " >&6
39771 else
39772
39773
39774       ac_ext=cpp
39775 ac_cpp='$CXXCPP $CPPFLAGS'
39776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39779
39780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39781 /* end confdefs.h.  */
39782 #include <math.h>
39783                       #ifdef HAVE_IEEEFP_H
39784                       #include <ieeefp.h>
39785                       #endif
39786
39787 int
39788 main ()
39789 {
39790  _isinff(0);
39791   ;
39792   return 0;
39793 }
39794 _ACEOF
39795 if ac_fn_cxx_try_compile "$LINENO"; then :
39796   glibcxx_cv_func__isinff_use=yes
39797 else
39798   glibcxx_cv_func__isinff_use=no
39799 fi
39800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39801       ac_ext=c
39802 ac_cpp='$CPP $CPPFLAGS'
39803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39806
39807
39808 fi
39809
39810   fi
39811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39812 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39813
39814     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39815       for ac_func in _isinff
39816 do :
39817   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39818 if test "x$ac_cv_func__isinff" = x""yes; then :
39819   cat >>confdefs.h <<_ACEOF
39820 #define HAVE__ISINFF 1
39821 _ACEOF
39822
39823 fi
39824 done
39825
39826     fi
39827   fi
39828
39829
39830
39831
39832
39833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39834 $as_echo_n "checking for atan2f declaration... " >&6; }
39835   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39836     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39837   $as_echo_n "(cached) " >&6
39838 else
39839
39840
39841       ac_ext=cpp
39842 ac_cpp='$CXXCPP $CPPFLAGS'
39843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39846
39847       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39848 /* end confdefs.h.  */
39849 #include <math.h>
39850 int
39851 main ()
39852 {
39853  atan2f(0, 0);
39854   ;
39855   return 0;
39856 }
39857 _ACEOF
39858 if ac_fn_cxx_try_compile "$LINENO"; then :
39859   glibcxx_cv_func_atan2f_use=yes
39860 else
39861   glibcxx_cv_func_atan2f_use=no
39862 fi
39863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39864       ac_ext=c
39865 ac_cpp='$CPP $CPPFLAGS'
39866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39869
39870
39871 fi
39872
39873   fi
39874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39875 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39876
39877   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39878     for ac_func in atan2f
39879 do :
39880   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39881 if test "x$ac_cv_func_atan2f" = x""yes; then :
39882   cat >>confdefs.h <<_ACEOF
39883 #define HAVE_ATAN2F 1
39884 _ACEOF
39885
39886 fi
39887 done
39888
39889   else
39890
39891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39892 $as_echo_n "checking for _atan2f declaration... " >&6; }
39893   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39894     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39895   $as_echo_n "(cached) " >&6
39896 else
39897
39898
39899       ac_ext=cpp
39900 ac_cpp='$CXXCPP $CPPFLAGS'
39901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904
39905       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39906 /* end confdefs.h.  */
39907 #include <math.h>
39908 int
39909 main ()
39910 {
39911  _atan2f(0, 0);
39912   ;
39913   return 0;
39914 }
39915 _ACEOF
39916 if ac_fn_cxx_try_compile "$LINENO"; then :
39917   glibcxx_cv_func__atan2f_use=yes
39918 else
39919   glibcxx_cv_func__atan2f_use=no
39920 fi
39921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39922       ac_ext=c
39923 ac_cpp='$CPP $CPPFLAGS'
39924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927
39928
39929 fi
39930
39931   fi
39932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39933 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39934
39935     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39936       for ac_func in _atan2f
39937 do :
39938   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39939 if test "x$ac_cv_func__atan2f" = x""yes; then :
39940   cat >>confdefs.h <<_ACEOF
39941 #define HAVE__ATAN2F 1
39942 _ACEOF
39943
39944 fi
39945 done
39946
39947     fi
39948   fi
39949
39950
39951
39952
39953
39954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39955 $as_echo_n "checking for fabsf declaration... " >&6; }
39956   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39957     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39958   $as_echo_n "(cached) " >&6
39959 else
39960
39961
39962       ac_ext=cpp
39963 ac_cpp='$CXXCPP $CPPFLAGS'
39964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39967
39968       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39969 /* end confdefs.h.  */
39970 #include <math.h>
39971                       #ifdef HAVE_IEEEFP_H
39972                       #include <ieeefp.h>
39973                       #endif
39974
39975 int
39976 main ()
39977 {
39978  fabsf(0);
39979   ;
39980   return 0;
39981 }
39982 _ACEOF
39983 if ac_fn_cxx_try_compile "$LINENO"; then :
39984   glibcxx_cv_func_fabsf_use=yes
39985 else
39986   glibcxx_cv_func_fabsf_use=no
39987 fi
39988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39989       ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994
39995
39996 fi
39997
39998   fi
39999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40000 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40001
40002   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40003     for ac_func in fabsf
40004 do :
40005   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40006 if test "x$ac_cv_func_fabsf" = x""yes; then :
40007   cat >>confdefs.h <<_ACEOF
40008 #define HAVE_FABSF 1
40009 _ACEOF
40010
40011 fi
40012 done
40013
40014   else
40015
40016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40017 $as_echo_n "checking for _fabsf declaration... " >&6; }
40018   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40019     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40020   $as_echo_n "(cached) " >&6
40021 else
40022
40023
40024       ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029
40030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h.  */
40032 #include <math.h>
40033                       #ifdef HAVE_IEEEFP_H
40034                       #include <ieeefp.h>
40035                       #endif
40036
40037 int
40038 main ()
40039 {
40040  _fabsf(0);
40041   ;
40042   return 0;
40043 }
40044 _ACEOF
40045 if ac_fn_cxx_try_compile "$LINENO"; then :
40046   glibcxx_cv_func__fabsf_use=yes
40047 else
40048   glibcxx_cv_func__fabsf_use=no
40049 fi
40050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40051       ac_ext=c
40052 ac_cpp='$CPP $CPPFLAGS'
40053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40056
40057
40058 fi
40059
40060   fi
40061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40062 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40063
40064     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40065       for ac_func in _fabsf
40066 do :
40067   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40068 if test "x$ac_cv_func__fabsf" = x""yes; then :
40069   cat >>confdefs.h <<_ACEOF
40070 #define HAVE__FABSF 1
40071 _ACEOF
40072
40073 fi
40074 done
40075
40076     fi
40077   fi
40078
40079
40080
40081
40082
40083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40084 $as_echo_n "checking for fmodf declaration... " >&6; }
40085   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40086     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40087   $as_echo_n "(cached) " >&6
40088 else
40089
40090
40091       ac_ext=cpp
40092 ac_cpp='$CXXCPP $CPPFLAGS'
40093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40096
40097       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40098 /* end confdefs.h.  */
40099 #include <math.h>
40100 int
40101 main ()
40102 {
40103  fmodf(0, 0);
40104   ;
40105   return 0;
40106 }
40107 _ACEOF
40108 if ac_fn_cxx_try_compile "$LINENO"; then :
40109   glibcxx_cv_func_fmodf_use=yes
40110 else
40111   glibcxx_cv_func_fmodf_use=no
40112 fi
40113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40114       ac_ext=c
40115 ac_cpp='$CPP $CPPFLAGS'
40116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40119
40120
40121 fi
40122
40123   fi
40124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40125 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40126
40127   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40128     for ac_func in fmodf
40129 do :
40130   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40131 if test "x$ac_cv_func_fmodf" = x""yes; then :
40132   cat >>confdefs.h <<_ACEOF
40133 #define HAVE_FMODF 1
40134 _ACEOF
40135
40136 fi
40137 done
40138
40139   else
40140
40141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40142 $as_echo_n "checking for _fmodf declaration... " >&6; }
40143   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40144     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40145   $as_echo_n "(cached) " >&6
40146 else
40147
40148
40149       ac_ext=cpp
40150 ac_cpp='$CXXCPP $CPPFLAGS'
40151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40154
40155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40156 /* end confdefs.h.  */
40157 #include <math.h>
40158 int
40159 main ()
40160 {
40161  _fmodf(0, 0);
40162   ;
40163   return 0;
40164 }
40165 _ACEOF
40166 if ac_fn_cxx_try_compile "$LINENO"; then :
40167   glibcxx_cv_func__fmodf_use=yes
40168 else
40169   glibcxx_cv_func__fmodf_use=no
40170 fi
40171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40172       ac_ext=c
40173 ac_cpp='$CPP $CPPFLAGS'
40174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177
40178
40179 fi
40180
40181   fi
40182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40183 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40184
40185     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40186       for ac_func in _fmodf
40187 do :
40188   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40189 if test "x$ac_cv_func__fmodf" = x""yes; then :
40190   cat >>confdefs.h <<_ACEOF
40191 #define HAVE__FMODF 1
40192 _ACEOF
40193
40194 fi
40195 done
40196
40197     fi
40198   fi
40199
40200
40201
40202
40203
40204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40205 $as_echo_n "checking for frexpf declaration... " >&6; }
40206   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40207     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40208   $as_echo_n "(cached) " >&6
40209 else
40210
40211
40212       ac_ext=cpp
40213 ac_cpp='$CXXCPP $CPPFLAGS'
40214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40217
40218       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40219 /* end confdefs.h.  */
40220 #include <math.h>
40221 int
40222 main ()
40223 {
40224  frexpf(0, 0);
40225   ;
40226   return 0;
40227 }
40228 _ACEOF
40229 if ac_fn_cxx_try_compile "$LINENO"; then :
40230   glibcxx_cv_func_frexpf_use=yes
40231 else
40232   glibcxx_cv_func_frexpf_use=no
40233 fi
40234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40235       ac_ext=c
40236 ac_cpp='$CPP $CPPFLAGS'
40237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40240
40241
40242 fi
40243
40244   fi
40245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40246 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40247
40248   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40249     for ac_func in frexpf
40250 do :
40251   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40252 if test "x$ac_cv_func_frexpf" = x""yes; then :
40253   cat >>confdefs.h <<_ACEOF
40254 #define HAVE_FREXPF 1
40255 _ACEOF
40256
40257 fi
40258 done
40259
40260   else
40261
40262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40263 $as_echo_n "checking for _frexpf declaration... " >&6; }
40264   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40265     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40266   $as_echo_n "(cached) " >&6
40267 else
40268
40269
40270       ac_ext=cpp
40271 ac_cpp='$CXXCPP $CPPFLAGS'
40272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40275
40276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40277 /* end confdefs.h.  */
40278 #include <math.h>
40279 int
40280 main ()
40281 {
40282  _frexpf(0, 0);
40283   ;
40284   return 0;
40285 }
40286 _ACEOF
40287 if ac_fn_cxx_try_compile "$LINENO"; then :
40288   glibcxx_cv_func__frexpf_use=yes
40289 else
40290   glibcxx_cv_func__frexpf_use=no
40291 fi
40292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40293       ac_ext=c
40294 ac_cpp='$CPP $CPPFLAGS'
40295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40298
40299
40300 fi
40301
40302   fi
40303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40304 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40305
40306     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40307       for ac_func in _frexpf
40308 do :
40309   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40310 if test "x$ac_cv_func__frexpf" = x""yes; then :
40311   cat >>confdefs.h <<_ACEOF
40312 #define HAVE__FREXPF 1
40313 _ACEOF
40314
40315 fi
40316 done
40317
40318     fi
40319   fi
40320
40321
40322
40323
40324
40325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40326 $as_echo_n "checking for hypotf declaration... " >&6; }
40327   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40328     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40329   $as_echo_n "(cached) " >&6
40330 else
40331
40332
40333       ac_ext=cpp
40334 ac_cpp='$CXXCPP $CPPFLAGS'
40335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40338
40339       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40340 /* end confdefs.h.  */
40341 #include <math.h>
40342 int
40343 main ()
40344 {
40345  hypotf(0, 0);
40346   ;
40347   return 0;
40348 }
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351   glibcxx_cv_func_hypotf_use=yes
40352 else
40353   glibcxx_cv_func_hypotf_use=no
40354 fi
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356       ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40361
40362
40363 fi
40364
40365   fi
40366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40367 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40368
40369   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40370     for ac_func in hypotf
40371 do :
40372   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40373 if test "x$ac_cv_func_hypotf" = x""yes; then :
40374   cat >>confdefs.h <<_ACEOF
40375 #define HAVE_HYPOTF 1
40376 _ACEOF
40377
40378 fi
40379 done
40380
40381   else
40382
40383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40384 $as_echo_n "checking for _hypotf declaration... " >&6; }
40385   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40386     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40387   $as_echo_n "(cached) " >&6
40388 else
40389
40390
40391       ac_ext=cpp
40392 ac_cpp='$CXXCPP $CPPFLAGS'
40393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40396
40397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40398 /* end confdefs.h.  */
40399 #include <math.h>
40400 int
40401 main ()
40402 {
40403  _hypotf(0, 0);
40404   ;
40405   return 0;
40406 }
40407 _ACEOF
40408 if ac_fn_cxx_try_compile "$LINENO"; then :
40409   glibcxx_cv_func__hypotf_use=yes
40410 else
40411   glibcxx_cv_func__hypotf_use=no
40412 fi
40413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40414       ac_ext=c
40415 ac_cpp='$CPP $CPPFLAGS'
40416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40419
40420
40421 fi
40422
40423   fi
40424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40425 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40426
40427     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40428       for ac_func in _hypotf
40429 do :
40430   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40431 if test "x$ac_cv_func__hypotf" = x""yes; then :
40432   cat >>confdefs.h <<_ACEOF
40433 #define HAVE__HYPOTF 1
40434 _ACEOF
40435
40436 fi
40437 done
40438
40439     fi
40440   fi
40441
40442
40443
40444
40445
40446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40447 $as_echo_n "checking for ldexpf declaration... " >&6; }
40448   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40449     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40450   $as_echo_n "(cached) " >&6
40451 else
40452
40453
40454       ac_ext=cpp
40455 ac_cpp='$CXXCPP $CPPFLAGS'
40456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40459
40460       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40461 /* end confdefs.h.  */
40462 #include <math.h>
40463 int
40464 main ()
40465 {
40466  ldexpf(0, 0);
40467   ;
40468   return 0;
40469 }
40470 _ACEOF
40471 if ac_fn_cxx_try_compile "$LINENO"; then :
40472   glibcxx_cv_func_ldexpf_use=yes
40473 else
40474   glibcxx_cv_func_ldexpf_use=no
40475 fi
40476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40477       ac_ext=c
40478 ac_cpp='$CPP $CPPFLAGS'
40479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40482
40483
40484 fi
40485
40486   fi
40487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40488 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40489
40490   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40491     for ac_func in ldexpf
40492 do :
40493   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40494 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40495   cat >>confdefs.h <<_ACEOF
40496 #define HAVE_LDEXPF 1
40497 _ACEOF
40498
40499 fi
40500 done
40501
40502   else
40503
40504   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40505 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40506   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40507     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40508   $as_echo_n "(cached) " >&6
40509 else
40510
40511
40512       ac_ext=cpp
40513 ac_cpp='$CXXCPP $CPPFLAGS'
40514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517
40518       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40519 /* end confdefs.h.  */
40520 #include <math.h>
40521 int
40522 main ()
40523 {
40524  _ldexpf(0, 0);
40525   ;
40526   return 0;
40527 }
40528 _ACEOF
40529 if ac_fn_cxx_try_compile "$LINENO"; then :
40530   glibcxx_cv_func__ldexpf_use=yes
40531 else
40532   glibcxx_cv_func__ldexpf_use=no
40533 fi
40534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40535       ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40540
40541
40542 fi
40543
40544   fi
40545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40546 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40547
40548     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40549       for ac_func in _ldexpf
40550 do :
40551   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40552 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40553   cat >>confdefs.h <<_ACEOF
40554 #define HAVE__LDEXPF 1
40555 _ACEOF
40556
40557 fi
40558 done
40559
40560     fi
40561   fi
40562
40563
40564
40565
40566
40567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40568 $as_echo_n "checking for logf declaration... " >&6; }
40569   if test x${glibcxx_cv_func_logf_use+set} != xset; then
40570     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40571   $as_echo_n "(cached) " >&6
40572 else
40573
40574
40575       ac_ext=cpp
40576 ac_cpp='$CXXCPP $CPPFLAGS'
40577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40580
40581       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40582 /* end confdefs.h.  */
40583 #include <math.h>
40584                       #ifdef HAVE_IEEEFP_H
40585                       #include <ieeefp.h>
40586                       #endif
40587
40588 int
40589 main ()
40590 {
40591  logf(0);
40592   ;
40593   return 0;
40594 }
40595 _ACEOF
40596 if ac_fn_cxx_try_compile "$LINENO"; then :
40597   glibcxx_cv_func_logf_use=yes
40598 else
40599   glibcxx_cv_func_logf_use=no
40600 fi
40601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40602       ac_ext=c
40603 ac_cpp='$CPP $CPPFLAGS'
40604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40607
40608
40609 fi
40610
40611   fi
40612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40613 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40614
40615   if test x$glibcxx_cv_func_logf_use = x"yes"; then
40616     for ac_func in logf
40617 do :
40618   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40619 if test "x$ac_cv_func_logf" = x""yes; then :
40620   cat >>confdefs.h <<_ACEOF
40621 #define HAVE_LOGF 1
40622 _ACEOF
40623
40624 fi
40625 done
40626
40627   else
40628
40629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40630 $as_echo_n "checking for _logf declaration... " >&6; }
40631   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40632     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40633   $as_echo_n "(cached) " >&6
40634 else
40635
40636
40637       ac_ext=cpp
40638 ac_cpp='$CXXCPP $CPPFLAGS'
40639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40642
40643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40644 /* end confdefs.h.  */
40645 #include <math.h>
40646                       #ifdef HAVE_IEEEFP_H
40647                       #include <ieeefp.h>
40648                       #endif
40649
40650 int
40651 main ()
40652 {
40653  _logf(0);
40654   ;
40655   return 0;
40656 }
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659   glibcxx_cv_func__logf_use=yes
40660 else
40661   glibcxx_cv_func__logf_use=no
40662 fi
40663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40664       ac_ext=c
40665 ac_cpp='$CPP $CPPFLAGS'
40666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40669
40670
40671 fi
40672
40673   fi
40674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40675 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40676
40677     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40678       for ac_func in _logf
40679 do :
40680   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40681 if test "x$ac_cv_func__logf" = x""yes; then :
40682   cat >>confdefs.h <<_ACEOF
40683 #define HAVE__LOGF 1
40684 _ACEOF
40685
40686 fi
40687 done
40688
40689     fi
40690   fi
40691
40692
40693
40694
40695
40696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40697 $as_echo_n "checking for log10f declaration... " >&6; }
40698   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40699     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40700   $as_echo_n "(cached) " >&6
40701 else
40702
40703
40704       ac_ext=cpp
40705 ac_cpp='$CXXCPP $CPPFLAGS'
40706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40709
40710       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40711 /* end confdefs.h.  */
40712 #include <math.h>
40713                       #ifdef HAVE_IEEEFP_H
40714                       #include <ieeefp.h>
40715                       #endif
40716
40717 int
40718 main ()
40719 {
40720  log10f(0);
40721   ;
40722   return 0;
40723 }
40724 _ACEOF
40725 if ac_fn_cxx_try_compile "$LINENO"; then :
40726   glibcxx_cv_func_log10f_use=yes
40727 else
40728   glibcxx_cv_func_log10f_use=no
40729 fi
40730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40731       ac_ext=c
40732 ac_cpp='$CPP $CPPFLAGS'
40733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40736
40737
40738 fi
40739
40740   fi
40741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40742 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40743
40744   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40745     for ac_func in log10f
40746 do :
40747   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40748 if test "x$ac_cv_func_log10f" = x""yes; then :
40749   cat >>confdefs.h <<_ACEOF
40750 #define HAVE_LOG10F 1
40751 _ACEOF
40752
40753 fi
40754 done
40755
40756   else
40757
40758   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40759 $as_echo_n "checking for _log10f declaration... " >&6; }
40760   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40761     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40762   $as_echo_n "(cached) " >&6
40763 else
40764
40765
40766       ac_ext=cpp
40767 ac_cpp='$CXXCPP $CPPFLAGS'
40768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40771
40772       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40773 /* end confdefs.h.  */
40774 #include <math.h>
40775                       #ifdef HAVE_IEEEFP_H
40776                       #include <ieeefp.h>
40777                       #endif
40778
40779 int
40780 main ()
40781 {
40782  _log10f(0);
40783   ;
40784   return 0;
40785 }
40786 _ACEOF
40787 if ac_fn_cxx_try_compile "$LINENO"; then :
40788   glibcxx_cv_func__log10f_use=yes
40789 else
40790   glibcxx_cv_func__log10f_use=no
40791 fi
40792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40793       ac_ext=c
40794 ac_cpp='$CPP $CPPFLAGS'
40795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40798
40799
40800 fi
40801
40802   fi
40803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40804 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40805
40806     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40807       for ac_func in _log10f
40808 do :
40809   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40810 if test "x$ac_cv_func__log10f" = x""yes; then :
40811   cat >>confdefs.h <<_ACEOF
40812 #define HAVE__LOG10F 1
40813 _ACEOF
40814
40815 fi
40816 done
40817
40818     fi
40819   fi
40820
40821
40822
40823
40824
40825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40826 $as_echo_n "checking for modff declaration... " >&6; }
40827   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40828     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40829   $as_echo_n "(cached) " >&6
40830 else
40831
40832
40833       ac_ext=cpp
40834 ac_cpp='$CXXCPP $CPPFLAGS'
40835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40838
40839       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40840 /* end confdefs.h.  */
40841 #include <math.h>
40842 int
40843 main ()
40844 {
40845  modff(0, 0);
40846   ;
40847   return 0;
40848 }
40849 _ACEOF
40850 if ac_fn_cxx_try_compile "$LINENO"; then :
40851   glibcxx_cv_func_modff_use=yes
40852 else
40853   glibcxx_cv_func_modff_use=no
40854 fi
40855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40856       ac_ext=c
40857 ac_cpp='$CPP $CPPFLAGS'
40858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40861
40862
40863 fi
40864
40865   fi
40866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40867 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40868
40869   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40870     for ac_func in modff
40871 do :
40872   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40873 if test "x$ac_cv_func_modff" = x""yes; then :
40874   cat >>confdefs.h <<_ACEOF
40875 #define HAVE_MODFF 1
40876 _ACEOF
40877
40878 fi
40879 done
40880
40881   else
40882
40883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40884 $as_echo_n "checking for _modff declaration... " >&6; }
40885   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40886     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40887   $as_echo_n "(cached) " >&6
40888 else
40889
40890
40891       ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h.  */
40899 #include <math.h>
40900 int
40901 main ()
40902 {
40903  _modff(0, 0);
40904   ;
40905   return 0;
40906 }
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909   glibcxx_cv_func__modff_use=yes
40910 else
40911   glibcxx_cv_func__modff_use=no
40912 fi
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914       ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40919
40920
40921 fi
40922
40923   fi
40924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40925 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40926
40927     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40928       for ac_func in _modff
40929 do :
40930   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40931 if test "x$ac_cv_func__modff" = x""yes; then :
40932   cat >>confdefs.h <<_ACEOF
40933 #define HAVE__MODFF 1
40934 _ACEOF
40935
40936 fi
40937 done
40938
40939     fi
40940   fi
40941
40942
40943
40944
40945
40946   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40947 $as_echo_n "checking for modf declaration... " >&6; }
40948   if test x${glibcxx_cv_func_modf_use+set} != xset; then
40949     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40950   $as_echo_n "(cached) " >&6
40951 else
40952
40953
40954       ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959
40960       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h.  */
40962 #include <math.h>
40963 int
40964 main ()
40965 {
40966  modf(0, 0);
40967   ;
40968   return 0;
40969 }
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972   glibcxx_cv_func_modf_use=yes
40973 else
40974   glibcxx_cv_func_modf_use=no
40975 fi
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977       ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982
40983
40984 fi
40985
40986   fi
40987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40988 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40989
40990   if test x$glibcxx_cv_func_modf_use = x"yes"; then
40991     for ac_func in modf
40992 do :
40993   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40994 if test "x$ac_cv_func_modf" = x""yes; then :
40995   cat >>confdefs.h <<_ACEOF
40996 #define HAVE_MODF 1
40997 _ACEOF
40998
40999 fi
41000 done
41001
41002   else
41003
41004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41005 $as_echo_n "checking for _modf declaration... " >&6; }
41006   if test x${glibcxx_cv_func__modf_use+set} != xset; then
41007     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41008   $as_echo_n "(cached) " >&6
41009 else
41010
41011
41012       ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41017
41018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h.  */
41020 #include <math.h>
41021 int
41022 main ()
41023 {
41024  _modf(0, 0);
41025   ;
41026   return 0;
41027 }
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030   glibcxx_cv_func__modf_use=yes
41031 else
41032   glibcxx_cv_func__modf_use=no
41033 fi
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035       ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41040
41041
41042 fi
41043
41044   fi
41045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41046 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41047
41048     if test x$glibcxx_cv_func__modf_use = x"yes"; then
41049       for ac_func in _modf
41050 do :
41051   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41052 if test "x$ac_cv_func__modf" = x""yes; then :
41053   cat >>confdefs.h <<_ACEOF
41054 #define HAVE__MODF 1
41055 _ACEOF
41056
41057 fi
41058 done
41059
41060     fi
41061   fi
41062
41063
41064
41065
41066
41067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41068 $as_echo_n "checking for powf declaration... " >&6; }
41069   if test x${glibcxx_cv_func_powf_use+set} != xset; then
41070     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41071   $as_echo_n "(cached) " >&6
41072 else
41073
41074
41075       ac_ext=cpp
41076 ac_cpp='$CXXCPP $CPPFLAGS'
41077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41080
41081       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41082 /* end confdefs.h.  */
41083 #include <math.h>
41084 int
41085 main ()
41086 {
41087  powf(0, 0);
41088   ;
41089   return 0;
41090 }
41091 _ACEOF
41092 if ac_fn_cxx_try_compile "$LINENO"; then :
41093   glibcxx_cv_func_powf_use=yes
41094 else
41095   glibcxx_cv_func_powf_use=no
41096 fi
41097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41098       ac_ext=c
41099 ac_cpp='$CPP $CPPFLAGS'
41100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41103
41104
41105 fi
41106
41107   fi
41108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41109 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41110
41111   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41112     for ac_func in powf
41113 do :
41114   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41115 if test "x$ac_cv_func_powf" = x""yes; then :
41116   cat >>confdefs.h <<_ACEOF
41117 #define HAVE_POWF 1
41118 _ACEOF
41119
41120 fi
41121 done
41122
41123   else
41124
41125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41126 $as_echo_n "checking for _powf declaration... " >&6; }
41127   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41128     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41129   $as_echo_n "(cached) " >&6
41130 else
41131
41132
41133       ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138
41139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h.  */
41141 #include <math.h>
41142 int
41143 main ()
41144 {
41145  _powf(0, 0);
41146   ;
41147   return 0;
41148 }
41149 _ACEOF
41150 if ac_fn_cxx_try_compile "$LINENO"; then :
41151   glibcxx_cv_func__powf_use=yes
41152 else
41153   glibcxx_cv_func__powf_use=no
41154 fi
41155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156       ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41161
41162
41163 fi
41164
41165   fi
41166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41167 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41168
41169     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41170       for ac_func in _powf
41171 do :
41172   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41173 if test "x$ac_cv_func__powf" = x""yes; then :
41174   cat >>confdefs.h <<_ACEOF
41175 #define HAVE__POWF 1
41176 _ACEOF
41177
41178 fi
41179 done
41180
41181     fi
41182   fi
41183
41184
41185
41186
41187
41188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41189 $as_echo_n "checking for sqrtf declaration... " >&6; }
41190   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41191     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41192   $as_echo_n "(cached) " >&6
41193 else
41194
41195
41196       ac_ext=cpp
41197 ac_cpp='$CXXCPP $CPPFLAGS'
41198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41201
41202       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41203 /* end confdefs.h.  */
41204 #include <math.h>
41205                       #ifdef HAVE_IEEEFP_H
41206                       #include <ieeefp.h>
41207                       #endif
41208
41209 int
41210 main ()
41211 {
41212  sqrtf(0);
41213   ;
41214   return 0;
41215 }
41216 _ACEOF
41217 if ac_fn_cxx_try_compile "$LINENO"; then :
41218   glibcxx_cv_func_sqrtf_use=yes
41219 else
41220   glibcxx_cv_func_sqrtf_use=no
41221 fi
41222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41223       ac_ext=c
41224 ac_cpp='$CPP $CPPFLAGS'
41225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41228
41229
41230 fi
41231
41232   fi
41233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41234 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41235
41236   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41237     for ac_func in sqrtf
41238 do :
41239   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41240 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41241   cat >>confdefs.h <<_ACEOF
41242 #define HAVE_SQRTF 1
41243 _ACEOF
41244
41245 fi
41246 done
41247
41248   else
41249
41250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41251 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41252   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41253     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41254   $as_echo_n "(cached) " >&6
41255 else
41256
41257
41258       ac_ext=cpp
41259 ac_cpp='$CXXCPP $CPPFLAGS'
41260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41263
41264       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41265 /* end confdefs.h.  */
41266 #include <math.h>
41267                       #ifdef HAVE_IEEEFP_H
41268                       #include <ieeefp.h>
41269                       #endif
41270
41271 int
41272 main ()
41273 {
41274  _sqrtf(0);
41275   ;
41276   return 0;
41277 }
41278 _ACEOF
41279 if ac_fn_cxx_try_compile "$LINENO"; then :
41280   glibcxx_cv_func__sqrtf_use=yes
41281 else
41282   glibcxx_cv_func__sqrtf_use=no
41283 fi
41284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41285       ac_ext=c
41286 ac_cpp='$CPP $CPPFLAGS'
41287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41290
41291
41292 fi
41293
41294   fi
41295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41296 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41297
41298     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41299       for ac_func in _sqrtf
41300 do :
41301   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41302 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41303   cat >>confdefs.h <<_ACEOF
41304 #define HAVE__SQRTF 1
41305 _ACEOF
41306
41307 fi
41308 done
41309
41310     fi
41311   fi
41312
41313
41314
41315
41316
41317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41318 $as_echo_n "checking for sincosf declaration... " >&6; }
41319   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41320     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41321   $as_echo_n "(cached) " >&6
41322 else
41323
41324
41325       ac_ext=cpp
41326 ac_cpp='$CXXCPP $CPPFLAGS'
41327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41330
41331       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41332 /* end confdefs.h.  */
41333 #include <math.h>
41334 int
41335 main ()
41336 {
41337  sincosf(0, 0, 0);
41338   ;
41339   return 0;
41340 }
41341 _ACEOF
41342 if ac_fn_cxx_try_compile "$LINENO"; then :
41343   glibcxx_cv_func_sincosf_use=yes
41344 else
41345   glibcxx_cv_func_sincosf_use=no
41346 fi
41347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41348       ac_ext=c
41349 ac_cpp='$CPP $CPPFLAGS'
41350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41353
41354
41355 fi
41356
41357   fi
41358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41359 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41360
41361   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41362     for ac_func in sincosf
41363 do :
41364   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41365 if test "x$ac_cv_func_sincosf" = x""yes; then :
41366   cat >>confdefs.h <<_ACEOF
41367 #define HAVE_SINCOSF 1
41368 _ACEOF
41369
41370 fi
41371 done
41372
41373   else
41374
41375   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41376 $as_echo_n "checking for _sincosf declaration... " >&6; }
41377   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41378     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41379   $as_echo_n "(cached) " >&6
41380 else
41381
41382
41383       ac_ext=cpp
41384 ac_cpp='$CXXCPP $CPPFLAGS'
41385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41388
41389       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41390 /* end confdefs.h.  */
41391 #include <math.h>
41392 int
41393 main ()
41394 {
41395  _sincosf(0, 0, 0);
41396   ;
41397   return 0;
41398 }
41399 _ACEOF
41400 if ac_fn_cxx_try_compile "$LINENO"; then :
41401   glibcxx_cv_func__sincosf_use=yes
41402 else
41403   glibcxx_cv_func__sincosf_use=no
41404 fi
41405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41406       ac_ext=c
41407 ac_cpp='$CPP $CPPFLAGS'
41408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41411
41412
41413 fi
41414
41415   fi
41416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41417 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41418
41419     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41420       for ac_func in _sincosf
41421 do :
41422   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41423 if test "x$ac_cv_func__sincosf" = x""yes; then :
41424   cat >>confdefs.h <<_ACEOF
41425 #define HAVE__SINCOSF 1
41426 _ACEOF
41427
41428 fi
41429 done
41430
41431     fi
41432   fi
41433
41434
41435
41436
41437
41438   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41439 $as_echo_n "checking for finitef declaration... " >&6; }
41440   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41441     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41442   $as_echo_n "(cached) " >&6
41443 else
41444
41445
41446       ac_ext=cpp
41447 ac_cpp='$CXXCPP $CPPFLAGS'
41448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41451
41452       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41453 /* end confdefs.h.  */
41454 #include <math.h>
41455                       #ifdef HAVE_IEEEFP_H
41456                       #include <ieeefp.h>
41457                       #endif
41458
41459 int
41460 main ()
41461 {
41462  finitef(0);
41463   ;
41464   return 0;
41465 }
41466 _ACEOF
41467 if ac_fn_cxx_try_compile "$LINENO"; then :
41468   glibcxx_cv_func_finitef_use=yes
41469 else
41470   glibcxx_cv_func_finitef_use=no
41471 fi
41472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41473       ac_ext=c
41474 ac_cpp='$CPP $CPPFLAGS'
41475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41478
41479
41480 fi
41481
41482   fi
41483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41484 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41485
41486   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41487     for ac_func in finitef
41488 do :
41489   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41490 if test "x$ac_cv_func_finitef" = x""yes; then :
41491   cat >>confdefs.h <<_ACEOF
41492 #define HAVE_FINITEF 1
41493 _ACEOF
41494
41495 fi
41496 done
41497
41498   else
41499
41500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41501 $as_echo_n "checking for _finitef declaration... " >&6; }
41502   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41503     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41504   $as_echo_n "(cached) " >&6
41505 else
41506
41507
41508       ac_ext=cpp
41509 ac_cpp='$CXXCPP $CPPFLAGS'
41510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41513
41514       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41515 /* end confdefs.h.  */
41516 #include <math.h>
41517                       #ifdef HAVE_IEEEFP_H
41518                       #include <ieeefp.h>
41519                       #endif
41520
41521 int
41522 main ()
41523 {
41524  _finitef(0);
41525   ;
41526   return 0;
41527 }
41528 _ACEOF
41529 if ac_fn_cxx_try_compile "$LINENO"; then :
41530   glibcxx_cv_func__finitef_use=yes
41531 else
41532   glibcxx_cv_func__finitef_use=no
41533 fi
41534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41535       ac_ext=c
41536 ac_cpp='$CPP $CPPFLAGS'
41537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41540
41541
41542 fi
41543
41544   fi
41545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41546 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41547
41548     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41549       for ac_func in _finitef
41550 do :
41551   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41552 if test "x$ac_cv_func__finitef" = x""yes; then :
41553   cat >>confdefs.h <<_ACEOF
41554 #define HAVE__FINITEF 1
41555 _ACEOF
41556
41557 fi
41558 done
41559
41560     fi
41561   fi
41562
41563
41564
41565
41566
41567     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41568 $as_echo_n "checking for long double trig functions... " >&6; }
41569   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41570   $as_echo_n "(cached) " >&6
41571 else
41572
41573
41574     ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579
41580     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h.  */
41582 #include <math.h>
41583 int
41584 main ()
41585 {
41586 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41587   ;
41588   return 0;
41589 }
41590 _ACEOF
41591 if ac_fn_cxx_try_compile "$LINENO"; then :
41592   glibcxx_cv_func_long_double_trig_use=yes
41593 else
41594   glibcxx_cv_func_long_double_trig_use=no
41595 fi
41596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41597     ac_ext=c
41598 ac_cpp='$CPP $CPPFLAGS'
41599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41602
41603 fi
41604
41605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41606 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41607   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41608     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41609 do :
41610   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41612 eval as_val=\$$as_ac_var
41613    if test "x$as_val" = x""yes; then :
41614   cat >>confdefs.h <<_ACEOF
41615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41616 _ACEOF
41617
41618 fi
41619 done
41620
41621   else
41622     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41623 $as_echo_n "checking for _long double trig functions... " >&6; }
41624     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41625   $as_echo_n "(cached) " >&6
41626 else
41627
41628
41629       ac_ext=cpp
41630 ac_cpp='$CXXCPP $CPPFLAGS'
41631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41634
41635       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41636 /* end confdefs.h.  */
41637 #include <math.h>
41638 int
41639 main ()
41640 {
41641 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41642   ;
41643   return 0;
41644 }
41645 _ACEOF
41646 if ac_fn_cxx_try_compile "$LINENO"; then :
41647   glibcxx_cv_func__long_double_trig_use=yes
41648 else
41649   glibcxx_cv_func__long_double_trig_use=no
41650 fi
41651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41652       ac_ext=c
41653 ac_cpp='$CPP $CPPFLAGS'
41654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41657
41658 fi
41659
41660     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41661 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41662     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41663       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41664 do :
41665   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41667 eval as_val=\$$as_ac_var
41668    if test "x$as_val" = x""yes; then :
41669   cat >>confdefs.h <<_ACEOF
41670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41671 _ACEOF
41672
41673 fi
41674 done
41675
41676     fi
41677   fi
41678
41679
41680
41681
41682
41683     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41684 $as_echo_n "checking for long double round functions... " >&6; }
41685   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41686   $as_echo_n "(cached) " >&6
41687 else
41688
41689
41690     ac_ext=cpp
41691 ac_cpp='$CXXCPP $CPPFLAGS'
41692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41695
41696     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41697 /* end confdefs.h.  */
41698 #include <math.h>
41699 int
41700 main ()
41701 {
41702 ceill (0); floorl (0);
41703   ;
41704   return 0;
41705 }
41706 _ACEOF
41707 if ac_fn_cxx_try_compile "$LINENO"; then :
41708   glibcxx_cv_func_long_double_round_use=yes
41709 else
41710   glibcxx_cv_func_long_double_round_use=no
41711 fi
41712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41713     ac_ext=c
41714 ac_cpp='$CPP $CPPFLAGS'
41715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41718
41719 fi
41720
41721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41722 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41723   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41724     for ac_func in ceill floorl
41725 do :
41726   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41728 eval as_val=\$$as_ac_var
41729    if test "x$as_val" = x""yes; then :
41730   cat >>confdefs.h <<_ACEOF
41731 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41732 _ACEOF
41733
41734 fi
41735 done
41736
41737   else
41738     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41739 $as_echo_n "checking for _long double round functions... " >&6; }
41740     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41741   $as_echo_n "(cached) " >&6
41742 else
41743
41744
41745       ac_ext=cpp
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41750
41751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41752 /* end confdefs.h.  */
41753 #include <math.h>
41754 int
41755 main ()
41756 {
41757 _ceill (0); _floorl (0);
41758   ;
41759   return 0;
41760 }
41761 _ACEOF
41762 if ac_fn_cxx_try_compile "$LINENO"; then :
41763   glibcxx_cv_func__long_double_round_use=yes
41764 else
41765   glibcxx_cv_func__long_double_round_use=no
41766 fi
41767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768       ac_ext=c
41769 ac_cpp='$CPP $CPPFLAGS'
41770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41773
41774 fi
41775
41776     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41777 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41778     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41779       for ac_func in _ceill _floorl
41780 do :
41781   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41783 eval as_val=\$$as_ac_var
41784    if test "x$as_val" = x""yes; then :
41785   cat >>confdefs.h <<_ACEOF
41786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41787 _ACEOF
41788
41789 fi
41790 done
41791
41792     fi
41793   fi
41794
41795
41796
41797
41798
41799
41800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41801 $as_echo_n "checking for isnanl declaration... " >&6; }
41802   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41803     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41804   $as_echo_n "(cached) " >&6
41805 else
41806
41807
41808       ac_ext=cpp
41809 ac_cpp='$CXXCPP $CPPFLAGS'
41810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41813
41814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41815 /* end confdefs.h.  */
41816 #include <math.h>
41817                       #ifdef HAVE_IEEEFP_H
41818                       #include <ieeefp.h>
41819                       #endif
41820
41821 int
41822 main ()
41823 {
41824  isnanl(0);
41825   ;
41826   return 0;
41827 }
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830   glibcxx_cv_func_isnanl_use=yes
41831 else
41832   glibcxx_cv_func_isnanl_use=no
41833 fi
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835       ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41840
41841
41842 fi
41843
41844   fi
41845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41846 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41847
41848   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41849     for ac_func in isnanl
41850 do :
41851   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41852 if test "x$ac_cv_func_isnanl" = x""yes; then :
41853   cat >>confdefs.h <<_ACEOF
41854 #define HAVE_ISNANL 1
41855 _ACEOF
41856
41857 fi
41858 done
41859
41860   else
41861
41862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41863 $as_echo_n "checking for _isnanl declaration... " >&6; }
41864   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41865     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41866   $as_echo_n "(cached) " >&6
41867 else
41868
41869
41870       ac_ext=cpp
41871 ac_cpp='$CXXCPP $CPPFLAGS'
41872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41875
41876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41877 /* end confdefs.h.  */
41878 #include <math.h>
41879                       #ifdef HAVE_IEEEFP_H
41880                       #include <ieeefp.h>
41881                       #endif
41882
41883 int
41884 main ()
41885 {
41886  _isnanl(0);
41887   ;
41888   return 0;
41889 }
41890 _ACEOF
41891 if ac_fn_cxx_try_compile "$LINENO"; then :
41892   glibcxx_cv_func__isnanl_use=yes
41893 else
41894   glibcxx_cv_func__isnanl_use=no
41895 fi
41896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41897       ac_ext=c
41898 ac_cpp='$CPP $CPPFLAGS'
41899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41902
41903
41904 fi
41905
41906   fi
41907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41908 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41909
41910     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41911       for ac_func in _isnanl
41912 do :
41913   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41914 if test "x$ac_cv_func__isnanl" = x""yes; then :
41915   cat >>confdefs.h <<_ACEOF
41916 #define HAVE__ISNANL 1
41917 _ACEOF
41918
41919 fi
41920 done
41921
41922     fi
41923   fi
41924
41925
41926
41927
41928
41929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41930 $as_echo_n "checking for isinfl declaration... " >&6; }
41931   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41932     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41933   $as_echo_n "(cached) " >&6
41934 else
41935
41936
41937       ac_ext=cpp
41938 ac_cpp='$CXXCPP $CPPFLAGS'
41939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41942
41943       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41944 /* end confdefs.h.  */
41945 #include <math.h>
41946                       #ifdef HAVE_IEEEFP_H
41947                       #include <ieeefp.h>
41948                       #endif
41949
41950 int
41951 main ()
41952 {
41953  isinfl(0);
41954   ;
41955   return 0;
41956 }
41957 _ACEOF
41958 if ac_fn_cxx_try_compile "$LINENO"; then :
41959   glibcxx_cv_func_isinfl_use=yes
41960 else
41961   glibcxx_cv_func_isinfl_use=no
41962 fi
41963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964       ac_ext=c
41965 ac_cpp='$CPP $CPPFLAGS'
41966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41969
41970
41971 fi
41972
41973   fi
41974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41975 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41976
41977   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41978     for ac_func in isinfl
41979 do :
41980   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41981 if test "x$ac_cv_func_isinfl" = x""yes; then :
41982   cat >>confdefs.h <<_ACEOF
41983 #define HAVE_ISINFL 1
41984 _ACEOF
41985
41986 fi
41987 done
41988
41989   else
41990
41991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41992 $as_echo_n "checking for _isinfl declaration... " >&6; }
41993   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41994     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41995   $as_echo_n "(cached) " >&6
41996 else
41997
41998
41999       ac_ext=cpp
42000 ac_cpp='$CXXCPP $CPPFLAGS'
42001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004
42005       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42006 /* end confdefs.h.  */
42007 #include <math.h>
42008                       #ifdef HAVE_IEEEFP_H
42009                       #include <ieeefp.h>
42010                       #endif
42011
42012 int
42013 main ()
42014 {
42015  _isinfl(0);
42016   ;
42017   return 0;
42018 }
42019 _ACEOF
42020 if ac_fn_cxx_try_compile "$LINENO"; then :
42021   glibcxx_cv_func__isinfl_use=yes
42022 else
42023   glibcxx_cv_func__isinfl_use=no
42024 fi
42025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42026       ac_ext=c
42027 ac_cpp='$CPP $CPPFLAGS'
42028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42031
42032
42033 fi
42034
42035   fi
42036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42037 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42038
42039     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42040       for ac_func in _isinfl
42041 do :
42042   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42043 if test "x$ac_cv_func__isinfl" = x""yes; then :
42044   cat >>confdefs.h <<_ACEOF
42045 #define HAVE__ISINFL 1
42046 _ACEOF
42047
42048 fi
42049 done
42050
42051     fi
42052   fi
42053
42054
42055
42056
42057
42058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42059 $as_echo_n "checking for atan2l declaration... " >&6; }
42060   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42061     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42062   $as_echo_n "(cached) " >&6
42063 else
42064
42065
42066       ac_ext=cpp
42067 ac_cpp='$CXXCPP $CPPFLAGS'
42068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42071
42072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42073 /* end confdefs.h.  */
42074 #include <math.h>
42075 int
42076 main ()
42077 {
42078  atan2l(0, 0);
42079   ;
42080   return 0;
42081 }
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084   glibcxx_cv_func_atan2l_use=yes
42085 else
42086   glibcxx_cv_func_atan2l_use=no
42087 fi
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089       ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42094
42095
42096 fi
42097
42098   fi
42099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42100 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42101
42102   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42103     for ac_func in atan2l
42104 do :
42105   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42106 if test "x$ac_cv_func_atan2l" = x""yes; then :
42107   cat >>confdefs.h <<_ACEOF
42108 #define HAVE_ATAN2L 1
42109 _ACEOF
42110
42111 fi
42112 done
42113
42114   else
42115
42116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42117 $as_echo_n "checking for _atan2l declaration... " >&6; }
42118   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42119     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42120   $as_echo_n "(cached) " >&6
42121 else
42122
42123
42124       ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42129
42130       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h.  */
42132 #include <math.h>
42133 int
42134 main ()
42135 {
42136  _atan2l(0, 0);
42137   ;
42138   return 0;
42139 }
42140 _ACEOF
42141 if ac_fn_cxx_try_compile "$LINENO"; then :
42142   glibcxx_cv_func__atan2l_use=yes
42143 else
42144   glibcxx_cv_func__atan2l_use=no
42145 fi
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42147       ac_ext=c
42148 ac_cpp='$CPP $CPPFLAGS'
42149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42152
42153
42154 fi
42155
42156   fi
42157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42158 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42159
42160     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42161       for ac_func in _atan2l
42162 do :
42163   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42164 if test "x$ac_cv_func__atan2l" = x""yes; then :
42165   cat >>confdefs.h <<_ACEOF
42166 #define HAVE__ATAN2L 1
42167 _ACEOF
42168
42169 fi
42170 done
42171
42172     fi
42173   fi
42174
42175
42176
42177
42178
42179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42180 $as_echo_n "checking for expl declaration... " >&6; }
42181   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42182     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42183   $as_echo_n "(cached) " >&6
42184 else
42185
42186
42187       ac_ext=cpp
42188 ac_cpp='$CXXCPP $CPPFLAGS'
42189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42192
42193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42194 /* end confdefs.h.  */
42195 #include <math.h>
42196                       #ifdef HAVE_IEEEFP_H
42197                       #include <ieeefp.h>
42198                       #endif
42199
42200 int
42201 main ()
42202 {
42203  expl(0);
42204   ;
42205   return 0;
42206 }
42207 _ACEOF
42208 if ac_fn_cxx_try_compile "$LINENO"; then :
42209   glibcxx_cv_func_expl_use=yes
42210 else
42211   glibcxx_cv_func_expl_use=no
42212 fi
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214       ac_ext=c
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42219
42220
42221 fi
42222
42223   fi
42224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42225 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42226
42227   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42228     for ac_func in expl
42229 do :
42230   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42231 if test "x$ac_cv_func_expl" = x""yes; then :
42232   cat >>confdefs.h <<_ACEOF
42233 #define HAVE_EXPL 1
42234 _ACEOF
42235
42236 fi
42237 done
42238
42239   else
42240
42241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42242 $as_echo_n "checking for _expl declaration... " >&6; }
42243   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42244     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42245   $as_echo_n "(cached) " >&6
42246 else
42247
42248
42249       ac_ext=cpp
42250 ac_cpp='$CXXCPP $CPPFLAGS'
42251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42254
42255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42256 /* end confdefs.h.  */
42257 #include <math.h>
42258                       #ifdef HAVE_IEEEFP_H
42259                       #include <ieeefp.h>
42260                       #endif
42261
42262 int
42263 main ()
42264 {
42265  _expl(0);
42266   ;
42267   return 0;
42268 }
42269 _ACEOF
42270 if ac_fn_cxx_try_compile "$LINENO"; then :
42271   glibcxx_cv_func__expl_use=yes
42272 else
42273   glibcxx_cv_func__expl_use=no
42274 fi
42275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42276       ac_ext=c
42277 ac_cpp='$CPP $CPPFLAGS'
42278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42281
42282
42283 fi
42284
42285   fi
42286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42287 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42288
42289     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42290       for ac_func in _expl
42291 do :
42292   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42293 if test "x$ac_cv_func__expl" = x""yes; then :
42294   cat >>confdefs.h <<_ACEOF
42295 #define HAVE__EXPL 1
42296 _ACEOF
42297
42298 fi
42299 done
42300
42301     fi
42302   fi
42303
42304
42305
42306
42307
42308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42309 $as_echo_n "checking for fabsl declaration... " >&6; }
42310   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42311     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42312   $as_echo_n "(cached) " >&6
42313 else
42314
42315
42316       ac_ext=cpp
42317 ac_cpp='$CXXCPP $CPPFLAGS'
42318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42321
42322       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42323 /* end confdefs.h.  */
42324 #include <math.h>
42325                       #ifdef HAVE_IEEEFP_H
42326                       #include <ieeefp.h>
42327                       #endif
42328
42329 int
42330 main ()
42331 {
42332  fabsl(0);
42333   ;
42334   return 0;
42335 }
42336 _ACEOF
42337 if ac_fn_cxx_try_compile "$LINENO"; then :
42338   glibcxx_cv_func_fabsl_use=yes
42339 else
42340   glibcxx_cv_func_fabsl_use=no
42341 fi
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343       ac_ext=c
42344 ac_cpp='$CPP $CPPFLAGS'
42345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42348
42349
42350 fi
42351
42352   fi
42353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42354 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42355
42356   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42357     for ac_func in fabsl
42358 do :
42359   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42360 if test "x$ac_cv_func_fabsl" = x""yes; then :
42361   cat >>confdefs.h <<_ACEOF
42362 #define HAVE_FABSL 1
42363 _ACEOF
42364
42365 fi
42366 done
42367
42368   else
42369
42370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42371 $as_echo_n "checking for _fabsl declaration... " >&6; }
42372   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42373     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42374   $as_echo_n "(cached) " >&6
42375 else
42376
42377
42378       ac_ext=cpp
42379 ac_cpp='$CXXCPP $CPPFLAGS'
42380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42383
42384       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42385 /* end confdefs.h.  */
42386 #include <math.h>
42387                       #ifdef HAVE_IEEEFP_H
42388                       #include <ieeefp.h>
42389                       #endif
42390
42391 int
42392 main ()
42393 {
42394  _fabsl(0);
42395   ;
42396   return 0;
42397 }
42398 _ACEOF
42399 if ac_fn_cxx_try_compile "$LINENO"; then :
42400   glibcxx_cv_func__fabsl_use=yes
42401 else
42402   glibcxx_cv_func__fabsl_use=no
42403 fi
42404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42405       ac_ext=c
42406 ac_cpp='$CPP $CPPFLAGS'
42407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42410
42411
42412 fi
42413
42414   fi
42415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42416 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42417
42418     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42419       for ac_func in _fabsl
42420 do :
42421   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42422 if test "x$ac_cv_func__fabsl" = x""yes; then :
42423   cat >>confdefs.h <<_ACEOF
42424 #define HAVE__FABSL 1
42425 _ACEOF
42426
42427 fi
42428 done
42429
42430     fi
42431   fi
42432
42433
42434
42435
42436
42437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42438 $as_echo_n "checking for fmodl declaration... " >&6; }
42439   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42440     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42441   $as_echo_n "(cached) " >&6
42442 else
42443
42444
42445       ac_ext=cpp
42446 ac_cpp='$CXXCPP $CPPFLAGS'
42447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42450
42451       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42452 /* end confdefs.h.  */
42453 #include <math.h>
42454 int
42455 main ()
42456 {
42457  fmodl(0, 0);
42458   ;
42459   return 0;
42460 }
42461 _ACEOF
42462 if ac_fn_cxx_try_compile "$LINENO"; then :
42463   glibcxx_cv_func_fmodl_use=yes
42464 else
42465   glibcxx_cv_func_fmodl_use=no
42466 fi
42467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42468       ac_ext=c
42469 ac_cpp='$CPP $CPPFLAGS'
42470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42473
42474
42475 fi
42476
42477   fi
42478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42479 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42480
42481   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42482     for ac_func in fmodl
42483 do :
42484   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42485 if test "x$ac_cv_func_fmodl" = x""yes; then :
42486   cat >>confdefs.h <<_ACEOF
42487 #define HAVE_FMODL 1
42488 _ACEOF
42489
42490 fi
42491 done
42492
42493   else
42494
42495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42496 $as_echo_n "checking for _fmodl declaration... " >&6; }
42497   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42498     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42499   $as_echo_n "(cached) " >&6
42500 else
42501
42502
42503       ac_ext=cpp
42504 ac_cpp='$CXXCPP $CPPFLAGS'
42505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42508
42509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42510 /* end confdefs.h.  */
42511 #include <math.h>
42512 int
42513 main ()
42514 {
42515  _fmodl(0, 0);
42516   ;
42517   return 0;
42518 }
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521   glibcxx_cv_func__fmodl_use=yes
42522 else
42523   glibcxx_cv_func__fmodl_use=no
42524 fi
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526       ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42531
42532
42533 fi
42534
42535   fi
42536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42537 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42538
42539     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42540       for ac_func in _fmodl
42541 do :
42542   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42543 if test "x$ac_cv_func__fmodl" = x""yes; then :
42544   cat >>confdefs.h <<_ACEOF
42545 #define HAVE__FMODL 1
42546 _ACEOF
42547
42548 fi
42549 done
42550
42551     fi
42552   fi
42553
42554
42555
42556
42557
42558   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42559 $as_echo_n "checking for frexpl declaration... " >&6; }
42560   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42561     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42562   $as_echo_n "(cached) " >&6
42563 else
42564
42565
42566       ac_ext=cpp
42567 ac_cpp='$CXXCPP $CPPFLAGS'
42568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42571
42572       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42573 /* end confdefs.h.  */
42574 #include <math.h>
42575 int
42576 main ()
42577 {
42578  frexpl(0, 0);
42579   ;
42580   return 0;
42581 }
42582 _ACEOF
42583 if ac_fn_cxx_try_compile "$LINENO"; then :
42584   glibcxx_cv_func_frexpl_use=yes
42585 else
42586   glibcxx_cv_func_frexpl_use=no
42587 fi
42588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42589       ac_ext=c
42590 ac_cpp='$CPP $CPPFLAGS'
42591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42594
42595
42596 fi
42597
42598   fi
42599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42600 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42601
42602   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42603     for ac_func in frexpl
42604 do :
42605   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42606 if test "x$ac_cv_func_frexpl" = x""yes; then :
42607   cat >>confdefs.h <<_ACEOF
42608 #define HAVE_FREXPL 1
42609 _ACEOF
42610
42611 fi
42612 done
42613
42614   else
42615
42616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42617 $as_echo_n "checking for _frexpl declaration... " >&6; }
42618   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42619     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42620   $as_echo_n "(cached) " >&6
42621 else
42622
42623
42624       ac_ext=cpp
42625 ac_cpp='$CXXCPP $CPPFLAGS'
42626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42629
42630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42631 /* end confdefs.h.  */
42632 #include <math.h>
42633 int
42634 main ()
42635 {
42636  _frexpl(0, 0);
42637   ;
42638   return 0;
42639 }
42640 _ACEOF
42641 if ac_fn_cxx_try_compile "$LINENO"; then :
42642   glibcxx_cv_func__frexpl_use=yes
42643 else
42644   glibcxx_cv_func__frexpl_use=no
42645 fi
42646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42647       ac_ext=c
42648 ac_cpp='$CPP $CPPFLAGS'
42649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42652
42653
42654 fi
42655
42656   fi
42657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42658 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42659
42660     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42661       for ac_func in _frexpl
42662 do :
42663   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42664 if test "x$ac_cv_func__frexpl" = x""yes; then :
42665   cat >>confdefs.h <<_ACEOF
42666 #define HAVE__FREXPL 1
42667 _ACEOF
42668
42669 fi
42670 done
42671
42672     fi
42673   fi
42674
42675
42676
42677
42678
42679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42680 $as_echo_n "checking for hypotl declaration... " >&6; }
42681   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42682     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42683   $as_echo_n "(cached) " >&6
42684 else
42685
42686
42687       ac_ext=cpp
42688 ac_cpp='$CXXCPP $CPPFLAGS'
42689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42692
42693       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42694 /* end confdefs.h.  */
42695 #include <math.h>
42696 int
42697 main ()
42698 {
42699  hypotl(0, 0);
42700   ;
42701   return 0;
42702 }
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705   glibcxx_cv_func_hypotl_use=yes
42706 else
42707   glibcxx_cv_func_hypotl_use=no
42708 fi
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710       ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42715
42716
42717 fi
42718
42719   fi
42720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42721 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42722
42723   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42724     for ac_func in hypotl
42725 do :
42726   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42727 if test "x$ac_cv_func_hypotl" = x""yes; then :
42728   cat >>confdefs.h <<_ACEOF
42729 #define HAVE_HYPOTL 1
42730 _ACEOF
42731
42732 fi
42733 done
42734
42735   else
42736
42737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42738 $as_echo_n "checking for _hypotl declaration... " >&6; }
42739   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42740     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42741   $as_echo_n "(cached) " >&6
42742 else
42743
42744
42745       ac_ext=cpp
42746 ac_cpp='$CXXCPP $CPPFLAGS'
42747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42750
42751       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752 /* end confdefs.h.  */
42753 #include <math.h>
42754 int
42755 main ()
42756 {
42757  _hypotl(0, 0);
42758   ;
42759   return 0;
42760 }
42761 _ACEOF
42762 if ac_fn_cxx_try_compile "$LINENO"; then :
42763   glibcxx_cv_func__hypotl_use=yes
42764 else
42765   glibcxx_cv_func__hypotl_use=no
42766 fi
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42768       ac_ext=c
42769 ac_cpp='$CPP $CPPFLAGS'
42770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42773
42774
42775 fi
42776
42777   fi
42778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42779 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42780
42781     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42782       for ac_func in _hypotl
42783 do :
42784   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42785 if test "x$ac_cv_func__hypotl" = x""yes; then :
42786   cat >>confdefs.h <<_ACEOF
42787 #define HAVE__HYPOTL 1
42788 _ACEOF
42789
42790 fi
42791 done
42792
42793     fi
42794   fi
42795
42796
42797
42798
42799
42800   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42801 $as_echo_n "checking for ldexpl declaration... " >&6; }
42802   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42803     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42804   $as_echo_n "(cached) " >&6
42805 else
42806
42807
42808       ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42813
42814       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h.  */
42816 #include <math.h>
42817 int
42818 main ()
42819 {
42820  ldexpl(0, 0);
42821   ;
42822   return 0;
42823 }
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826   glibcxx_cv_func_ldexpl_use=yes
42827 else
42828   glibcxx_cv_func_ldexpl_use=no
42829 fi
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831       ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836
42837
42838 fi
42839
42840   fi
42841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42842 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42843
42844   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42845     for ac_func in ldexpl
42846 do :
42847   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42848 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42849   cat >>confdefs.h <<_ACEOF
42850 #define HAVE_LDEXPL 1
42851 _ACEOF
42852
42853 fi
42854 done
42855
42856   else
42857
42858   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42859 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42860   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42861     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42862   $as_echo_n "(cached) " >&6
42863 else
42864
42865
42866       ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42871
42872       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h.  */
42874 #include <math.h>
42875 int
42876 main ()
42877 {
42878  _ldexpl(0, 0);
42879   ;
42880   return 0;
42881 }
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884   glibcxx_cv_func__ldexpl_use=yes
42885 else
42886   glibcxx_cv_func__ldexpl_use=no
42887 fi
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889       ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894
42895
42896 fi
42897
42898   fi
42899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42900 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42901
42902     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42903       for ac_func in _ldexpl
42904 do :
42905   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42906 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42907   cat >>confdefs.h <<_ACEOF
42908 #define HAVE__LDEXPL 1
42909 _ACEOF
42910
42911 fi
42912 done
42913
42914     fi
42915   fi
42916
42917
42918
42919
42920
42921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42922 $as_echo_n "checking for logl declaration... " >&6; }
42923   if test x${glibcxx_cv_func_logl_use+set} != xset; then
42924     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42925   $as_echo_n "(cached) " >&6
42926 else
42927
42928
42929       ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934
42935       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h.  */
42937 #include <math.h>
42938                       #ifdef HAVE_IEEEFP_H
42939                       #include <ieeefp.h>
42940                       #endif
42941
42942 int
42943 main ()
42944 {
42945  logl(0);
42946   ;
42947   return 0;
42948 }
42949 _ACEOF
42950 if ac_fn_cxx_try_compile "$LINENO"; then :
42951   glibcxx_cv_func_logl_use=yes
42952 else
42953   glibcxx_cv_func_logl_use=no
42954 fi
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956       ac_ext=c
42957 ac_cpp='$CPP $CPPFLAGS'
42958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42961
42962
42963 fi
42964
42965   fi
42966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42967 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42968
42969   if test x$glibcxx_cv_func_logl_use = x"yes"; then
42970     for ac_func in logl
42971 do :
42972   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42973 if test "x$ac_cv_func_logl" = x""yes; then :
42974   cat >>confdefs.h <<_ACEOF
42975 #define HAVE_LOGL 1
42976 _ACEOF
42977
42978 fi
42979 done
42980
42981   else
42982
42983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42984 $as_echo_n "checking for _logl declaration... " >&6; }
42985   if test x${glibcxx_cv_func__logl_use+set} != xset; then
42986     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42987   $as_echo_n "(cached) " >&6
42988 else
42989
42990
42991       ac_ext=cpp
42992 ac_cpp='$CXXCPP $CPPFLAGS'
42993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42996
42997       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42998 /* end confdefs.h.  */
42999 #include <math.h>
43000                       #ifdef HAVE_IEEEFP_H
43001                       #include <ieeefp.h>
43002                       #endif
43003
43004 int
43005 main ()
43006 {
43007  _logl(0);
43008   ;
43009   return 0;
43010 }
43011 _ACEOF
43012 if ac_fn_cxx_try_compile "$LINENO"; then :
43013   glibcxx_cv_func__logl_use=yes
43014 else
43015   glibcxx_cv_func__logl_use=no
43016 fi
43017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43018       ac_ext=c
43019 ac_cpp='$CPP $CPPFLAGS'
43020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43023
43024
43025 fi
43026
43027   fi
43028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43029 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43030
43031     if test x$glibcxx_cv_func__logl_use = x"yes"; then
43032       for ac_func in _logl
43033 do :
43034   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43035 if test "x$ac_cv_func__logl" = x""yes; then :
43036   cat >>confdefs.h <<_ACEOF
43037 #define HAVE__LOGL 1
43038 _ACEOF
43039
43040 fi
43041 done
43042
43043     fi
43044   fi
43045
43046
43047
43048
43049
43050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43051 $as_echo_n "checking for log10l declaration... " >&6; }
43052   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43053     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43054   $as_echo_n "(cached) " >&6
43055 else
43056
43057
43058       ac_ext=cpp
43059 ac_cpp='$CXXCPP $CPPFLAGS'
43060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43063
43064       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43065 /* end confdefs.h.  */
43066 #include <math.h>
43067                       #ifdef HAVE_IEEEFP_H
43068                       #include <ieeefp.h>
43069                       #endif
43070
43071 int
43072 main ()
43073 {
43074  log10l(0);
43075   ;
43076   return 0;
43077 }
43078 _ACEOF
43079 if ac_fn_cxx_try_compile "$LINENO"; then :
43080   glibcxx_cv_func_log10l_use=yes
43081 else
43082   glibcxx_cv_func_log10l_use=no
43083 fi
43084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43085       ac_ext=c
43086 ac_cpp='$CPP $CPPFLAGS'
43087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43090
43091
43092 fi
43093
43094   fi
43095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43096 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43097
43098   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43099     for ac_func in log10l
43100 do :
43101   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43102 if test "x$ac_cv_func_log10l" = x""yes; then :
43103   cat >>confdefs.h <<_ACEOF
43104 #define HAVE_LOG10L 1
43105 _ACEOF
43106
43107 fi
43108 done
43109
43110   else
43111
43112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43113 $as_echo_n "checking for _log10l declaration... " >&6; }
43114   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43115     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43116   $as_echo_n "(cached) " >&6
43117 else
43118
43119
43120       ac_ext=cpp
43121 ac_cpp='$CXXCPP $CPPFLAGS'
43122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43125
43126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43127 /* end confdefs.h.  */
43128 #include <math.h>
43129                       #ifdef HAVE_IEEEFP_H
43130                       #include <ieeefp.h>
43131                       #endif
43132
43133 int
43134 main ()
43135 {
43136  _log10l(0);
43137   ;
43138   return 0;
43139 }
43140 _ACEOF
43141 if ac_fn_cxx_try_compile "$LINENO"; then :
43142   glibcxx_cv_func__log10l_use=yes
43143 else
43144   glibcxx_cv_func__log10l_use=no
43145 fi
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147       ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152
43153
43154 fi
43155
43156   fi
43157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43158 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43159
43160     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43161       for ac_func in _log10l
43162 do :
43163   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43164 if test "x$ac_cv_func__log10l" = x""yes; then :
43165   cat >>confdefs.h <<_ACEOF
43166 #define HAVE__LOG10L 1
43167 _ACEOF
43168
43169 fi
43170 done
43171
43172     fi
43173   fi
43174
43175
43176
43177
43178
43179   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43180 $as_echo_n "checking for modfl declaration... " >&6; }
43181   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43182     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43183   $as_echo_n "(cached) " >&6
43184 else
43185
43186
43187       ac_ext=cpp
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43194 /* end confdefs.h.  */
43195 #include <math.h>
43196 int
43197 main ()
43198 {
43199  modfl(0, 0);
43200   ;
43201   return 0;
43202 }
43203 _ACEOF
43204 if ac_fn_cxx_try_compile "$LINENO"; then :
43205   glibcxx_cv_func_modfl_use=yes
43206 else
43207   glibcxx_cv_func_modfl_use=no
43208 fi
43209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43210       ac_ext=c
43211 ac_cpp='$CPP $CPPFLAGS'
43212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43215
43216
43217 fi
43218
43219   fi
43220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43221 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43222
43223   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43224     for ac_func in modfl
43225 do :
43226   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43227 if test "x$ac_cv_func_modfl" = x""yes; then :
43228   cat >>confdefs.h <<_ACEOF
43229 #define HAVE_MODFL 1
43230 _ACEOF
43231
43232 fi
43233 done
43234
43235   else
43236
43237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43238 $as_echo_n "checking for _modfl declaration... " >&6; }
43239   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43240     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43241   $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245       ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h.  */
43253 #include <math.h>
43254 int
43255 main ()
43256 {
43257  _modfl(0, 0);
43258   ;
43259   return 0;
43260 }
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263   glibcxx_cv_func__modfl_use=yes
43264 else
43265   glibcxx_cv_func__modfl_use=no
43266 fi
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268       ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273
43274
43275 fi
43276
43277   fi
43278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43279 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43280
43281     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43282       for ac_func in _modfl
43283 do :
43284   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43285 if test "x$ac_cv_func__modfl" = x""yes; then :
43286   cat >>confdefs.h <<_ACEOF
43287 #define HAVE__MODFL 1
43288 _ACEOF
43289
43290 fi
43291 done
43292
43293     fi
43294   fi
43295
43296
43297
43298
43299
43300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43301 $as_echo_n "checking for powl declaration... " >&6; }
43302   if test x${glibcxx_cv_func_powl_use+set} != xset; then
43303     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43304   $as_echo_n "(cached) " >&6
43305 else
43306
43307
43308       ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43313
43314       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h.  */
43316 #include <math.h>
43317 int
43318 main ()
43319 {
43320  powl(0, 0);
43321   ;
43322   return 0;
43323 }
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326   glibcxx_cv_func_powl_use=yes
43327 else
43328   glibcxx_cv_func_powl_use=no
43329 fi
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331       ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336
43337
43338 fi
43339
43340   fi
43341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43342 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43343
43344   if test x$glibcxx_cv_func_powl_use = x"yes"; then
43345     for ac_func in powl
43346 do :
43347   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43348 if test "x$ac_cv_func_powl" = x""yes; then :
43349   cat >>confdefs.h <<_ACEOF
43350 #define HAVE_POWL 1
43351 _ACEOF
43352
43353 fi
43354 done
43355
43356   else
43357
43358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43359 $as_echo_n "checking for _powl declaration... " >&6; }
43360   if test x${glibcxx_cv_func__powl_use+set} != xset; then
43361     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43362   $as_echo_n "(cached) " >&6
43363 else
43364
43365
43366       ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43371
43372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h.  */
43374 #include <math.h>
43375 int
43376 main ()
43377 {
43378  _powl(0, 0);
43379   ;
43380   return 0;
43381 }
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384   glibcxx_cv_func__powl_use=yes
43385 else
43386   glibcxx_cv_func__powl_use=no
43387 fi
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389       ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394
43395
43396 fi
43397
43398   fi
43399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43400 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43401
43402     if test x$glibcxx_cv_func__powl_use = x"yes"; then
43403       for ac_func in _powl
43404 do :
43405   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43406 if test "x$ac_cv_func__powl" = x""yes; then :
43407   cat >>confdefs.h <<_ACEOF
43408 #define HAVE__POWL 1
43409 _ACEOF
43410
43411 fi
43412 done
43413
43414     fi
43415   fi
43416
43417
43418
43419
43420
43421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43422 $as_echo_n "checking for sqrtl declaration... " >&6; }
43423   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43424     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43425   $as_echo_n "(cached) " >&6
43426 else
43427
43428
43429       ac_ext=cpp
43430 ac_cpp='$CXXCPP $CPPFLAGS'
43431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43434
43435       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43436 /* end confdefs.h.  */
43437 #include <math.h>
43438                       #ifdef HAVE_IEEEFP_H
43439                       #include <ieeefp.h>
43440                       #endif
43441
43442 int
43443 main ()
43444 {
43445  sqrtl(0);
43446   ;
43447   return 0;
43448 }
43449 _ACEOF
43450 if ac_fn_cxx_try_compile "$LINENO"; then :
43451   glibcxx_cv_func_sqrtl_use=yes
43452 else
43453   glibcxx_cv_func_sqrtl_use=no
43454 fi
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456       ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461
43462
43463 fi
43464
43465   fi
43466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43467 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43468
43469   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43470     for ac_func in sqrtl
43471 do :
43472   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43473 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43474   cat >>confdefs.h <<_ACEOF
43475 #define HAVE_SQRTL 1
43476 _ACEOF
43477
43478 fi
43479 done
43480
43481   else
43482
43483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43484 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43485   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43486     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43487   $as_echo_n "(cached) " >&6
43488 else
43489
43490
43491       ac_ext=cpp
43492 ac_cpp='$CXXCPP $CPPFLAGS'
43493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43496
43497       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43498 /* end confdefs.h.  */
43499 #include <math.h>
43500                       #ifdef HAVE_IEEEFP_H
43501                       #include <ieeefp.h>
43502                       #endif
43503
43504 int
43505 main ()
43506 {
43507  _sqrtl(0);
43508   ;
43509   return 0;
43510 }
43511 _ACEOF
43512 if ac_fn_cxx_try_compile "$LINENO"; then :
43513   glibcxx_cv_func__sqrtl_use=yes
43514 else
43515   glibcxx_cv_func__sqrtl_use=no
43516 fi
43517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43518       ac_ext=c
43519 ac_cpp='$CPP $CPPFLAGS'
43520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43523
43524
43525 fi
43526
43527   fi
43528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43529 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43530
43531     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43532       for ac_func in _sqrtl
43533 do :
43534   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43535 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43536   cat >>confdefs.h <<_ACEOF
43537 #define HAVE__SQRTL 1
43538 _ACEOF
43539
43540 fi
43541 done
43542
43543     fi
43544   fi
43545
43546
43547
43548
43549
43550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43551 $as_echo_n "checking for sincosl declaration... " >&6; }
43552   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43553     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43554   $as_echo_n "(cached) " >&6
43555 else
43556
43557
43558       ac_ext=cpp
43559 ac_cpp='$CXXCPP $CPPFLAGS'
43560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43563
43564       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43565 /* end confdefs.h.  */
43566 #include <math.h>
43567 int
43568 main ()
43569 {
43570  sincosl(0, 0, 0);
43571   ;
43572   return 0;
43573 }
43574 _ACEOF
43575 if ac_fn_cxx_try_compile "$LINENO"; then :
43576   glibcxx_cv_func_sincosl_use=yes
43577 else
43578   glibcxx_cv_func_sincosl_use=no
43579 fi
43580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43581       ac_ext=c
43582 ac_cpp='$CPP $CPPFLAGS'
43583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43586
43587
43588 fi
43589
43590   fi
43591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43592 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43593
43594   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43595     for ac_func in sincosl
43596 do :
43597   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43598 if test "x$ac_cv_func_sincosl" = x""yes; then :
43599   cat >>confdefs.h <<_ACEOF
43600 #define HAVE_SINCOSL 1
43601 _ACEOF
43602
43603 fi
43604 done
43605
43606   else
43607
43608   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43609 $as_echo_n "checking for _sincosl declaration... " >&6; }
43610   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43611     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43612   $as_echo_n "(cached) " >&6
43613 else
43614
43615
43616       ac_ext=cpp
43617 ac_cpp='$CXXCPP $CPPFLAGS'
43618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43621
43622       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43623 /* end confdefs.h.  */
43624 #include <math.h>
43625 int
43626 main ()
43627 {
43628  _sincosl(0, 0, 0);
43629   ;
43630   return 0;
43631 }
43632 _ACEOF
43633 if ac_fn_cxx_try_compile "$LINENO"; then :
43634   glibcxx_cv_func__sincosl_use=yes
43635 else
43636   glibcxx_cv_func__sincosl_use=no
43637 fi
43638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43639       ac_ext=c
43640 ac_cpp='$CPP $CPPFLAGS'
43641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43644
43645
43646 fi
43647
43648   fi
43649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43650 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43651
43652     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43653       for ac_func in _sincosl
43654 do :
43655   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43656 if test "x$ac_cv_func__sincosl" = x""yes; then :
43657   cat >>confdefs.h <<_ACEOF
43658 #define HAVE__SINCOSL 1
43659 _ACEOF
43660
43661 fi
43662 done
43663
43664     fi
43665   fi
43666
43667
43668
43669
43670
43671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43672 $as_echo_n "checking for finitel declaration... " >&6; }
43673   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43674     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43675   $as_echo_n "(cached) " >&6
43676 else
43677
43678
43679       ac_ext=cpp
43680 ac_cpp='$CXXCPP $CPPFLAGS'
43681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43684
43685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43686 /* end confdefs.h.  */
43687 #include <math.h>
43688                       #ifdef HAVE_IEEEFP_H
43689                       #include <ieeefp.h>
43690                       #endif
43691
43692 int
43693 main ()
43694 {
43695  finitel(0);
43696   ;
43697   return 0;
43698 }
43699 _ACEOF
43700 if ac_fn_cxx_try_compile "$LINENO"; then :
43701   glibcxx_cv_func_finitel_use=yes
43702 else
43703   glibcxx_cv_func_finitel_use=no
43704 fi
43705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43706       ac_ext=c
43707 ac_cpp='$CPP $CPPFLAGS'
43708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43711
43712
43713 fi
43714
43715   fi
43716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43717 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43718
43719   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43720     for ac_func in finitel
43721 do :
43722   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43723 if test "x$ac_cv_func_finitel" = x""yes; then :
43724   cat >>confdefs.h <<_ACEOF
43725 #define HAVE_FINITEL 1
43726 _ACEOF
43727
43728 fi
43729 done
43730
43731   else
43732
43733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43734 $as_echo_n "checking for _finitel declaration... " >&6; }
43735   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43736     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43737   $as_echo_n "(cached) " >&6
43738 else
43739
43740
43741       ac_ext=cpp
43742 ac_cpp='$CXXCPP $CPPFLAGS'
43743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43746
43747       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43748 /* end confdefs.h.  */
43749 #include <math.h>
43750                       #ifdef HAVE_IEEEFP_H
43751                       #include <ieeefp.h>
43752                       #endif
43753
43754 int
43755 main ()
43756 {
43757  _finitel(0);
43758   ;
43759   return 0;
43760 }
43761 _ACEOF
43762 if ac_fn_cxx_try_compile "$LINENO"; then :
43763   glibcxx_cv_func__finitel_use=yes
43764 else
43765   glibcxx_cv_func__finitel_use=no
43766 fi
43767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43768       ac_ext=c
43769 ac_cpp='$CPP $CPPFLAGS'
43770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43773
43774
43775 fi
43776
43777   fi
43778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43779 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43780
43781     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43782       for ac_func in _finitel
43783 do :
43784   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43785 if test "x$ac_cv_func__finitel" = x""yes; then :
43786   cat >>confdefs.h <<_ACEOF
43787 #define HAVE__FINITEL 1
43788 _ACEOF
43789
43790 fi
43791 done
43792
43793     fi
43794   fi
43795
43796
43797
43798
43799   LIBS="$ac_save_LIBS"
43800   CXXFLAGS="$ac_save_CXXFLAGS"
43801
43802
43803   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43804   ac_save_CXXFLAGS="$CXXFLAGS"
43805   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43806
43807
43808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43809 $as_echo_n "checking for strtold declaration... " >&6; }
43810   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43811     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
43812   $as_echo_n "(cached) " >&6
43813 else
43814
43815
43816       ac_ext=cpp
43817 ac_cpp='$CXXCPP $CPPFLAGS'
43818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43821
43822       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43823 /* end confdefs.h.  */
43824 #include <stdlib.h>
43825 int
43826 main ()
43827 {
43828  strtold(0, 0);
43829   ;
43830   return 0;
43831 }
43832 _ACEOF
43833 if ac_fn_cxx_try_compile "$LINENO"; then :
43834   glibcxx_cv_func_strtold_use=yes
43835 else
43836   glibcxx_cv_func_strtold_use=no
43837 fi
43838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43839       ac_ext=c
43840 ac_cpp='$CPP $CPPFLAGS'
43841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43844
43845
43846 fi
43847
43848   fi
43849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
43850 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43851   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43852     for ac_func in strtold
43853 do :
43854   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43855 if test "x$ac_cv_func_strtold" = x""yes; then :
43856   cat >>confdefs.h <<_ACEOF
43857 #define HAVE_STRTOLD 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863   fi
43864
43865
43866
43867
43868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43869 $as_echo_n "checking for strtof declaration... " >&6; }
43870   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43871     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43872   $as_echo_n "(cached) " >&6
43873 else
43874
43875
43876       ac_ext=cpp
43877 ac_cpp='$CXXCPP $CPPFLAGS'
43878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43881
43882       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43883 /* end confdefs.h.  */
43884 #include <stdlib.h>
43885 int
43886 main ()
43887 {
43888  strtof(0, 0);
43889   ;
43890   return 0;
43891 }
43892 _ACEOF
43893 if ac_fn_cxx_try_compile "$LINENO"; then :
43894   glibcxx_cv_func_strtof_use=yes
43895 else
43896   glibcxx_cv_func_strtof_use=no
43897 fi
43898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43899       ac_ext=c
43900 ac_cpp='$CPP $CPPFLAGS'
43901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43904
43905
43906 fi
43907
43908   fi
43909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43910 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43911   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43912     for ac_func in strtof
43913 do :
43914   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43915 if test "x$ac_cv_func_strtof" = x""yes; then :
43916   cat >>confdefs.h <<_ACEOF
43917 #define HAVE_STRTOF 1
43918 _ACEOF
43919
43920 fi
43921 done
43922
43923   fi
43924
43925
43926
43927
43928   CXXFLAGS="$ac_save_CXXFLAGS"
43929
43930     ;;
43931
43932   *djgpp)
43933     # GLIBCXX_CHECK_MATH_SUPPORT
43934     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43935
43936     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43937
43938     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43939
43940     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43941
43942     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43943
43944     ;;
43945
43946   *-freebsd*)
43947     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43948
43949
43950   # If we're not using GNU ld, then there's no point in even trying these
43951   # tests.  Check for that first.  We should have already tested for gld
43952   # by now (in libtool), but require it now just to be safe...
43953   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43954   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43955
43956
43957
43958   # The name set by libtool depends on the version of libtool.  Shame on us
43959   # for depending on an impl detail, but c'est la vie.  Older versions used
43960   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43961   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43962   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43963   # set (hence we're using an older libtool), then set it.
43964   if test x${with_gnu_ld+set} != xset; then
43965     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43966       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43967       with_gnu_ld=no
43968     else
43969       with_gnu_ld=$ac_cv_prog_gnu_ld
43970     fi
43971   fi
43972
43973   # Start by getting the version number.  I think the libtool test already
43974   # does some of this, but throws away the result.
43975   glibcxx_ld_is_gold=no
43976   if test x"$with_gnu_ld" = x"yes"; then
43977     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43978 $as_echo_n "checking for ld version... " >&6; }
43979
43980     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43981       glibcxx_ld_is_gold=yes
43982     fi
43983     ldver=`$LD --version 2>/dev/null |
43984            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'`
43985
43986     glibcxx_gnu_ld_version=`echo $ldver | \
43987            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43988     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43989 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43990   fi
43991
43992   # Set --gc-sections.
43993   glibcxx_have_gc_sections=no
43994   if test "$glibcxx_ld_is_gold" = "yes"; then
43995     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43996       glibcxx_have_gc_sections=yes
43997     fi
43998   else
43999     glibcxx_gcsections_min_ld=21602
44000     if test x"$with_gnu_ld" = x"yes" &&
44001         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44002       glibcxx_have_gc_sections=yes
44003     fi
44004   fi
44005   if test "$glibcxx_have_gc_sections" = "yes"; then
44006     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44007     # NB: This flag only works reliably after 2.16.1. Configure tests
44008     # for this are difficult, so hard wire a value that should work.
44009
44010     ac_test_CFLAGS="${CFLAGS+set}"
44011     ac_save_CFLAGS="$CFLAGS"
44012     CFLAGS='-Wl,--gc-sections'
44013
44014     # Check for -Wl,--gc-sections
44015     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44016 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44017     if test x$gcc_no_link = xyes; then
44018   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44019 fi
44020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44021 /* end confdefs.h.  */
44022  int one(void) { return 1; }
44023      int two(void) { return 2; }
44024
44025 int
44026 main ()
44027 {
44028  two();
44029   ;
44030   return 0;
44031 }
44032 _ACEOF
44033 if ac_fn_c_try_link "$LINENO"; then :
44034   ac_gcsections=yes
44035 else
44036   ac_gcsections=no
44037 fi
44038 rm -f core conftest.err conftest.$ac_objext \
44039     conftest$ac_exeext conftest.$ac_ext
44040     if test "$ac_gcsections" = "yes"; then
44041       rm -f conftest.c
44042       touch conftest.c
44043       if $CC -c conftest.c; then
44044         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44045            grep "Warning: gc-sections option ignored" > /dev/null; then
44046           ac_gcsections=no
44047         fi
44048       fi
44049       rm -f conftest.c conftest.o conftest
44050     fi
44051     if test "$ac_gcsections" = "yes"; then
44052       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44053     fi
44054     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44055 $as_echo "$ac_gcsections" >&6; }
44056
44057     if test "$ac_test_CFLAGS" = set; then
44058       CFLAGS="$ac_save_CFLAGS"
44059     else
44060       # this is the suspicious part
44061       CFLAGS=''
44062     fi
44063   fi
44064
44065   # Set -z,relro.
44066   # Note this is only for shared objects.
44067   ac_ld_relro=no
44068   if test x"$with_gnu_ld" = x"yes"; then
44069     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44070 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44071     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44072     if test -n "$cxx_z_relo"; then
44073       OPT_LDFLAGS="-Wl,-z,relro"
44074       ac_ld_relro=yes
44075     fi
44076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44077 $as_echo "$ac_ld_relro" >&6; }
44078   fi
44079
44080   # Set linker optimization flags.
44081   if test x"$with_gnu_ld" = x"yes"; then
44082     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44083   fi
44084
44085
44086
44087
44088     $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44089
44090     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44091
44092     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44093
44094     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44095
44096     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44097
44098     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44099
44100     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44101
44102     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44103
44104     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44105
44106
44107     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44108
44109     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44110
44111     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44112
44113     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44114
44115     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44116
44117     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44118
44119     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44120
44121     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44122
44123     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44124
44125     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44126
44127     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44128
44129     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44130
44131     $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44132
44133     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44134
44135     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44136
44137     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44138
44139     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44140
44141     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44142
44143     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44144
44145     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44146
44147     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44148
44149     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44150
44151     if test x"long_double_math_on_this_cpu" = x"yes"; then
44152       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44153
44154       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44155
44156       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44157
44158     fi
44159     ;;
44160   *-hpux*)
44161     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44162
44163
44164   # If we're not using GNU ld, then there's no point in even trying these
44165   # tests.  Check for that first.  We should have already tested for gld
44166   # by now (in libtool), but require it now just to be safe...
44167   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44168   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44169
44170
44171
44172   # The name set by libtool depends on the version of libtool.  Shame on us
44173   # for depending on an impl detail, but c'est la vie.  Older versions used
44174   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44175   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44176   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44177   # set (hence we're using an older libtool), then set it.
44178   if test x${with_gnu_ld+set} != xset; then
44179     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44180       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44181       with_gnu_ld=no
44182     else
44183       with_gnu_ld=$ac_cv_prog_gnu_ld
44184     fi
44185   fi
44186
44187   # Start by getting the version number.  I think the libtool test already
44188   # does some of this, but throws away the result.
44189   glibcxx_ld_is_gold=no
44190   if test x"$with_gnu_ld" = x"yes"; then
44191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44192 $as_echo_n "checking for ld version... " >&6; }
44193
44194     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44195       glibcxx_ld_is_gold=yes
44196     fi
44197     ldver=`$LD --version 2>/dev/null |
44198            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'`
44199
44200     glibcxx_gnu_ld_version=`echo $ldver | \
44201            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44203 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44204   fi
44205
44206   # Set --gc-sections.
44207   glibcxx_have_gc_sections=no
44208   if test "$glibcxx_ld_is_gold" = "yes"; then
44209     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44210       glibcxx_have_gc_sections=yes
44211     fi
44212   else
44213     glibcxx_gcsections_min_ld=21602
44214     if test x"$with_gnu_ld" = x"yes" &&
44215         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44216       glibcxx_have_gc_sections=yes
44217     fi
44218   fi
44219   if test "$glibcxx_have_gc_sections" = "yes"; then
44220     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44221     # NB: This flag only works reliably after 2.16.1. Configure tests
44222     # for this are difficult, so hard wire a value that should work.
44223
44224     ac_test_CFLAGS="${CFLAGS+set}"
44225     ac_save_CFLAGS="$CFLAGS"
44226     CFLAGS='-Wl,--gc-sections'
44227
44228     # Check for -Wl,--gc-sections
44229     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44230 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44231     if test x$gcc_no_link = xyes; then
44232   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44233 fi
44234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44235 /* end confdefs.h.  */
44236  int one(void) { return 1; }
44237      int two(void) { return 2; }
44238
44239 int
44240 main ()
44241 {
44242  two();
44243   ;
44244   return 0;
44245 }
44246 _ACEOF
44247 if ac_fn_c_try_link "$LINENO"; then :
44248   ac_gcsections=yes
44249 else
44250   ac_gcsections=no
44251 fi
44252 rm -f core conftest.err conftest.$ac_objext \
44253     conftest$ac_exeext conftest.$ac_ext
44254     if test "$ac_gcsections" = "yes"; then
44255       rm -f conftest.c
44256       touch conftest.c
44257       if $CC -c conftest.c; then
44258         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44259            grep "Warning: gc-sections option ignored" > /dev/null; then
44260           ac_gcsections=no
44261         fi
44262       fi
44263       rm -f conftest.c conftest.o conftest
44264     fi
44265     if test "$ac_gcsections" = "yes"; then
44266       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44267     fi
44268     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44269 $as_echo "$ac_gcsections" >&6; }
44270
44271     if test "$ac_test_CFLAGS" = set; then
44272       CFLAGS="$ac_save_CFLAGS"
44273     else
44274       # this is the suspicious part
44275       CFLAGS=''
44276     fi
44277   fi
44278
44279   # Set -z,relro.
44280   # Note this is only for shared objects.
44281   ac_ld_relro=no
44282   if test x"$with_gnu_ld" = x"yes"; then
44283     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44284 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44285     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44286     if test -n "$cxx_z_relo"; then
44287       OPT_LDFLAGS="-Wl,-z,relro"
44288       ac_ld_relro=yes
44289     fi
44290     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44291 $as_echo "$ac_ld_relro" >&6; }
44292   fi
44293
44294   # Set linker optimization flags.
44295   if test x"$with_gnu_ld" = x"yes"; then
44296     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44297   fi
44298
44299
44300
44301
44302
44303     # GLIBCXX_CHECK_MATH_SUPPORT
44304     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44305
44306     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44307
44308     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44309
44310     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44311
44312     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44313
44314     $as_echo "#define HAVE_COSF 1" >>confdefs.h
44315
44316     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44317
44318     $as_echo "#define HAVE_SINF 1" >>confdefs.h
44319
44320     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44321
44322     $as_echo "#define HAVE_TANF 1" >>confdefs.h
44323
44324     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44325
44326     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44327
44328     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44329
44330     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44331
44332     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44333
44334     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44335
44336     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44337
44338     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44339
44340     $as_echo "#define HAVE_MODF 1" >>confdefs.h
44341
44342     $as_echo "#define HAVE_POWF 1" >>confdefs.h
44343
44344     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44345
44346
44347     # GLIBCXX_CHECK_STDLIB_SUPPORT
44348     $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44349
44350
44351
44352
44353    # Check whether --enable-tls was given.
44354 if test "${enable_tls+set}" = set; then :
44355   enableval=$enable_tls;
44356       case "$enableval" in
44357        yes|no) ;;
44358        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44359       esac
44360
44361 else
44362   enable_tls=yes
44363 fi
44364
44365
44366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44367 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44368 if test "${gcc_cv_have_tls+set}" = set; then :
44369   $as_echo_n "(cached) " >&6
44370 else
44371
44372     if test "$cross_compiling" = yes; then :
44373                 if test x$gcc_no_link = xyes; then
44374   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44375 fi
44376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h.  */
44378 __thread int a; int b; int main() { return a = b; }
44379 _ACEOF
44380 if ac_fn_c_try_link "$LINENO"; then :
44381   chktls_save_LDFLAGS="$LDFLAGS"
44382                           case $host in
44383             *-*-linux*)
44384               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44385               ;;
44386           esac
44387           chktls_save_CFLAGS="$CFLAGS"
44388           CFLAGS="-fPIC $CFLAGS"
44389                   if test x$gcc_no_link = xyes; then
44390   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44391 fi
44392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44393 /* end confdefs.h.  */
44394 int f() { return 0; }
44395 _ACEOF
44396 if ac_fn_c_try_link "$LINENO"; then :
44397   if test x$gcc_no_link = xyes; then
44398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44399 fi
44400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44401 /* end confdefs.h.  */
44402 __thread int a; int b; int f() { return a = b; }
44403 _ACEOF
44404 if ac_fn_c_try_link "$LINENO"; then :
44405   gcc_cv_have_tls=yes
44406 else
44407   gcc_cv_have_tls=no
44408 fi
44409 rm -f core conftest.err conftest.$ac_objext \
44410     conftest$ac_exeext conftest.$ac_ext
44411 else
44412   gcc_cv_have_tls=yes
44413 fi
44414 rm -f core conftest.err conftest.$ac_objext \
44415     conftest$ac_exeext conftest.$ac_ext
44416           CFLAGS="$chktls_save_CFLAGS"
44417           LDFLAGS="$chktls_save_LDFLAGS"
44418 else
44419   gcc_cv_have_tls=no
44420 fi
44421 rm -f core conftest.err conftest.$ac_objext \
44422     conftest$ac_exeext conftest.$ac_ext
44423
44424
44425 else
44426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44427 /* end confdefs.h.  */
44428 __thread int a; int b; int main() { return a = b; }
44429 _ACEOF
44430 if ac_fn_c_try_run "$LINENO"; then :
44431                       chktls_save_LDFLAGS="$LDFLAGS"
44432       LDFLAGS="-static $LDFLAGS"
44433       if test x$gcc_no_link = xyes; then
44434   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44435 fi
44436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h.  */
44438 int main() { return 0; }
44439 _ACEOF
44440 if ac_fn_c_try_link "$LINENO"; then :
44441   if test "$cross_compiling" = yes; then :
44442   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44443 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44444 as_fn_error "cannot run test program while cross compiling
44445 See \`config.log' for more details." "$LINENO" 5; }
44446 else
44447   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44448 /* end confdefs.h.  */
44449 __thread int a; int b; int main() { return a = b; }
44450 _ACEOF
44451 if ac_fn_c_try_run "$LINENO"; then :
44452   gcc_cv_have_tls=yes
44453 else
44454   gcc_cv_have_tls=no
44455 fi
44456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44457   conftest.$ac_objext conftest.beam conftest.$ac_ext
44458 fi
44459
44460 else
44461   gcc_cv_have_tls=yes
44462 fi
44463 rm -f core conftest.err conftest.$ac_objext \
44464     conftest$ac_exeext conftest.$ac_ext
44465       LDFLAGS="$chktls_save_LDFLAGS"
44466       if test $gcc_cv_have_tls = yes; then
44467                                                 chktls_save_CFLAGS="$CFLAGS"
44468         thread_CFLAGS=failed
44469         for flag in '' '-pthread' '-lpthread'; do
44470           CFLAGS="$flag $chktls_save_CFLAGS"
44471           if test x$gcc_no_link = xyes; then
44472   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44473 fi
44474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44475 /* end confdefs.h.  */
44476 #include <pthread.h>
44477                 void *g(void *d) { return NULL; }
44478 int
44479 main ()
44480 {
44481 pthread_t t; pthread_create(&t,NULL,g,NULL);
44482   ;
44483   return 0;
44484 }
44485 _ACEOF
44486 if ac_fn_c_try_link "$LINENO"; then :
44487   thread_CFLAGS="$flag"
44488 fi
44489 rm -f core conftest.err conftest.$ac_objext \
44490     conftest$ac_exeext conftest.$ac_ext
44491           if test "X$thread_CFLAGS" != Xfailed; then
44492             break
44493           fi
44494         done
44495         CFLAGS="$chktls_save_CFLAGS"
44496         if test "X$thread_CFLAGS" != Xfailed; then
44497           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44498           if test "$cross_compiling" = yes; then :
44499   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44500 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44501 as_fn_error "cannot run test program while cross compiling
44502 See \`config.log' for more details." "$LINENO" 5; }
44503 else
44504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44505 /* end confdefs.h.  */
44506 #include <pthread.h>
44507                 __thread int a;
44508                 static int *a_in_other_thread;
44509                 static void *
44510                 thread_func (void *arg)
44511                 {
44512                   a_in_other_thread = &a;
44513                   return (void *)0;
44514                 }
44515 int
44516 main ()
44517 {
44518 pthread_t thread;
44519                 void *thread_retval;
44520                 int *a_in_main_thread;
44521                 if (pthread_create (&thread, (pthread_attr_t *)0,
44522                                     thread_func, (void *)0))
44523                   return 0;
44524                 a_in_main_thread = &a;
44525                 if (pthread_join (thread, &thread_retval))
44526                   return 0;
44527                 return (a_in_other_thread == a_in_main_thread);
44528   ;
44529   return 0;
44530 }
44531 _ACEOF
44532 if ac_fn_c_try_run "$LINENO"; then :
44533   gcc_cv_have_tls=yes
44534 else
44535   gcc_cv_have_tls=no
44536 fi
44537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44538   conftest.$ac_objext conftest.beam conftest.$ac_ext
44539 fi
44540
44541           CFLAGS="$chktls_save_CFLAGS"
44542         fi
44543       fi
44544 else
44545   gcc_cv_have_tls=no
44546 fi
44547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44548   conftest.$ac_objext conftest.beam conftest.$ac_ext
44549 fi
44550
44551 fi
44552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44553 $as_echo "$gcc_cv_have_tls" >&6; }
44554   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44555
44556 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44557
44558   fi
44559     case "$target" in
44560       *-hpux10*)
44561         $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44562
44563         $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44564
44565         $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44566
44567         $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44568
44569         $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44570
44571         ;;
44572     esac
44573     ;;
44574   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44575
44576   # All these tests are for C++; save the language and the compiler flags.
44577   # The CXXFLAGS thing is suspicious, but based on similar bits previously
44578   # found in GLIBCXX_CONFIGURE.
44579
44580   ac_ext=cpp
44581 ac_cpp='$CXXCPP $CPPFLAGS'
44582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44585
44586   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44587   ac_save_CXXFLAGS="$CXXFLAGS"
44588
44589   # Check for maintainer-mode bits.
44590   if test x"$USE_MAINTAINER_MODE" = xno; then
44591     WERROR=''
44592   else
44593     WERROR='-Werror'
44594   fi
44595
44596   # Check for -ffunction-sections -fdata-sections
44597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44598 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44599   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44601 /* end confdefs.h.  */
44602 int foo; void bar() { };
44603 int
44604 main ()
44605 {
44606
44607   ;
44608   return 0;
44609 }
44610 _ACEOF
44611 if ac_fn_cxx_try_compile "$LINENO"; then :
44612   ac_fdsections=yes
44613 else
44614   ac_fdsections=no
44615 fi
44616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44617   if test "$ac_test_CXXFLAGS" = set; then
44618     CXXFLAGS="$ac_save_CXXFLAGS"
44619   else
44620     # this is the suspicious part
44621     CXXFLAGS=''
44622   fi
44623   if test x"$ac_fdsections" = x"yes"; then
44624     SECTION_FLAGS='-ffunction-sections -fdata-sections'
44625   fi
44626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44627 $as_echo "$ac_fdsections" >&6; }
44628
44629   ac_ext=c
44630 ac_cpp='$CPP $CPPFLAGS'
44631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44634
44635
44636
44637
44638
44639   # If we're not using GNU ld, then there's no point in even trying these
44640   # tests.  Check for that first.  We should have already tested for gld
44641   # by now (in libtool), but require it now just to be safe...
44642   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44643   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44644
44645
44646
44647   # The name set by libtool depends on the version of libtool.  Shame on us
44648   # for depending on an impl detail, but c'est la vie.  Older versions used
44649   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44650   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44651   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
44652   # set (hence we're using an older libtool), then set it.
44653   if test x${with_gnu_ld+set} != xset; then
44654     if test x${ac_cv_prog_gnu_ld+set} != xset; then
44655       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
44656       with_gnu_ld=no
44657     else
44658       with_gnu_ld=$ac_cv_prog_gnu_ld
44659     fi
44660   fi
44661
44662   # Start by getting the version number.  I think the libtool test already
44663   # does some of this, but throws away the result.
44664   glibcxx_ld_is_gold=no
44665   if test x"$with_gnu_ld" = x"yes"; then
44666     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44667 $as_echo_n "checking for ld version... " >&6; }
44668
44669     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44670       glibcxx_ld_is_gold=yes
44671     fi
44672     ldver=`$LD --version 2>/dev/null |
44673            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'`
44674
44675     glibcxx_gnu_ld_version=`echo $ldver | \
44676            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44677     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44678 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44679   fi
44680
44681   # Set --gc-sections.
44682   glibcxx_have_gc_sections=no
44683   if test "$glibcxx_ld_is_gold" = "yes"; then
44684     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44685       glibcxx_have_gc_sections=yes
44686     fi
44687   else
44688     glibcxx_gcsections_min_ld=21602
44689     if test x"$with_gnu_ld" = x"yes" &&
44690         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44691       glibcxx_have_gc_sections=yes
44692     fi
44693   fi
44694   if test "$glibcxx_have_gc_sections" = "yes"; then
44695     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
44696     # NB: This flag only works reliably after 2.16.1. Configure tests
44697     # for this are difficult, so hard wire a value that should work.
44698
44699     ac_test_CFLAGS="${CFLAGS+set}"
44700     ac_save_CFLAGS="$CFLAGS"
44701     CFLAGS='-Wl,--gc-sections'
44702
44703     # Check for -Wl,--gc-sections
44704     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44705 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44706     if test x$gcc_no_link = xyes; then
44707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44708 fi
44709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44710 /* end confdefs.h.  */
44711  int one(void) { return 1; }
44712      int two(void) { return 2; }
44713
44714 int
44715 main ()
44716 {
44717  two();
44718   ;
44719   return 0;
44720 }
44721 _ACEOF
44722 if ac_fn_c_try_link "$LINENO"; then :
44723   ac_gcsections=yes
44724 else
44725   ac_gcsections=no
44726 fi
44727 rm -f core conftest.err conftest.$ac_objext \
44728     conftest$ac_exeext conftest.$ac_ext
44729     if test "$ac_gcsections" = "yes"; then
44730       rm -f conftest.c
44731       touch conftest.c
44732       if $CC -c conftest.c; then
44733         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44734            grep "Warning: gc-sections option ignored" > /dev/null; then
44735           ac_gcsections=no
44736         fi
44737       fi
44738       rm -f conftest.c conftest.o conftest
44739     fi
44740     if test "$ac_gcsections" = "yes"; then
44741       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44742     fi
44743     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44744 $as_echo "$ac_gcsections" >&6; }
44745
44746     if test "$ac_test_CFLAGS" = set; then
44747       CFLAGS="$ac_save_CFLAGS"
44748     else
44749       # this is the suspicious part
44750       CFLAGS=''
44751     fi
44752   fi
44753
44754   # Set -z,relro.
44755   # Note this is only for shared objects.
44756   ac_ld_relro=no
44757   if test x"$with_gnu_ld" = x"yes"; then
44758     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44759 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44760     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44761     if test -n "$cxx_z_relo"; then
44762       OPT_LDFLAGS="-Wl,-z,relro"
44763       ac_ld_relro=yes
44764     fi
44765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44766 $as_echo "$ac_ld_relro" >&6; }
44767   fi
44768
44769   # Set linker optimization flags.
44770   if test x"$with_gnu_ld" = x"yes"; then
44771     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44772   fi
44773
44774
44775
44776
44777
44778   ac_test_CXXFLAGS="${CXXFLAGS+set}"
44779   ac_save_CXXFLAGS="$CXXFLAGS"
44780   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44781
44782     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44783 $as_echo_n "checking for sin in -lm... " >&6; }
44784 if test "${ac_cv_lib_m_sin+set}" = set; then :
44785   $as_echo_n "(cached) " >&6
44786 else
44787   ac_check_lib_save_LIBS=$LIBS
44788 LIBS="-lm  $LIBS"
44789 if test x$gcc_no_link = xyes; then
44790   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44791 fi
44792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44793 /* end confdefs.h.  */
44794
44795 /* Override any GCC internal prototype to avoid an error.
44796    Use char because int might match the return type of a GCC
44797    builtin and then its argument prototype would still apply.  */
44798 #ifdef __cplusplus
44799 extern "C"
44800 #endif
44801 char sin ();
44802 int
44803 main ()
44804 {
44805 return sin ();
44806   ;
44807   return 0;
44808 }
44809 _ACEOF
44810 if ac_fn_c_try_link "$LINENO"; then :
44811   ac_cv_lib_m_sin=yes
44812 else
44813   ac_cv_lib_m_sin=no
44814 fi
44815 rm -f core conftest.err conftest.$ac_objext \
44816     conftest$ac_exeext conftest.$ac_ext
44817 LIBS=$ac_check_lib_save_LIBS
44818 fi
44819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44820 $as_echo "$ac_cv_lib_m_sin" >&6; }
44821 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44822   libm="-lm"
44823 fi
44824
44825   ac_save_LIBS="$LIBS"
44826   LIBS="$LIBS $libm"
44827
44828
44829
44830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44831 $as_echo_n "checking for isinf declaration... " >&6; }
44832   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44833     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44834   $as_echo_n "(cached) " >&6
44835 else
44836
44837
44838       ac_ext=cpp
44839 ac_cpp='$CXXCPP $CPPFLAGS'
44840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44843
44844       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44845 /* end confdefs.h.  */
44846 #include <math.h>
44847                       #ifdef HAVE_IEEEFP_H
44848                       #include <ieeefp.h>
44849                       #endif
44850
44851 int
44852 main ()
44853 {
44854  isinf(0);
44855   ;
44856   return 0;
44857 }
44858 _ACEOF
44859 if ac_fn_cxx_try_compile "$LINENO"; then :
44860   glibcxx_cv_func_isinf_use=yes
44861 else
44862   glibcxx_cv_func_isinf_use=no
44863 fi
44864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44865       ac_ext=c
44866 ac_cpp='$CPP $CPPFLAGS'
44867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44870
44871
44872 fi
44873
44874   fi
44875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44876 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44877
44878   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44879     for ac_func in isinf
44880 do :
44881   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44882 if test "x$ac_cv_func_isinf" = x""yes; then :
44883   cat >>confdefs.h <<_ACEOF
44884 #define HAVE_ISINF 1
44885 _ACEOF
44886
44887 fi
44888 done
44889
44890   else
44891
44892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44893 $as_echo_n "checking for _isinf declaration... " >&6; }
44894   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44895     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44896   $as_echo_n "(cached) " >&6
44897 else
44898
44899
44900       ac_ext=cpp
44901 ac_cpp='$CXXCPP $CPPFLAGS'
44902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44905
44906       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44907 /* end confdefs.h.  */
44908 #include <math.h>
44909                       #ifdef HAVE_IEEEFP_H
44910                       #include <ieeefp.h>
44911                       #endif
44912
44913 int
44914 main ()
44915 {
44916  _isinf(0);
44917   ;
44918   return 0;
44919 }
44920 _ACEOF
44921 if ac_fn_cxx_try_compile "$LINENO"; then :
44922   glibcxx_cv_func__isinf_use=yes
44923 else
44924   glibcxx_cv_func__isinf_use=no
44925 fi
44926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44927       ac_ext=c
44928 ac_cpp='$CPP $CPPFLAGS'
44929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44932
44933
44934 fi
44935
44936   fi
44937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44938 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44939
44940     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44941       for ac_func in _isinf
44942 do :
44943   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44944 if test "x$ac_cv_func__isinf" = x""yes; then :
44945   cat >>confdefs.h <<_ACEOF
44946 #define HAVE__ISINF 1
44947 _ACEOF
44948
44949 fi
44950 done
44951
44952     fi
44953   fi
44954
44955
44956
44957
44958
44959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44960 $as_echo_n "checking for isnan declaration... " >&6; }
44961   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44962     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44963   $as_echo_n "(cached) " >&6
44964 else
44965
44966
44967       ac_ext=cpp
44968 ac_cpp='$CXXCPP $CPPFLAGS'
44969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44972
44973       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44974 /* end confdefs.h.  */
44975 #include <math.h>
44976                       #ifdef HAVE_IEEEFP_H
44977                       #include <ieeefp.h>
44978                       #endif
44979
44980 int
44981 main ()
44982 {
44983  isnan(0);
44984   ;
44985   return 0;
44986 }
44987 _ACEOF
44988 if ac_fn_cxx_try_compile "$LINENO"; then :
44989   glibcxx_cv_func_isnan_use=yes
44990 else
44991   glibcxx_cv_func_isnan_use=no
44992 fi
44993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44994       ac_ext=c
44995 ac_cpp='$CPP $CPPFLAGS'
44996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44999
45000
45001 fi
45002
45003   fi
45004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45005 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45006
45007   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45008     for ac_func in isnan
45009 do :
45010   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45011 if test "x$ac_cv_func_isnan" = x""yes; then :
45012   cat >>confdefs.h <<_ACEOF
45013 #define HAVE_ISNAN 1
45014 _ACEOF
45015
45016 fi
45017 done
45018
45019   else
45020
45021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45022 $as_echo_n "checking for _isnan declaration... " >&6; }
45023   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45024     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45025   $as_echo_n "(cached) " >&6
45026 else
45027
45028
45029       ac_ext=cpp
45030 ac_cpp='$CXXCPP $CPPFLAGS'
45031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45034
45035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45036 /* end confdefs.h.  */
45037 #include <math.h>
45038                       #ifdef HAVE_IEEEFP_H
45039                       #include <ieeefp.h>
45040                       #endif
45041
45042 int
45043 main ()
45044 {
45045  _isnan(0);
45046   ;
45047   return 0;
45048 }
45049 _ACEOF
45050 if ac_fn_cxx_try_compile "$LINENO"; then :
45051   glibcxx_cv_func__isnan_use=yes
45052 else
45053   glibcxx_cv_func__isnan_use=no
45054 fi
45055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45056       ac_ext=c
45057 ac_cpp='$CPP $CPPFLAGS'
45058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45061
45062
45063 fi
45064
45065   fi
45066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45067 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45068
45069     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45070       for ac_func in _isnan
45071 do :
45072   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45073 if test "x$ac_cv_func__isnan" = x""yes; then :
45074   cat >>confdefs.h <<_ACEOF
45075 #define HAVE__ISNAN 1
45076 _ACEOF
45077
45078 fi
45079 done
45080
45081     fi
45082   fi
45083
45084
45085
45086
45087
45088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45089 $as_echo_n "checking for finite declaration... " >&6; }
45090   if test x${glibcxx_cv_func_finite_use+set} != xset; then
45091     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45092   $as_echo_n "(cached) " >&6
45093 else
45094
45095
45096       ac_ext=cpp
45097 ac_cpp='$CXXCPP $CPPFLAGS'
45098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45101
45102       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45103 /* end confdefs.h.  */
45104 #include <math.h>
45105                       #ifdef HAVE_IEEEFP_H
45106                       #include <ieeefp.h>
45107                       #endif
45108
45109 int
45110 main ()
45111 {
45112  finite(0);
45113   ;
45114   return 0;
45115 }
45116 _ACEOF
45117 if ac_fn_cxx_try_compile "$LINENO"; then :
45118   glibcxx_cv_func_finite_use=yes
45119 else
45120   glibcxx_cv_func_finite_use=no
45121 fi
45122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45123       ac_ext=c
45124 ac_cpp='$CPP $CPPFLAGS'
45125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45128
45129
45130 fi
45131
45132   fi
45133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45134 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45135
45136   if test x$glibcxx_cv_func_finite_use = x"yes"; then
45137     for ac_func in finite
45138 do :
45139   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45140 if test "x$ac_cv_func_finite" = x""yes; then :
45141   cat >>confdefs.h <<_ACEOF
45142 #define HAVE_FINITE 1
45143 _ACEOF
45144
45145 fi
45146 done
45147
45148   else
45149
45150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45151 $as_echo_n "checking for _finite declaration... " >&6; }
45152   if test x${glibcxx_cv_func__finite_use+set} != xset; then
45153     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45154   $as_echo_n "(cached) " >&6
45155 else
45156
45157
45158       ac_ext=cpp
45159 ac_cpp='$CXXCPP $CPPFLAGS'
45160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45163
45164       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45165 /* end confdefs.h.  */
45166 #include <math.h>
45167                       #ifdef HAVE_IEEEFP_H
45168                       #include <ieeefp.h>
45169                       #endif
45170
45171 int
45172 main ()
45173 {
45174  _finite(0);
45175   ;
45176   return 0;
45177 }
45178 _ACEOF
45179 if ac_fn_cxx_try_compile "$LINENO"; then :
45180   glibcxx_cv_func__finite_use=yes
45181 else
45182   glibcxx_cv_func__finite_use=no
45183 fi
45184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45185       ac_ext=c
45186 ac_cpp='$CPP $CPPFLAGS'
45187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45190
45191
45192 fi
45193
45194   fi
45195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45196 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45197
45198     if test x$glibcxx_cv_func__finite_use = x"yes"; then
45199       for ac_func in _finite
45200 do :
45201   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45202 if test "x$ac_cv_func__finite" = x""yes; then :
45203   cat >>confdefs.h <<_ACEOF
45204 #define HAVE__FINITE 1
45205 _ACEOF
45206
45207 fi
45208 done
45209
45210     fi
45211   fi
45212
45213
45214
45215
45216
45217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45218 $as_echo_n "checking for sincos declaration... " >&6; }
45219   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45220     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45221   $as_echo_n "(cached) " >&6
45222 else
45223
45224
45225       ac_ext=cpp
45226 ac_cpp='$CXXCPP $CPPFLAGS'
45227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45230
45231       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45232 /* end confdefs.h.  */
45233 #include <math.h>
45234 int
45235 main ()
45236 {
45237  sincos(0, 0, 0);
45238   ;
45239   return 0;
45240 }
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243   glibcxx_cv_func_sincos_use=yes
45244 else
45245   glibcxx_cv_func_sincos_use=no
45246 fi
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248       ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253
45254
45255 fi
45256
45257   fi
45258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45259 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45260
45261   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45262     for ac_func in sincos
45263 do :
45264   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45265 if test "x$ac_cv_func_sincos" = x""yes; then :
45266   cat >>confdefs.h <<_ACEOF
45267 #define HAVE_SINCOS 1
45268 _ACEOF
45269
45270 fi
45271 done
45272
45273   else
45274
45275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45276 $as_echo_n "checking for _sincos declaration... " >&6; }
45277   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45278     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45279   $as_echo_n "(cached) " >&6
45280 else
45281
45282
45283       ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45288
45289       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h.  */
45291 #include <math.h>
45292 int
45293 main ()
45294 {
45295  _sincos(0, 0, 0);
45296   ;
45297   return 0;
45298 }
45299 _ACEOF
45300 if ac_fn_cxx_try_compile "$LINENO"; then :
45301   glibcxx_cv_func__sincos_use=yes
45302 else
45303   glibcxx_cv_func__sincos_use=no
45304 fi
45305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45306       ac_ext=c
45307 ac_cpp='$CPP $CPPFLAGS'
45308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45311
45312
45313 fi
45314
45315   fi
45316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45317 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45318
45319     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45320       for ac_func in _sincos
45321 do :
45322   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45323 if test "x$ac_cv_func__sincos" = x""yes; then :
45324   cat >>confdefs.h <<_ACEOF
45325 #define HAVE__SINCOS 1
45326 _ACEOF
45327
45328 fi
45329 done
45330
45331     fi
45332   fi
45333
45334
45335
45336
45337
45338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45339 $as_echo_n "checking for fpclass declaration... " >&6; }
45340   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45341     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45342   $as_echo_n "(cached) " >&6
45343 else
45344
45345
45346       ac_ext=cpp
45347 ac_cpp='$CXXCPP $CPPFLAGS'
45348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45351
45352       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45353 /* end confdefs.h.  */
45354 #include <math.h>
45355                       #ifdef HAVE_IEEEFP_H
45356                       #include <ieeefp.h>
45357                       #endif
45358
45359 int
45360 main ()
45361 {
45362  fpclass(0);
45363   ;
45364   return 0;
45365 }
45366 _ACEOF
45367 if ac_fn_cxx_try_compile "$LINENO"; then :
45368   glibcxx_cv_func_fpclass_use=yes
45369 else
45370   glibcxx_cv_func_fpclass_use=no
45371 fi
45372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45373       ac_ext=c
45374 ac_cpp='$CPP $CPPFLAGS'
45375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45378
45379
45380 fi
45381
45382   fi
45383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45384 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45385
45386   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45387     for ac_func in fpclass
45388 do :
45389   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45390 if test "x$ac_cv_func_fpclass" = x""yes; then :
45391   cat >>confdefs.h <<_ACEOF
45392 #define HAVE_FPCLASS 1
45393 _ACEOF
45394
45395 fi
45396 done
45397
45398   else
45399
45400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45401 $as_echo_n "checking for _fpclass declaration... " >&6; }
45402   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45403     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45404   $as_echo_n "(cached) " >&6
45405 else
45406
45407
45408       ac_ext=cpp
45409 ac_cpp='$CXXCPP $CPPFLAGS'
45410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45413
45414       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45415 /* end confdefs.h.  */
45416 #include <math.h>
45417                       #ifdef HAVE_IEEEFP_H
45418                       #include <ieeefp.h>
45419                       #endif
45420
45421 int
45422 main ()
45423 {
45424  _fpclass(0);
45425   ;
45426   return 0;
45427 }
45428 _ACEOF
45429 if ac_fn_cxx_try_compile "$LINENO"; then :
45430   glibcxx_cv_func__fpclass_use=yes
45431 else
45432   glibcxx_cv_func__fpclass_use=no
45433 fi
45434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45435       ac_ext=c
45436 ac_cpp='$CPP $CPPFLAGS'
45437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45440
45441
45442 fi
45443
45444   fi
45445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45446 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45447
45448     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45449       for ac_func in _fpclass
45450 do :
45451   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45452 if test "x$ac_cv_func__fpclass" = x""yes; then :
45453   cat >>confdefs.h <<_ACEOF
45454 #define HAVE__FPCLASS 1
45455 _ACEOF
45456
45457 fi
45458 done
45459
45460     fi
45461   fi
45462
45463
45464
45465
45466
45467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45468 $as_echo_n "checking for qfpclass declaration... " >&6; }
45469   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45470     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45471   $as_echo_n "(cached) " >&6
45472 else
45473
45474
45475       ac_ext=cpp
45476 ac_cpp='$CXXCPP $CPPFLAGS'
45477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480
45481       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45482 /* end confdefs.h.  */
45483 #include <math.h>
45484                       #ifdef HAVE_IEEEFP_H
45485                       #include <ieeefp.h>
45486                       #endif
45487
45488 int
45489 main ()
45490 {
45491  qfpclass(0);
45492   ;
45493   return 0;
45494 }
45495 _ACEOF
45496 if ac_fn_cxx_try_compile "$LINENO"; then :
45497   glibcxx_cv_func_qfpclass_use=yes
45498 else
45499   glibcxx_cv_func_qfpclass_use=no
45500 fi
45501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45502       ac_ext=c
45503 ac_cpp='$CPP $CPPFLAGS'
45504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45507
45508
45509 fi
45510
45511   fi
45512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45513 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45514
45515   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45516     for ac_func in qfpclass
45517 do :
45518   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45519 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45520   cat >>confdefs.h <<_ACEOF
45521 #define HAVE_QFPCLASS 1
45522 _ACEOF
45523
45524 fi
45525 done
45526
45527   else
45528
45529   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45530 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45531   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45532     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45533   $as_echo_n "(cached) " >&6
45534 else
45535
45536
45537       ac_ext=cpp
45538 ac_cpp='$CXXCPP $CPPFLAGS'
45539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45542
45543       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45544 /* end confdefs.h.  */
45545 #include <math.h>
45546                       #ifdef HAVE_IEEEFP_H
45547                       #include <ieeefp.h>
45548                       #endif
45549
45550 int
45551 main ()
45552 {
45553  _qfpclass(0);
45554   ;
45555   return 0;
45556 }
45557 _ACEOF
45558 if ac_fn_cxx_try_compile "$LINENO"; then :
45559   glibcxx_cv_func__qfpclass_use=yes
45560 else
45561   glibcxx_cv_func__qfpclass_use=no
45562 fi
45563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45564       ac_ext=c
45565 ac_cpp='$CPP $CPPFLAGS'
45566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45569
45570
45571 fi
45572
45573   fi
45574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45575 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45576
45577     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45578       for ac_func in _qfpclass
45579 do :
45580   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45581 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45582   cat >>confdefs.h <<_ACEOF
45583 #define HAVE__QFPCLASS 1
45584 _ACEOF
45585
45586 fi
45587 done
45588
45589     fi
45590   fi
45591
45592
45593
45594
45595
45596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45597 $as_echo_n "checking for hypot declaration... " >&6; }
45598   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45599     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45600   $as_echo_n "(cached) " >&6
45601 else
45602
45603
45604       ac_ext=cpp
45605 ac_cpp='$CXXCPP $CPPFLAGS'
45606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45609
45610       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45611 /* end confdefs.h.  */
45612 #include <math.h>
45613 int
45614 main ()
45615 {
45616  hypot(0, 0);
45617   ;
45618   return 0;
45619 }
45620 _ACEOF
45621 if ac_fn_cxx_try_compile "$LINENO"; then :
45622   glibcxx_cv_func_hypot_use=yes
45623 else
45624   glibcxx_cv_func_hypot_use=no
45625 fi
45626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45627       ac_ext=c
45628 ac_cpp='$CPP $CPPFLAGS'
45629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45632
45633
45634 fi
45635
45636   fi
45637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45638 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45639
45640   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45641     for ac_func in hypot
45642 do :
45643   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45644 if test "x$ac_cv_func_hypot" = x""yes; then :
45645   cat >>confdefs.h <<_ACEOF
45646 #define HAVE_HYPOT 1
45647 _ACEOF
45648
45649 fi
45650 done
45651
45652   else
45653
45654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45655 $as_echo_n "checking for _hypot declaration... " >&6; }
45656   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45657     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45658   $as_echo_n "(cached) " >&6
45659 else
45660
45661
45662       ac_ext=cpp
45663 ac_cpp='$CXXCPP $CPPFLAGS'
45664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45667
45668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45669 /* end confdefs.h.  */
45670 #include <math.h>
45671 int
45672 main ()
45673 {
45674  _hypot(0, 0);
45675   ;
45676   return 0;
45677 }
45678 _ACEOF
45679 if ac_fn_cxx_try_compile "$LINENO"; then :
45680   glibcxx_cv_func__hypot_use=yes
45681 else
45682   glibcxx_cv_func__hypot_use=no
45683 fi
45684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45685       ac_ext=c
45686 ac_cpp='$CPP $CPPFLAGS'
45687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45690
45691
45692 fi
45693
45694   fi
45695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45696 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45697
45698     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45699       for ac_func in _hypot
45700 do :
45701   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45702 if test "x$ac_cv_func__hypot" = x""yes; then :
45703   cat >>confdefs.h <<_ACEOF
45704 #define HAVE__HYPOT 1
45705 _ACEOF
45706
45707 fi
45708 done
45709
45710     fi
45711   fi
45712
45713
45714
45715
45716
45717     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45718 $as_echo_n "checking for float trig functions... " >&6; }
45719   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45720   $as_echo_n "(cached) " >&6
45721 else
45722
45723
45724     ac_ext=cpp
45725 ac_cpp='$CXXCPP $CPPFLAGS'
45726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45729
45730     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45731 /* end confdefs.h.  */
45732 #include <math.h>
45733 int
45734 main ()
45735 {
45736 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45737   ;
45738   return 0;
45739 }
45740 _ACEOF
45741 if ac_fn_cxx_try_compile "$LINENO"; then :
45742   glibcxx_cv_func_float_trig_use=yes
45743 else
45744   glibcxx_cv_func_float_trig_use=no
45745 fi
45746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45747     ac_ext=c
45748 ac_cpp='$CPP $CPPFLAGS'
45749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45752
45753 fi
45754
45755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45756 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45757   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45758     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45759 do :
45760   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45762 eval as_val=\$$as_ac_var
45763    if test "x$as_val" = x""yes; then :
45764   cat >>confdefs.h <<_ACEOF
45765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45766 _ACEOF
45767
45768 fi
45769 done
45770
45771   else
45772     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45773 $as_echo_n "checking for _float trig functions... " >&6; }
45774     if test "${glibcxx_cv_func__float_trig_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 int
45789 main ()
45790 {
45791 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45792   ;
45793   return 0;
45794 }
45795 _ACEOF
45796 if ac_fn_cxx_try_compile "$LINENO"; then :
45797   glibcxx_cv_func__float_trig_use=yes
45798 else
45799   glibcxx_cv_func__float_trig_use=no
45800 fi
45801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45802       ac_ext=c
45803 ac_cpp='$CPP $CPPFLAGS'
45804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45807
45808 fi
45809
45810     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45811 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45812     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45813       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45814 do :
45815   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45817 eval as_val=\$$as_ac_var
45818    if test "x$as_val" = x""yes; then :
45819   cat >>confdefs.h <<_ACEOF
45820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45821 _ACEOF
45822
45823 fi
45824 done
45825
45826     fi
45827   fi
45828
45829
45830
45831
45832
45833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45834 $as_echo_n "checking for float round functions... " >&6; }
45835   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45836   $as_echo_n "(cached) " >&6
45837 else
45838
45839
45840     ac_ext=cpp
45841 ac_cpp='$CXXCPP $CPPFLAGS'
45842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45845
45846     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45847 /* end confdefs.h.  */
45848 #include <math.h>
45849 int
45850 main ()
45851 {
45852 ceilf (0); floorf (0);
45853   ;
45854   return 0;
45855 }
45856 _ACEOF
45857 if ac_fn_cxx_try_compile "$LINENO"; then :
45858   glibcxx_cv_func_float_round_use=yes
45859 else
45860   glibcxx_cv_func_float_round_use=no
45861 fi
45862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45863     ac_ext=c
45864 ac_cpp='$CPP $CPPFLAGS'
45865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45868
45869 fi
45870
45871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45872 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45873   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45874     for ac_func in ceilf floorf
45875 do :
45876   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45878 eval as_val=\$$as_ac_var
45879    if test "x$as_val" = x""yes; then :
45880   cat >>confdefs.h <<_ACEOF
45881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45882 _ACEOF
45883
45884 fi
45885 done
45886
45887   else
45888     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45889 $as_echo_n "checking for _float round functions... " >&6; }
45890     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45891   $as_echo_n "(cached) " >&6
45892 else
45893
45894
45895       ac_ext=cpp
45896 ac_cpp='$CXXCPP $CPPFLAGS'
45897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45900
45901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45902 /* end confdefs.h.  */
45903 #include <math.h>
45904 int
45905 main ()
45906 {
45907 _ceilf (0); _floorf (0);
45908   ;
45909   return 0;
45910 }
45911 _ACEOF
45912 if ac_fn_cxx_try_compile "$LINENO"; then :
45913   glibcxx_cv_func__float_round_use=yes
45914 else
45915   glibcxx_cv_func__float_round_use=no
45916 fi
45917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45918       ac_ext=c
45919 ac_cpp='$CPP $CPPFLAGS'
45920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45923
45924 fi
45925
45926     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45927 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45928     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45929       for ac_func in _ceilf _floorf
45930 do :
45931   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45933 eval as_val=\$$as_ac_var
45934    if test "x$as_val" = x""yes; then :
45935   cat >>confdefs.h <<_ACEOF
45936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45937 _ACEOF
45938
45939 fi
45940 done
45941
45942     fi
45943   fi
45944
45945
45946
45947
45948
45949
45950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45951 $as_echo_n "checking for expf declaration... " >&6; }
45952   if test x${glibcxx_cv_func_expf_use+set} != xset; then
45953     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45954   $as_echo_n "(cached) " >&6
45955 else
45956
45957
45958       ac_ext=cpp
45959 ac_cpp='$CXXCPP $CPPFLAGS'
45960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45963
45964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45965 /* end confdefs.h.  */
45966 #include <math.h>
45967                       #ifdef HAVE_IEEEFP_H
45968                       #include <ieeefp.h>
45969                       #endif
45970
45971 int
45972 main ()
45973 {
45974  expf(0);
45975   ;
45976   return 0;
45977 }
45978 _ACEOF
45979 if ac_fn_cxx_try_compile "$LINENO"; then :
45980   glibcxx_cv_func_expf_use=yes
45981 else
45982   glibcxx_cv_func_expf_use=no
45983 fi
45984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45985       ac_ext=c
45986 ac_cpp='$CPP $CPPFLAGS'
45987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45990
45991
45992 fi
45993
45994   fi
45995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45996 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45997
45998   if test x$glibcxx_cv_func_expf_use = x"yes"; then
45999     for ac_func in expf
46000 do :
46001   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46002 if test "x$ac_cv_func_expf" = x""yes; then :
46003   cat >>confdefs.h <<_ACEOF
46004 #define HAVE_EXPF 1
46005 _ACEOF
46006
46007 fi
46008 done
46009
46010   else
46011
46012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46013 $as_echo_n "checking for _expf declaration... " >&6; }
46014   if test x${glibcxx_cv_func__expf_use+set} != xset; then
46015     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46016   $as_echo_n "(cached) " >&6
46017 else
46018
46019
46020       ac_ext=cpp
46021 ac_cpp='$CXXCPP $CPPFLAGS'
46022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46025
46026       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46027 /* end confdefs.h.  */
46028 #include <math.h>
46029                       #ifdef HAVE_IEEEFP_H
46030                       #include <ieeefp.h>
46031                       #endif
46032
46033 int
46034 main ()
46035 {
46036  _expf(0);
46037   ;
46038   return 0;
46039 }
46040 _ACEOF
46041 if ac_fn_cxx_try_compile "$LINENO"; then :
46042   glibcxx_cv_func__expf_use=yes
46043 else
46044   glibcxx_cv_func__expf_use=no
46045 fi
46046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46047       ac_ext=c
46048 ac_cpp='$CPP $CPPFLAGS'
46049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46052
46053
46054 fi
46055
46056   fi
46057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46058 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46059
46060     if test x$glibcxx_cv_func__expf_use = x"yes"; then
46061       for ac_func in _expf
46062 do :
46063   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46064 if test "x$ac_cv_func__expf" = x""yes; then :
46065   cat >>confdefs.h <<_ACEOF
46066 #define HAVE__EXPF 1
46067 _ACEOF
46068
46069 fi
46070 done
46071
46072     fi
46073   fi
46074
46075
46076
46077
46078
46079   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46080 $as_echo_n "checking for isnanf declaration... " >&6; }
46081   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46082     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46083   $as_echo_n "(cached) " >&6
46084 else
46085
46086
46087       ac_ext=cpp
46088 ac_cpp='$CXXCPP $CPPFLAGS'
46089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46092
46093       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46094 /* end confdefs.h.  */
46095 #include <math.h>
46096                       #ifdef HAVE_IEEEFP_H
46097                       #include <ieeefp.h>
46098                       #endif
46099
46100 int
46101 main ()
46102 {
46103  isnanf(0);
46104   ;
46105   return 0;
46106 }
46107 _ACEOF
46108 if ac_fn_cxx_try_compile "$LINENO"; then :
46109   glibcxx_cv_func_isnanf_use=yes
46110 else
46111   glibcxx_cv_func_isnanf_use=no
46112 fi
46113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46114       ac_ext=c
46115 ac_cpp='$CPP $CPPFLAGS'
46116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46119
46120
46121 fi
46122
46123   fi
46124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46125 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46126
46127   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46128     for ac_func in isnanf
46129 do :
46130   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46131 if test "x$ac_cv_func_isnanf" = x""yes; then :
46132   cat >>confdefs.h <<_ACEOF
46133 #define HAVE_ISNANF 1
46134 _ACEOF
46135
46136 fi
46137 done
46138
46139   else
46140
46141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46142 $as_echo_n "checking for _isnanf declaration... " >&6; }
46143   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46144     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46145   $as_echo_n "(cached) " >&6
46146 else
46147
46148
46149       ac_ext=cpp
46150 ac_cpp='$CXXCPP $CPPFLAGS'
46151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46154
46155       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46156 /* end confdefs.h.  */
46157 #include <math.h>
46158                       #ifdef HAVE_IEEEFP_H
46159                       #include <ieeefp.h>
46160                       #endif
46161
46162 int
46163 main ()
46164 {
46165  _isnanf(0);
46166   ;
46167   return 0;
46168 }
46169 _ACEOF
46170 if ac_fn_cxx_try_compile "$LINENO"; then :
46171   glibcxx_cv_func__isnanf_use=yes
46172 else
46173   glibcxx_cv_func__isnanf_use=no
46174 fi
46175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46176       ac_ext=c
46177 ac_cpp='$CPP $CPPFLAGS'
46178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46181
46182
46183 fi
46184
46185   fi
46186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46187 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46188
46189     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46190       for ac_func in _isnanf
46191 do :
46192   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46193 if test "x$ac_cv_func__isnanf" = x""yes; then :
46194   cat >>confdefs.h <<_ACEOF
46195 #define HAVE__ISNANF 1
46196 _ACEOF
46197
46198 fi
46199 done
46200
46201     fi
46202   fi
46203
46204
46205
46206
46207
46208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46209 $as_echo_n "checking for isinff declaration... " >&6; }
46210   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46211     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46212   $as_echo_n "(cached) " >&6
46213 else
46214
46215
46216       ac_ext=cpp
46217 ac_cpp='$CXXCPP $CPPFLAGS'
46218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46221
46222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46223 /* end confdefs.h.  */
46224 #include <math.h>
46225                       #ifdef HAVE_IEEEFP_H
46226                       #include <ieeefp.h>
46227                       #endif
46228
46229 int
46230 main ()
46231 {
46232  isinff(0);
46233   ;
46234   return 0;
46235 }
46236 _ACEOF
46237 if ac_fn_cxx_try_compile "$LINENO"; then :
46238   glibcxx_cv_func_isinff_use=yes
46239 else
46240   glibcxx_cv_func_isinff_use=no
46241 fi
46242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46243       ac_ext=c
46244 ac_cpp='$CPP $CPPFLAGS'
46245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46248
46249
46250 fi
46251
46252   fi
46253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46254 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46255
46256   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46257     for ac_func in isinff
46258 do :
46259   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46260 if test "x$ac_cv_func_isinff" = x""yes; then :
46261   cat >>confdefs.h <<_ACEOF
46262 #define HAVE_ISINFF 1
46263 _ACEOF
46264
46265 fi
46266 done
46267
46268   else
46269
46270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46271 $as_echo_n "checking for _isinff declaration... " >&6; }
46272   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46273     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46274   $as_echo_n "(cached) " >&6
46275 else
46276
46277
46278       ac_ext=cpp
46279 ac_cpp='$CXXCPP $CPPFLAGS'
46280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46283
46284       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46285 /* end confdefs.h.  */
46286 #include <math.h>
46287                       #ifdef HAVE_IEEEFP_H
46288                       #include <ieeefp.h>
46289                       #endif
46290
46291 int
46292 main ()
46293 {
46294  _isinff(0);
46295   ;
46296   return 0;
46297 }
46298 _ACEOF
46299 if ac_fn_cxx_try_compile "$LINENO"; then :
46300   glibcxx_cv_func__isinff_use=yes
46301 else
46302   glibcxx_cv_func__isinff_use=no
46303 fi
46304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46305       ac_ext=c
46306 ac_cpp='$CPP $CPPFLAGS'
46307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310
46311
46312 fi
46313
46314   fi
46315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46316 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46317
46318     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46319       for ac_func in _isinff
46320 do :
46321   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46322 if test "x$ac_cv_func__isinff" = x""yes; then :
46323   cat >>confdefs.h <<_ACEOF
46324 #define HAVE__ISINFF 1
46325 _ACEOF
46326
46327 fi
46328 done
46329
46330     fi
46331   fi
46332
46333
46334
46335
46336
46337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46338 $as_echo_n "checking for atan2f declaration... " >&6; }
46339   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46340     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46341   $as_echo_n "(cached) " >&6
46342 else
46343
46344
46345       ac_ext=cpp
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350
46351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46352 /* end confdefs.h.  */
46353 #include <math.h>
46354 int
46355 main ()
46356 {
46357  atan2f(0, 0);
46358   ;
46359   return 0;
46360 }
46361 _ACEOF
46362 if ac_fn_cxx_try_compile "$LINENO"; then :
46363   glibcxx_cv_func_atan2f_use=yes
46364 else
46365   glibcxx_cv_func_atan2f_use=no
46366 fi
46367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46368       ac_ext=c
46369 ac_cpp='$CPP $CPPFLAGS'
46370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46373
46374
46375 fi
46376
46377   fi
46378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46379 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46380
46381   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46382     for ac_func in atan2f
46383 do :
46384   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46385 if test "x$ac_cv_func_atan2f" = x""yes; then :
46386   cat >>confdefs.h <<_ACEOF
46387 #define HAVE_ATAN2F 1
46388 _ACEOF
46389
46390 fi
46391 done
46392
46393   else
46394
46395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46396 $as_echo_n "checking for _atan2f declaration... " >&6; }
46397   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46398     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46399   $as_echo_n "(cached) " >&6
46400 else
46401
46402
46403       ac_ext=cpp
46404 ac_cpp='$CXXCPP $CPPFLAGS'
46405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408
46409       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46410 /* end confdefs.h.  */
46411 #include <math.h>
46412 int
46413 main ()
46414 {
46415  _atan2f(0, 0);
46416   ;
46417   return 0;
46418 }
46419 _ACEOF
46420 if ac_fn_cxx_try_compile "$LINENO"; then :
46421   glibcxx_cv_func__atan2f_use=yes
46422 else
46423   glibcxx_cv_func__atan2f_use=no
46424 fi
46425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46426       ac_ext=c
46427 ac_cpp='$CPP $CPPFLAGS'
46428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46431
46432
46433 fi
46434
46435   fi
46436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46437 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46438
46439     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46440       for ac_func in _atan2f
46441 do :
46442   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46443 if test "x$ac_cv_func__atan2f" = x""yes; then :
46444   cat >>confdefs.h <<_ACEOF
46445 #define HAVE__ATAN2F 1
46446 _ACEOF
46447
46448 fi
46449 done
46450
46451     fi
46452   fi
46453
46454
46455
46456
46457
46458   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46459 $as_echo_n "checking for fabsf declaration... " >&6; }
46460   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46461     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46462   $as_echo_n "(cached) " >&6
46463 else
46464
46465
46466       ac_ext=cpp
46467 ac_cpp='$CXXCPP $CPPFLAGS'
46468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46471
46472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46473 /* end confdefs.h.  */
46474 #include <math.h>
46475                       #ifdef HAVE_IEEEFP_H
46476                       #include <ieeefp.h>
46477                       #endif
46478
46479 int
46480 main ()
46481 {
46482  fabsf(0);
46483   ;
46484   return 0;
46485 }
46486 _ACEOF
46487 if ac_fn_cxx_try_compile "$LINENO"; then :
46488   glibcxx_cv_func_fabsf_use=yes
46489 else
46490   glibcxx_cv_func_fabsf_use=no
46491 fi
46492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46493       ac_ext=c
46494 ac_cpp='$CPP $CPPFLAGS'
46495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46498
46499
46500 fi
46501
46502   fi
46503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46504 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46505
46506   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46507     for ac_func in fabsf
46508 do :
46509   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46510 if test "x$ac_cv_func_fabsf" = x""yes; then :
46511   cat >>confdefs.h <<_ACEOF
46512 #define HAVE_FABSF 1
46513 _ACEOF
46514
46515 fi
46516 done
46517
46518   else
46519
46520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46521 $as_echo_n "checking for _fabsf declaration... " >&6; }
46522   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46523     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46524   $as_echo_n "(cached) " >&6
46525 else
46526
46527
46528       ac_ext=cpp
46529 ac_cpp='$CXXCPP $CPPFLAGS'
46530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533
46534       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46535 /* end confdefs.h.  */
46536 #include <math.h>
46537                       #ifdef HAVE_IEEEFP_H
46538                       #include <ieeefp.h>
46539                       #endif
46540
46541 int
46542 main ()
46543 {
46544  _fabsf(0);
46545   ;
46546   return 0;
46547 }
46548 _ACEOF
46549 if ac_fn_cxx_try_compile "$LINENO"; then :
46550   glibcxx_cv_func__fabsf_use=yes
46551 else
46552   glibcxx_cv_func__fabsf_use=no
46553 fi
46554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46555       ac_ext=c
46556 ac_cpp='$CPP $CPPFLAGS'
46557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46560
46561
46562 fi
46563
46564   fi
46565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46566 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46567
46568     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46569       for ac_func in _fabsf
46570 do :
46571   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46572 if test "x$ac_cv_func__fabsf" = x""yes; then :
46573   cat >>confdefs.h <<_ACEOF
46574 #define HAVE__FABSF 1
46575 _ACEOF
46576
46577 fi
46578 done
46579
46580     fi
46581   fi
46582
46583
46584
46585
46586
46587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46588 $as_echo_n "checking for fmodf declaration... " >&6; }
46589   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46590     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46591   $as_echo_n "(cached) " >&6
46592 else
46593
46594
46595       ac_ext=cpp
46596 ac_cpp='$CXXCPP $CPPFLAGS'
46597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46600
46601       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46602 /* end confdefs.h.  */
46603 #include <math.h>
46604 int
46605 main ()
46606 {
46607  fmodf(0, 0);
46608   ;
46609   return 0;
46610 }
46611 _ACEOF
46612 if ac_fn_cxx_try_compile "$LINENO"; then :
46613   glibcxx_cv_func_fmodf_use=yes
46614 else
46615   glibcxx_cv_func_fmodf_use=no
46616 fi
46617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46618       ac_ext=c
46619 ac_cpp='$CPP $CPPFLAGS'
46620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46623
46624
46625 fi
46626
46627   fi
46628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46629 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46630
46631   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46632     for ac_func in fmodf
46633 do :
46634   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46635 if test "x$ac_cv_func_fmodf" = x""yes; then :
46636   cat >>confdefs.h <<_ACEOF
46637 #define HAVE_FMODF 1
46638 _ACEOF
46639
46640 fi
46641 done
46642
46643   else
46644
46645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46646 $as_echo_n "checking for _fmodf declaration... " >&6; }
46647   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46648     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46649   $as_echo_n "(cached) " >&6
46650 else
46651
46652
46653       ac_ext=cpp
46654 ac_cpp='$CXXCPP $CPPFLAGS'
46655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46658
46659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46660 /* end confdefs.h.  */
46661 #include <math.h>
46662 int
46663 main ()
46664 {
46665  _fmodf(0, 0);
46666   ;
46667   return 0;
46668 }
46669 _ACEOF
46670 if ac_fn_cxx_try_compile "$LINENO"; then :
46671   glibcxx_cv_func__fmodf_use=yes
46672 else
46673   glibcxx_cv_func__fmodf_use=no
46674 fi
46675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46676       ac_ext=c
46677 ac_cpp='$CPP $CPPFLAGS'
46678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46681
46682
46683 fi
46684
46685   fi
46686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46687 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46688
46689     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46690       for ac_func in _fmodf
46691 do :
46692   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46693 if test "x$ac_cv_func__fmodf" = x""yes; then :
46694   cat >>confdefs.h <<_ACEOF
46695 #define HAVE__FMODF 1
46696 _ACEOF
46697
46698 fi
46699 done
46700
46701     fi
46702   fi
46703
46704
46705
46706
46707
46708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46709 $as_echo_n "checking for frexpf declaration... " >&6; }
46710   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46711     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46712   $as_echo_n "(cached) " >&6
46713 else
46714
46715
46716       ac_ext=cpp
46717 ac_cpp='$CXXCPP $CPPFLAGS'
46718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46721
46722       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46723 /* end confdefs.h.  */
46724 #include <math.h>
46725 int
46726 main ()
46727 {
46728  frexpf(0, 0);
46729   ;
46730   return 0;
46731 }
46732 _ACEOF
46733 if ac_fn_cxx_try_compile "$LINENO"; then :
46734   glibcxx_cv_func_frexpf_use=yes
46735 else
46736   glibcxx_cv_func_frexpf_use=no
46737 fi
46738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46739       ac_ext=c
46740 ac_cpp='$CPP $CPPFLAGS'
46741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46744
46745
46746 fi
46747
46748   fi
46749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46750 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46751
46752   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46753     for ac_func in frexpf
46754 do :
46755   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46756 if test "x$ac_cv_func_frexpf" = x""yes; then :
46757   cat >>confdefs.h <<_ACEOF
46758 #define HAVE_FREXPF 1
46759 _ACEOF
46760
46761 fi
46762 done
46763
46764   else
46765
46766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46767 $as_echo_n "checking for _frexpf declaration... " >&6; }
46768   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46769     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46770   $as_echo_n "(cached) " >&6
46771 else
46772
46773
46774       ac_ext=cpp
46775 ac_cpp='$CXXCPP $CPPFLAGS'
46776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46779
46780       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46781 /* end confdefs.h.  */
46782 #include <math.h>
46783 int
46784 main ()
46785 {
46786  _frexpf(0, 0);
46787   ;
46788   return 0;
46789 }
46790 _ACEOF
46791 if ac_fn_cxx_try_compile "$LINENO"; then :
46792   glibcxx_cv_func__frexpf_use=yes
46793 else
46794   glibcxx_cv_func__frexpf_use=no
46795 fi
46796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46797       ac_ext=c
46798 ac_cpp='$CPP $CPPFLAGS'
46799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46802
46803
46804 fi
46805
46806   fi
46807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46808 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46809
46810     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46811       for ac_func in _frexpf
46812 do :
46813   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46814 if test "x$ac_cv_func__frexpf" = x""yes; then :
46815   cat >>confdefs.h <<_ACEOF
46816 #define HAVE__FREXPF 1
46817 _ACEOF
46818
46819 fi
46820 done
46821
46822     fi
46823   fi
46824
46825
46826
46827
46828
46829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46830 $as_echo_n "checking for hypotf declaration... " >&6; }
46831   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46832     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46833   $as_echo_n "(cached) " >&6
46834 else
46835
46836
46837       ac_ext=cpp
46838 ac_cpp='$CXXCPP $CPPFLAGS'
46839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46842
46843       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46844 /* end confdefs.h.  */
46845 #include <math.h>
46846 int
46847 main ()
46848 {
46849  hypotf(0, 0);
46850   ;
46851   return 0;
46852 }
46853 _ACEOF
46854 if ac_fn_cxx_try_compile "$LINENO"; then :
46855   glibcxx_cv_func_hypotf_use=yes
46856 else
46857   glibcxx_cv_func_hypotf_use=no
46858 fi
46859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860       ac_ext=c
46861 ac_cpp='$CPP $CPPFLAGS'
46862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865
46866
46867 fi
46868
46869   fi
46870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46871 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46872
46873   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46874     for ac_func in hypotf
46875 do :
46876   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46877 if test "x$ac_cv_func_hypotf" = x""yes; then :
46878   cat >>confdefs.h <<_ACEOF
46879 #define HAVE_HYPOTF 1
46880 _ACEOF
46881
46882 fi
46883 done
46884
46885   else
46886
46887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46888 $as_echo_n "checking for _hypotf declaration... " >&6; }
46889   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46890     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46891   $as_echo_n "(cached) " >&6
46892 else
46893
46894
46895       ac_ext=cpp
46896 ac_cpp='$CXXCPP $CPPFLAGS'
46897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46900
46901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46902 /* end confdefs.h.  */
46903 #include <math.h>
46904 int
46905 main ()
46906 {
46907  _hypotf(0, 0);
46908   ;
46909   return 0;
46910 }
46911 _ACEOF
46912 if ac_fn_cxx_try_compile "$LINENO"; then :
46913   glibcxx_cv_func__hypotf_use=yes
46914 else
46915   glibcxx_cv_func__hypotf_use=no
46916 fi
46917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46918       ac_ext=c
46919 ac_cpp='$CPP $CPPFLAGS'
46920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46923
46924
46925 fi
46926
46927   fi
46928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46929 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46930
46931     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46932       for ac_func in _hypotf
46933 do :
46934   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46935 if test "x$ac_cv_func__hypotf" = x""yes; then :
46936   cat >>confdefs.h <<_ACEOF
46937 #define HAVE__HYPOTF 1
46938 _ACEOF
46939
46940 fi
46941 done
46942
46943     fi
46944   fi
46945
46946
46947
46948
46949
46950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46951 $as_echo_n "checking for ldexpf declaration... " >&6; }
46952   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46953     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46954   $as_echo_n "(cached) " >&6
46955 else
46956
46957
46958       ac_ext=cpp
46959 ac_cpp='$CXXCPP $CPPFLAGS'
46960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46963
46964       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46965 /* end confdefs.h.  */
46966 #include <math.h>
46967 int
46968 main ()
46969 {
46970  ldexpf(0, 0);
46971   ;
46972   return 0;
46973 }
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976   glibcxx_cv_func_ldexpf_use=yes
46977 else
46978   glibcxx_cv_func_ldexpf_use=no
46979 fi
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981       ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986
46987
46988 fi
46989
46990   fi
46991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46992 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46993
46994   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46995     for ac_func in ldexpf
46996 do :
46997   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46998 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46999   cat >>confdefs.h <<_ACEOF
47000 #define HAVE_LDEXPF 1
47001 _ACEOF
47002
47003 fi
47004 done
47005
47006   else
47007
47008   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47009 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47010   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47011     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47012   $as_echo_n "(cached) " >&6
47013 else
47014
47015
47016       ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021
47022       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h.  */
47024 #include <math.h>
47025 int
47026 main ()
47027 {
47028  _ldexpf(0, 0);
47029   ;
47030   return 0;
47031 }
47032 _ACEOF
47033 if ac_fn_cxx_try_compile "$LINENO"; then :
47034   glibcxx_cv_func__ldexpf_use=yes
47035 else
47036   glibcxx_cv_func__ldexpf_use=no
47037 fi
47038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47039       ac_ext=c
47040 ac_cpp='$CPP $CPPFLAGS'
47041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47044
47045
47046 fi
47047
47048   fi
47049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47050 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47051
47052     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47053       for ac_func in _ldexpf
47054 do :
47055   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47056 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47057   cat >>confdefs.h <<_ACEOF
47058 #define HAVE__LDEXPF 1
47059 _ACEOF
47060
47061 fi
47062 done
47063
47064     fi
47065   fi
47066
47067
47068
47069
47070
47071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47072 $as_echo_n "checking for logf declaration... " >&6; }
47073   if test x${glibcxx_cv_func_logf_use+set} != xset; then
47074     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47075   $as_echo_n "(cached) " >&6
47076 else
47077
47078
47079       ac_ext=cpp
47080 ac_cpp='$CXXCPP $CPPFLAGS'
47081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084
47085       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47086 /* end confdefs.h.  */
47087 #include <math.h>
47088                       #ifdef HAVE_IEEEFP_H
47089                       #include <ieeefp.h>
47090                       #endif
47091
47092 int
47093 main ()
47094 {
47095  logf(0);
47096   ;
47097   return 0;
47098 }
47099 _ACEOF
47100 if ac_fn_cxx_try_compile "$LINENO"; then :
47101   glibcxx_cv_func_logf_use=yes
47102 else
47103   glibcxx_cv_func_logf_use=no
47104 fi
47105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47106       ac_ext=c
47107 ac_cpp='$CPP $CPPFLAGS'
47108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111
47112
47113 fi
47114
47115   fi
47116   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47117 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47118
47119   if test x$glibcxx_cv_func_logf_use = x"yes"; then
47120     for ac_func in logf
47121 do :
47122   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47123 if test "x$ac_cv_func_logf" = x""yes; then :
47124   cat >>confdefs.h <<_ACEOF
47125 #define HAVE_LOGF 1
47126 _ACEOF
47127
47128 fi
47129 done
47130
47131   else
47132
47133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47134 $as_echo_n "checking for _logf declaration... " >&6; }
47135   if test x${glibcxx_cv_func__logf_use+set} != xset; then
47136     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47137   $as_echo_n "(cached) " >&6
47138 else
47139
47140
47141       ac_ext=cpp
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47146
47147       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h.  */
47149 #include <math.h>
47150                       #ifdef HAVE_IEEEFP_H
47151                       #include <ieeefp.h>
47152                       #endif
47153
47154 int
47155 main ()
47156 {
47157  _logf(0);
47158   ;
47159   return 0;
47160 }
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163   glibcxx_cv_func__logf_use=yes
47164 else
47165   glibcxx_cv_func__logf_use=no
47166 fi
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168       ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173
47174
47175 fi
47176
47177   fi
47178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47179 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47180
47181     if test x$glibcxx_cv_func__logf_use = x"yes"; then
47182       for ac_func in _logf
47183 do :
47184   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47185 if test "x$ac_cv_func__logf" = x""yes; then :
47186   cat >>confdefs.h <<_ACEOF
47187 #define HAVE__LOGF 1
47188 _ACEOF
47189
47190 fi
47191 done
47192
47193     fi
47194   fi
47195
47196
47197
47198
47199
47200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47201 $as_echo_n "checking for log10f declaration... " >&6; }
47202   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47203     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47204   $as_echo_n "(cached) " >&6
47205 else
47206
47207
47208       ac_ext=cpp
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47213
47214       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h.  */
47216 #include <math.h>
47217                       #ifdef HAVE_IEEEFP_H
47218                       #include <ieeefp.h>
47219                       #endif
47220
47221 int
47222 main ()
47223 {
47224  log10f(0);
47225   ;
47226   return 0;
47227 }
47228 _ACEOF
47229 if ac_fn_cxx_try_compile "$LINENO"; then :
47230   glibcxx_cv_func_log10f_use=yes
47231 else
47232   glibcxx_cv_func_log10f_use=no
47233 fi
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47235       ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240
47241
47242 fi
47243
47244   fi
47245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47246 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47247
47248   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47249     for ac_func in log10f
47250 do :
47251   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47252 if test "x$ac_cv_func_log10f" = x""yes; then :
47253   cat >>confdefs.h <<_ACEOF
47254 #define HAVE_LOG10F 1
47255 _ACEOF
47256
47257 fi
47258 done
47259
47260   else
47261
47262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47263 $as_echo_n "checking for _log10f declaration... " >&6; }
47264   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47265     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47266   $as_echo_n "(cached) " >&6
47267 else
47268
47269
47270       ac_ext=cpp
47271 ac_cpp='$CXXCPP $CPPFLAGS'
47272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47275
47276       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47277 /* end confdefs.h.  */
47278 #include <math.h>
47279                       #ifdef HAVE_IEEEFP_H
47280                       #include <ieeefp.h>
47281                       #endif
47282
47283 int
47284 main ()
47285 {
47286  _log10f(0);
47287   ;
47288   return 0;
47289 }
47290 _ACEOF
47291 if ac_fn_cxx_try_compile "$LINENO"; then :
47292   glibcxx_cv_func__log10f_use=yes
47293 else
47294   glibcxx_cv_func__log10f_use=no
47295 fi
47296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47297       ac_ext=c
47298 ac_cpp='$CPP $CPPFLAGS'
47299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47302
47303
47304 fi
47305
47306   fi
47307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47308 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47309
47310     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47311       for ac_func in _log10f
47312 do :
47313   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47314 if test "x$ac_cv_func__log10f" = x""yes; then :
47315   cat >>confdefs.h <<_ACEOF
47316 #define HAVE__LOG10F 1
47317 _ACEOF
47318
47319 fi
47320 done
47321
47322     fi
47323   fi
47324
47325
47326
47327
47328
47329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47330 $as_echo_n "checking for modff declaration... " >&6; }
47331   if test x${glibcxx_cv_func_modff_use+set} != xset; then
47332     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47333   $as_echo_n "(cached) " >&6
47334 else
47335
47336
47337       ac_ext=cpp
47338 ac_cpp='$CXXCPP $CPPFLAGS'
47339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47342
47343       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47344 /* end confdefs.h.  */
47345 #include <math.h>
47346 int
47347 main ()
47348 {
47349  modff(0, 0);
47350   ;
47351   return 0;
47352 }
47353 _ACEOF
47354 if ac_fn_cxx_try_compile "$LINENO"; then :
47355   glibcxx_cv_func_modff_use=yes
47356 else
47357   glibcxx_cv_func_modff_use=no
47358 fi
47359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47360       ac_ext=c
47361 ac_cpp='$CPP $CPPFLAGS'
47362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47365
47366
47367 fi
47368
47369   fi
47370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47371 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47372
47373   if test x$glibcxx_cv_func_modff_use = x"yes"; then
47374     for ac_func in modff
47375 do :
47376   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47377 if test "x$ac_cv_func_modff" = x""yes; then :
47378   cat >>confdefs.h <<_ACEOF
47379 #define HAVE_MODFF 1
47380 _ACEOF
47381
47382 fi
47383 done
47384
47385   else
47386
47387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47388 $as_echo_n "checking for _modff declaration... " >&6; }
47389   if test x${glibcxx_cv_func__modff_use+set} != xset; then
47390     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47391   $as_echo_n "(cached) " >&6
47392 else
47393
47394
47395       ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h.  */
47403 #include <math.h>
47404 int
47405 main ()
47406 {
47407  _modff(0, 0);
47408   ;
47409   return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413   glibcxx_cv_func__modff_use=yes
47414 else
47415   glibcxx_cv_func__modff_use=no
47416 fi
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418       ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423
47424
47425 fi
47426
47427   fi
47428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47429 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47430
47431     if test x$glibcxx_cv_func__modff_use = x"yes"; then
47432       for ac_func in _modff
47433 do :
47434   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47435 if test "x$ac_cv_func__modff" = x""yes; then :
47436   cat >>confdefs.h <<_ACEOF
47437 #define HAVE__MODFF 1
47438 _ACEOF
47439
47440 fi
47441 done
47442
47443     fi
47444   fi
47445
47446
47447
47448
47449
47450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47451 $as_echo_n "checking for modf declaration... " >&6; }
47452   if test x${glibcxx_cv_func_modf_use+set} != xset; then
47453     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47454   $as_echo_n "(cached) " >&6
47455 else
47456
47457
47458       ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47463
47464       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h.  */
47466 #include <math.h>
47467 int
47468 main ()
47469 {
47470  modf(0, 0);
47471   ;
47472   return 0;
47473 }
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476   glibcxx_cv_func_modf_use=yes
47477 else
47478   glibcxx_cv_func_modf_use=no
47479 fi
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481       ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47486
47487
47488 fi
47489
47490   fi
47491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47492 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47493
47494   if test x$glibcxx_cv_func_modf_use = x"yes"; then
47495     for ac_func in modf
47496 do :
47497   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47498 if test "x$ac_cv_func_modf" = x""yes; then :
47499   cat >>confdefs.h <<_ACEOF
47500 #define HAVE_MODF 1
47501 _ACEOF
47502
47503 fi
47504 done
47505
47506   else
47507
47508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47509 $as_echo_n "checking for _modf declaration... " >&6; }
47510   if test x${glibcxx_cv_func__modf_use+set} != xset; then
47511     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47512   $as_echo_n "(cached) " >&6
47513 else
47514
47515
47516       ac_ext=cpp
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47521
47522       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47523 /* end confdefs.h.  */
47524 #include <math.h>
47525 int
47526 main ()
47527 {
47528  _modf(0, 0);
47529   ;
47530   return 0;
47531 }
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534   glibcxx_cv_func__modf_use=yes
47535 else
47536   glibcxx_cv_func__modf_use=no
47537 fi
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539       ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544
47545
47546 fi
47547
47548   fi
47549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47550 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47551
47552     if test x$glibcxx_cv_func__modf_use = x"yes"; then
47553       for ac_func in _modf
47554 do :
47555   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47556 if test "x$ac_cv_func__modf" = x""yes; then :
47557   cat >>confdefs.h <<_ACEOF
47558 #define HAVE__MODF 1
47559 _ACEOF
47560
47561 fi
47562 done
47563
47564     fi
47565   fi
47566
47567
47568
47569
47570
47571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47572 $as_echo_n "checking for powf declaration... " >&6; }
47573   if test x${glibcxx_cv_func_powf_use+set} != xset; then
47574     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47575   $as_echo_n "(cached) " >&6
47576 else
47577
47578
47579       ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47584
47585       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h.  */
47587 #include <math.h>
47588 int
47589 main ()
47590 {
47591  powf(0, 0);
47592   ;
47593   return 0;
47594 }
47595 _ACEOF
47596 if ac_fn_cxx_try_compile "$LINENO"; then :
47597   glibcxx_cv_func_powf_use=yes
47598 else
47599   glibcxx_cv_func_powf_use=no
47600 fi
47601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47602       ac_ext=c
47603 ac_cpp='$CPP $CPPFLAGS'
47604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47607
47608
47609 fi
47610
47611   fi
47612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47613 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47614
47615   if test x$glibcxx_cv_func_powf_use = x"yes"; then
47616     for ac_func in powf
47617 do :
47618   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47619 if test "x$ac_cv_func_powf" = x""yes; then :
47620   cat >>confdefs.h <<_ACEOF
47621 #define HAVE_POWF 1
47622 _ACEOF
47623
47624 fi
47625 done
47626
47627   else
47628
47629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47630 $as_echo_n "checking for _powf declaration... " >&6; }
47631   if test x${glibcxx_cv_func__powf_use+set} != xset; then
47632     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47633   $as_echo_n "(cached) " >&6
47634 else
47635
47636
47637       ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642
47643       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h.  */
47645 #include <math.h>
47646 int
47647 main ()
47648 {
47649  _powf(0, 0);
47650   ;
47651   return 0;
47652 }
47653 _ACEOF
47654 if ac_fn_cxx_try_compile "$LINENO"; then :
47655   glibcxx_cv_func__powf_use=yes
47656 else
47657   glibcxx_cv_func__powf_use=no
47658 fi
47659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660       ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47665
47666
47667 fi
47668
47669   fi
47670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47671 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47672
47673     if test x$glibcxx_cv_func__powf_use = x"yes"; then
47674       for ac_func in _powf
47675 do :
47676   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47677 if test "x$ac_cv_func__powf" = x""yes; then :
47678   cat >>confdefs.h <<_ACEOF
47679 #define HAVE__POWF 1
47680 _ACEOF
47681
47682 fi
47683 done
47684
47685     fi
47686   fi
47687
47688
47689
47690
47691
47692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47693 $as_echo_n "checking for sqrtf declaration... " >&6; }
47694   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47695     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47696   $as_echo_n "(cached) " >&6
47697 else
47698
47699
47700       ac_ext=cpp
47701 ac_cpp='$CXXCPP $CPPFLAGS'
47702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705
47706       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47707 /* end confdefs.h.  */
47708 #include <math.h>
47709                       #ifdef HAVE_IEEEFP_H
47710                       #include <ieeefp.h>
47711                       #endif
47712
47713 int
47714 main ()
47715 {
47716  sqrtf(0);
47717   ;
47718   return 0;
47719 }
47720 _ACEOF
47721 if ac_fn_cxx_try_compile "$LINENO"; then :
47722   glibcxx_cv_func_sqrtf_use=yes
47723 else
47724   glibcxx_cv_func_sqrtf_use=no
47725 fi
47726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47727       ac_ext=c
47728 ac_cpp='$CPP $CPPFLAGS'
47729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732
47733
47734 fi
47735
47736   fi
47737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47738 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47739
47740   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47741     for ac_func in sqrtf
47742 do :
47743   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47744 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47745   cat >>confdefs.h <<_ACEOF
47746 #define HAVE_SQRTF 1
47747 _ACEOF
47748
47749 fi
47750 done
47751
47752   else
47753
47754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47755 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47756   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47757     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47758   $as_echo_n "(cached) " >&6
47759 else
47760
47761
47762       ac_ext=cpp
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767
47768       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769 /* end confdefs.h.  */
47770 #include <math.h>
47771                       #ifdef HAVE_IEEEFP_H
47772                       #include <ieeefp.h>
47773                       #endif
47774
47775 int
47776 main ()
47777 {
47778  _sqrtf(0);
47779   ;
47780   return 0;
47781 }
47782 _ACEOF
47783 if ac_fn_cxx_try_compile "$LINENO"; then :
47784   glibcxx_cv_func__sqrtf_use=yes
47785 else
47786   glibcxx_cv_func__sqrtf_use=no
47787 fi
47788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47789       ac_ext=c
47790 ac_cpp='$CPP $CPPFLAGS'
47791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47794
47795
47796 fi
47797
47798   fi
47799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47800 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47801
47802     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47803       for ac_func in _sqrtf
47804 do :
47805   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47806 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47807   cat >>confdefs.h <<_ACEOF
47808 #define HAVE__SQRTF 1
47809 _ACEOF
47810
47811 fi
47812 done
47813
47814     fi
47815   fi
47816
47817
47818
47819
47820
47821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47822 $as_echo_n "checking for sincosf declaration... " >&6; }
47823   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47824     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47825   $as_echo_n "(cached) " >&6
47826 else
47827
47828
47829       ac_ext=cpp
47830 ac_cpp='$CXXCPP $CPPFLAGS'
47831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47834
47835       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47836 /* end confdefs.h.  */
47837 #include <math.h>
47838 int
47839 main ()
47840 {
47841  sincosf(0, 0, 0);
47842   ;
47843   return 0;
47844 }
47845 _ACEOF
47846 if ac_fn_cxx_try_compile "$LINENO"; then :
47847   glibcxx_cv_func_sincosf_use=yes
47848 else
47849   glibcxx_cv_func_sincosf_use=no
47850 fi
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852       ac_ext=c
47853 ac_cpp='$CPP $CPPFLAGS'
47854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47857
47858
47859 fi
47860
47861   fi
47862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47863 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47864
47865   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47866     for ac_func in sincosf
47867 do :
47868   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47869 if test "x$ac_cv_func_sincosf" = x""yes; then :
47870   cat >>confdefs.h <<_ACEOF
47871 #define HAVE_SINCOSF 1
47872 _ACEOF
47873
47874 fi
47875 done
47876
47877   else
47878
47879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47880 $as_echo_n "checking for _sincosf declaration... " >&6; }
47881   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47882     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47883   $as_echo_n "(cached) " >&6
47884 else
47885
47886
47887       ac_ext=cpp
47888 ac_cpp='$CXXCPP $CPPFLAGS'
47889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47892
47893       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47894 /* end confdefs.h.  */
47895 #include <math.h>
47896 int
47897 main ()
47898 {
47899  _sincosf(0, 0, 0);
47900   ;
47901   return 0;
47902 }
47903 _ACEOF
47904 if ac_fn_cxx_try_compile "$LINENO"; then :
47905   glibcxx_cv_func__sincosf_use=yes
47906 else
47907   glibcxx_cv_func__sincosf_use=no
47908 fi
47909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47910       ac_ext=c
47911 ac_cpp='$CPP $CPPFLAGS'
47912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47915
47916
47917 fi
47918
47919   fi
47920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47921 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47922
47923     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47924       for ac_func in _sincosf
47925 do :
47926   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47927 if test "x$ac_cv_func__sincosf" = x""yes; then :
47928   cat >>confdefs.h <<_ACEOF
47929 #define HAVE__SINCOSF 1
47930 _ACEOF
47931
47932 fi
47933 done
47934
47935     fi
47936   fi
47937
47938
47939
47940
47941
47942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47943 $as_echo_n "checking for finitef declaration... " >&6; }
47944   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47945     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47946   $as_echo_n "(cached) " >&6
47947 else
47948
47949
47950       ac_ext=cpp
47951 ac_cpp='$CXXCPP $CPPFLAGS'
47952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47955
47956       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47957 /* end confdefs.h.  */
47958 #include <math.h>
47959                       #ifdef HAVE_IEEEFP_H
47960                       #include <ieeefp.h>
47961                       #endif
47962
47963 int
47964 main ()
47965 {
47966  finitef(0);
47967   ;
47968   return 0;
47969 }
47970 _ACEOF
47971 if ac_fn_cxx_try_compile "$LINENO"; then :
47972   glibcxx_cv_func_finitef_use=yes
47973 else
47974   glibcxx_cv_func_finitef_use=no
47975 fi
47976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47977       ac_ext=c
47978 ac_cpp='$CPP $CPPFLAGS'
47979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47982
47983
47984 fi
47985
47986   fi
47987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47988 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47989
47990   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47991     for ac_func in finitef
47992 do :
47993   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47994 if test "x$ac_cv_func_finitef" = x""yes; then :
47995   cat >>confdefs.h <<_ACEOF
47996 #define HAVE_FINITEF 1
47997 _ACEOF
47998
47999 fi
48000 done
48001
48002   else
48003
48004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48005 $as_echo_n "checking for _finitef declaration... " >&6; }
48006   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48007     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48008   $as_echo_n "(cached) " >&6
48009 else
48010
48011
48012       ac_ext=cpp
48013 ac_cpp='$CXXCPP $CPPFLAGS'
48014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48017
48018       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48019 /* end confdefs.h.  */
48020 #include <math.h>
48021                       #ifdef HAVE_IEEEFP_H
48022                       #include <ieeefp.h>
48023                       #endif
48024
48025 int
48026 main ()
48027 {
48028  _finitef(0);
48029   ;
48030   return 0;
48031 }
48032 _ACEOF
48033 if ac_fn_cxx_try_compile "$LINENO"; then :
48034   glibcxx_cv_func__finitef_use=yes
48035 else
48036   glibcxx_cv_func__finitef_use=no
48037 fi
48038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48039       ac_ext=c
48040 ac_cpp='$CPP $CPPFLAGS'
48041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48044
48045
48046 fi
48047
48048   fi
48049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48050 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48051
48052     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48053       for ac_func in _finitef
48054 do :
48055   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48056 if test "x$ac_cv_func__finitef" = x""yes; then :
48057   cat >>confdefs.h <<_ACEOF
48058 #define HAVE__FINITEF 1
48059 _ACEOF
48060
48061 fi
48062 done
48063
48064     fi
48065   fi
48066
48067
48068
48069
48070
48071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48072 $as_echo_n "checking for long double trig functions... " >&6; }
48073   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48074   $as_echo_n "(cached) " >&6
48075 else
48076
48077
48078     ac_ext=cpp
48079 ac_cpp='$CXXCPP $CPPFLAGS'
48080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48083
48084     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48085 /* end confdefs.h.  */
48086 #include <math.h>
48087 int
48088 main ()
48089 {
48090 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48091   ;
48092   return 0;
48093 }
48094 _ACEOF
48095 if ac_fn_cxx_try_compile "$LINENO"; then :
48096   glibcxx_cv_func_long_double_trig_use=yes
48097 else
48098   glibcxx_cv_func_long_double_trig_use=no
48099 fi
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101     ac_ext=c
48102 ac_cpp='$CPP $CPPFLAGS'
48103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106
48107 fi
48108
48109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48110 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48111   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48112     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48113 do :
48114   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48116 eval as_val=\$$as_ac_var
48117    if test "x$as_val" = x""yes; then :
48118   cat >>confdefs.h <<_ACEOF
48119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48120 _ACEOF
48121
48122 fi
48123 done
48124
48125   else
48126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48127 $as_echo_n "checking for _long double trig functions... " >&6; }
48128     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48129   $as_echo_n "(cached) " >&6
48130 else
48131
48132
48133       ac_ext=cpp
48134 ac_cpp='$CXXCPP $CPPFLAGS'
48135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48138
48139       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48140 /* end confdefs.h.  */
48141 #include <math.h>
48142 int
48143 main ()
48144 {
48145 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48146   ;
48147   return 0;
48148 }
48149 _ACEOF
48150 if ac_fn_cxx_try_compile "$LINENO"; then :
48151   glibcxx_cv_func__long_double_trig_use=yes
48152 else
48153   glibcxx_cv_func__long_double_trig_use=no
48154 fi
48155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48156       ac_ext=c
48157 ac_cpp='$CPP $CPPFLAGS'
48158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48161
48162 fi
48163
48164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48165 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48166     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48167       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48168 do :
48169   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48171 eval as_val=\$$as_ac_var
48172    if test "x$as_val" = x""yes; then :
48173   cat >>confdefs.h <<_ACEOF
48174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48175 _ACEOF
48176
48177 fi
48178 done
48179
48180     fi
48181   fi
48182
48183
48184
48185
48186
48187     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48188 $as_echo_n "checking for long double round functions... " >&6; }
48189   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48190   $as_echo_n "(cached) " >&6
48191 else
48192
48193
48194     ac_ext=cpp
48195 ac_cpp='$CXXCPP $CPPFLAGS'
48196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48199
48200     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48201 /* end confdefs.h.  */
48202 #include <math.h>
48203 int
48204 main ()
48205 {
48206 ceill (0); floorl (0);
48207   ;
48208   return 0;
48209 }
48210 _ACEOF
48211 if ac_fn_cxx_try_compile "$LINENO"; then :
48212   glibcxx_cv_func_long_double_round_use=yes
48213 else
48214   glibcxx_cv_func_long_double_round_use=no
48215 fi
48216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48217     ac_ext=c
48218 ac_cpp='$CPP $CPPFLAGS'
48219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48222
48223 fi
48224
48225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48226 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48227   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48228     for ac_func in ceill floorl
48229 do :
48230   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48232 eval as_val=\$$as_ac_var
48233    if test "x$as_val" = x""yes; then :
48234   cat >>confdefs.h <<_ACEOF
48235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48236 _ACEOF
48237
48238 fi
48239 done
48240
48241   else
48242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48243 $as_echo_n "checking for _long double round functions... " >&6; }
48244     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48245   $as_echo_n "(cached) " >&6
48246 else
48247
48248
48249       ac_ext=cpp
48250 ac_cpp='$CXXCPP $CPPFLAGS'
48251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48254
48255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48256 /* end confdefs.h.  */
48257 #include <math.h>
48258 int
48259 main ()
48260 {
48261 _ceill (0); _floorl (0);
48262   ;
48263   return 0;
48264 }
48265 _ACEOF
48266 if ac_fn_cxx_try_compile "$LINENO"; then :
48267   glibcxx_cv_func__long_double_round_use=yes
48268 else
48269   glibcxx_cv_func__long_double_round_use=no
48270 fi
48271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48272       ac_ext=c
48273 ac_cpp='$CPP $CPPFLAGS'
48274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48277
48278 fi
48279
48280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48281 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48282     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48283       for ac_func in _ceill _floorl
48284 do :
48285   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48287 eval as_val=\$$as_ac_var
48288    if test "x$as_val" = x""yes; then :
48289   cat >>confdefs.h <<_ACEOF
48290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48291 _ACEOF
48292
48293 fi
48294 done
48295
48296     fi
48297   fi
48298
48299
48300
48301
48302
48303
48304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48305 $as_echo_n "checking for isnanl declaration... " >&6; }
48306   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48307     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48308   $as_echo_n "(cached) " >&6
48309 else
48310
48311
48312       ac_ext=cpp
48313 ac_cpp='$CXXCPP $CPPFLAGS'
48314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48317
48318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48319 /* end confdefs.h.  */
48320 #include <math.h>
48321                       #ifdef HAVE_IEEEFP_H
48322                       #include <ieeefp.h>
48323                       #endif
48324
48325 int
48326 main ()
48327 {
48328  isnanl(0);
48329   ;
48330   return 0;
48331 }
48332 _ACEOF
48333 if ac_fn_cxx_try_compile "$LINENO"; then :
48334   glibcxx_cv_func_isnanl_use=yes
48335 else
48336   glibcxx_cv_func_isnanl_use=no
48337 fi
48338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48339       ac_ext=c
48340 ac_cpp='$CPP $CPPFLAGS'
48341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48344
48345
48346 fi
48347
48348   fi
48349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48350 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48351
48352   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48353     for ac_func in isnanl
48354 do :
48355   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48356 if test "x$ac_cv_func_isnanl" = x""yes; then :
48357   cat >>confdefs.h <<_ACEOF
48358 #define HAVE_ISNANL 1
48359 _ACEOF
48360
48361 fi
48362 done
48363
48364   else
48365
48366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48367 $as_echo_n "checking for _isnanl declaration... " >&6; }
48368   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48369     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48370   $as_echo_n "(cached) " >&6
48371 else
48372
48373
48374       ac_ext=cpp
48375 ac_cpp='$CXXCPP $CPPFLAGS'
48376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48379
48380       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48381 /* end confdefs.h.  */
48382 #include <math.h>
48383                       #ifdef HAVE_IEEEFP_H
48384                       #include <ieeefp.h>
48385                       #endif
48386
48387 int
48388 main ()
48389 {
48390  _isnanl(0);
48391   ;
48392   return 0;
48393 }
48394 _ACEOF
48395 if ac_fn_cxx_try_compile "$LINENO"; then :
48396   glibcxx_cv_func__isnanl_use=yes
48397 else
48398   glibcxx_cv_func__isnanl_use=no
48399 fi
48400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48401       ac_ext=c
48402 ac_cpp='$CPP $CPPFLAGS'
48403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48406
48407
48408 fi
48409
48410   fi
48411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48412 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48413
48414     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48415       for ac_func in _isnanl
48416 do :
48417   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48418 if test "x$ac_cv_func__isnanl" = x""yes; then :
48419   cat >>confdefs.h <<_ACEOF
48420 #define HAVE__ISNANL 1
48421 _ACEOF
48422
48423 fi
48424 done
48425
48426     fi
48427   fi
48428
48429
48430
48431
48432
48433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48434 $as_echo_n "checking for isinfl declaration... " >&6; }
48435   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48436     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48437   $as_echo_n "(cached) " >&6
48438 else
48439
48440
48441       ac_ext=cpp
48442 ac_cpp='$CXXCPP $CPPFLAGS'
48443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48446
48447       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48448 /* end confdefs.h.  */
48449 #include <math.h>
48450                       #ifdef HAVE_IEEEFP_H
48451                       #include <ieeefp.h>
48452                       #endif
48453
48454 int
48455 main ()
48456 {
48457  isinfl(0);
48458   ;
48459   return 0;
48460 }
48461 _ACEOF
48462 if ac_fn_cxx_try_compile "$LINENO"; then :
48463   glibcxx_cv_func_isinfl_use=yes
48464 else
48465   glibcxx_cv_func_isinfl_use=no
48466 fi
48467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48468       ac_ext=c
48469 ac_cpp='$CPP $CPPFLAGS'
48470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48473
48474
48475 fi
48476
48477   fi
48478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48479 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48480
48481   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48482     for ac_func in isinfl
48483 do :
48484   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48485 if test "x$ac_cv_func_isinfl" = x""yes; then :
48486   cat >>confdefs.h <<_ACEOF
48487 #define HAVE_ISINFL 1
48488 _ACEOF
48489
48490 fi
48491 done
48492
48493   else
48494
48495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48496 $as_echo_n "checking for _isinfl declaration... " >&6; }
48497   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48498     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48499   $as_echo_n "(cached) " >&6
48500 else
48501
48502
48503       ac_ext=cpp
48504 ac_cpp='$CXXCPP $CPPFLAGS'
48505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508
48509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48510 /* end confdefs.h.  */
48511 #include <math.h>
48512                       #ifdef HAVE_IEEEFP_H
48513                       #include <ieeefp.h>
48514                       #endif
48515
48516 int
48517 main ()
48518 {
48519  _isinfl(0);
48520   ;
48521   return 0;
48522 }
48523 _ACEOF
48524 if ac_fn_cxx_try_compile "$LINENO"; then :
48525   glibcxx_cv_func__isinfl_use=yes
48526 else
48527   glibcxx_cv_func__isinfl_use=no
48528 fi
48529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48530       ac_ext=c
48531 ac_cpp='$CPP $CPPFLAGS'
48532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535
48536
48537 fi
48538
48539   fi
48540   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48541 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48542
48543     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48544       for ac_func in _isinfl
48545 do :
48546   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48547 if test "x$ac_cv_func__isinfl" = x""yes; then :
48548   cat >>confdefs.h <<_ACEOF
48549 #define HAVE__ISINFL 1
48550 _ACEOF
48551
48552 fi
48553 done
48554
48555     fi
48556   fi
48557
48558
48559
48560
48561
48562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48563 $as_echo_n "checking for atan2l declaration... " >&6; }
48564   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48565     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48566   $as_echo_n "(cached) " >&6
48567 else
48568
48569
48570       ac_ext=cpp
48571 ac_cpp='$CXXCPP $CPPFLAGS'
48572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48575
48576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48577 /* end confdefs.h.  */
48578 #include <math.h>
48579 int
48580 main ()
48581 {
48582  atan2l(0, 0);
48583   ;
48584   return 0;
48585 }
48586 _ACEOF
48587 if ac_fn_cxx_try_compile "$LINENO"; then :
48588   glibcxx_cv_func_atan2l_use=yes
48589 else
48590   glibcxx_cv_func_atan2l_use=no
48591 fi
48592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48593       ac_ext=c
48594 ac_cpp='$CPP $CPPFLAGS'
48595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48598
48599
48600 fi
48601
48602   fi
48603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48604 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48605
48606   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48607     for ac_func in atan2l
48608 do :
48609   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48610 if test "x$ac_cv_func_atan2l" = x""yes; then :
48611   cat >>confdefs.h <<_ACEOF
48612 #define HAVE_ATAN2L 1
48613 _ACEOF
48614
48615 fi
48616 done
48617
48618   else
48619
48620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48621 $as_echo_n "checking for _atan2l declaration... " >&6; }
48622   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48623     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48624   $as_echo_n "(cached) " >&6
48625 else
48626
48627
48628       ac_ext=cpp
48629 ac_cpp='$CXXCPP $CPPFLAGS'
48630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633
48634       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48635 /* end confdefs.h.  */
48636 #include <math.h>
48637 int
48638 main ()
48639 {
48640  _atan2l(0, 0);
48641   ;
48642   return 0;
48643 }
48644 _ACEOF
48645 if ac_fn_cxx_try_compile "$LINENO"; then :
48646   glibcxx_cv_func__atan2l_use=yes
48647 else
48648   glibcxx_cv_func__atan2l_use=no
48649 fi
48650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48651       ac_ext=c
48652 ac_cpp='$CPP $CPPFLAGS'
48653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48656
48657
48658 fi
48659
48660   fi
48661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48662 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48663
48664     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48665       for ac_func in _atan2l
48666 do :
48667   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48668 if test "x$ac_cv_func__atan2l" = x""yes; then :
48669   cat >>confdefs.h <<_ACEOF
48670 #define HAVE__ATAN2L 1
48671 _ACEOF
48672
48673 fi
48674 done
48675
48676     fi
48677   fi
48678
48679
48680
48681
48682
48683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48684 $as_echo_n "checking for expl declaration... " >&6; }
48685   if test x${glibcxx_cv_func_expl_use+set} != xset; then
48686     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48687   $as_echo_n "(cached) " >&6
48688 else
48689
48690
48691       ac_ext=cpp
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48696
48697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48698 /* end confdefs.h.  */
48699 #include <math.h>
48700                       #ifdef HAVE_IEEEFP_H
48701                       #include <ieeefp.h>
48702                       #endif
48703
48704 int
48705 main ()
48706 {
48707  expl(0);
48708   ;
48709   return 0;
48710 }
48711 _ACEOF
48712 if ac_fn_cxx_try_compile "$LINENO"; then :
48713   glibcxx_cv_func_expl_use=yes
48714 else
48715   glibcxx_cv_func_expl_use=no
48716 fi
48717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48718       ac_ext=c
48719 ac_cpp='$CPP $CPPFLAGS'
48720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48723
48724
48725 fi
48726
48727   fi
48728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48729 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48730
48731   if test x$glibcxx_cv_func_expl_use = x"yes"; then
48732     for ac_func in expl
48733 do :
48734   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48735 if test "x$ac_cv_func_expl" = x""yes; then :
48736   cat >>confdefs.h <<_ACEOF
48737 #define HAVE_EXPL 1
48738 _ACEOF
48739
48740 fi
48741 done
48742
48743   else
48744
48745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48746 $as_echo_n "checking for _expl declaration... " >&6; }
48747   if test x${glibcxx_cv_func__expl_use+set} != xset; then
48748     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48749   $as_echo_n "(cached) " >&6
48750 else
48751
48752
48753       ac_ext=cpp
48754 ac_cpp='$CXXCPP $CPPFLAGS'
48755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48758
48759       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48760 /* end confdefs.h.  */
48761 #include <math.h>
48762                       #ifdef HAVE_IEEEFP_H
48763                       #include <ieeefp.h>
48764                       #endif
48765
48766 int
48767 main ()
48768 {
48769  _expl(0);
48770   ;
48771   return 0;
48772 }
48773 _ACEOF
48774 if ac_fn_cxx_try_compile "$LINENO"; then :
48775   glibcxx_cv_func__expl_use=yes
48776 else
48777   glibcxx_cv_func__expl_use=no
48778 fi
48779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48780       ac_ext=c
48781 ac_cpp='$CPP $CPPFLAGS'
48782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48785
48786
48787 fi
48788
48789   fi
48790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48791 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48792
48793     if test x$glibcxx_cv_func__expl_use = x"yes"; then
48794       for ac_func in _expl
48795 do :
48796   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48797 if test "x$ac_cv_func__expl" = x""yes; then :
48798   cat >>confdefs.h <<_ACEOF
48799 #define HAVE__EXPL 1
48800 _ACEOF
48801
48802 fi
48803 done
48804
48805     fi
48806   fi
48807
48808
48809
48810
48811
48812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48813 $as_echo_n "checking for fabsl declaration... " >&6; }
48814   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48815     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48816   $as_echo_n "(cached) " >&6
48817 else
48818
48819
48820       ac_ext=cpp
48821 ac_cpp='$CXXCPP $CPPFLAGS'
48822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48825
48826       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48827 /* end confdefs.h.  */
48828 #include <math.h>
48829                       #ifdef HAVE_IEEEFP_H
48830                       #include <ieeefp.h>
48831                       #endif
48832
48833 int
48834 main ()
48835 {
48836  fabsl(0);
48837   ;
48838   return 0;
48839 }
48840 _ACEOF
48841 if ac_fn_cxx_try_compile "$LINENO"; then :
48842   glibcxx_cv_func_fabsl_use=yes
48843 else
48844   glibcxx_cv_func_fabsl_use=no
48845 fi
48846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48847       ac_ext=c
48848 ac_cpp='$CPP $CPPFLAGS'
48849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48852
48853
48854 fi
48855
48856   fi
48857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48858 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48859
48860   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48861     for ac_func in fabsl
48862 do :
48863   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48864 if test "x$ac_cv_func_fabsl" = x""yes; then :
48865   cat >>confdefs.h <<_ACEOF
48866 #define HAVE_FABSL 1
48867 _ACEOF
48868
48869 fi
48870 done
48871
48872   else
48873
48874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48875 $as_echo_n "checking for _fabsl declaration... " >&6; }
48876   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48877     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48878   $as_echo_n "(cached) " >&6
48879 else
48880
48881
48882       ac_ext=cpp
48883 ac_cpp='$CXXCPP $CPPFLAGS'
48884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48887
48888       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48889 /* end confdefs.h.  */
48890 #include <math.h>
48891                       #ifdef HAVE_IEEEFP_H
48892                       #include <ieeefp.h>
48893                       #endif
48894
48895 int
48896 main ()
48897 {
48898  _fabsl(0);
48899   ;
48900   return 0;
48901 }
48902 _ACEOF
48903 if ac_fn_cxx_try_compile "$LINENO"; then :
48904   glibcxx_cv_func__fabsl_use=yes
48905 else
48906   glibcxx_cv_func__fabsl_use=no
48907 fi
48908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48909       ac_ext=c
48910 ac_cpp='$CPP $CPPFLAGS'
48911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48914
48915
48916 fi
48917
48918   fi
48919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48920 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48921
48922     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48923       for ac_func in _fabsl
48924 do :
48925   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48926 if test "x$ac_cv_func__fabsl" = x""yes; then :
48927   cat >>confdefs.h <<_ACEOF
48928 #define HAVE__FABSL 1
48929 _ACEOF
48930
48931 fi
48932 done
48933
48934     fi
48935   fi
48936
48937
48938
48939
48940
48941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48942 $as_echo_n "checking for fmodl declaration... " >&6; }
48943   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48944     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48945   $as_echo_n "(cached) " >&6
48946 else
48947
48948
48949       ac_ext=cpp
48950 ac_cpp='$CXXCPP $CPPFLAGS'
48951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48954
48955       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48956 /* end confdefs.h.  */
48957 #include <math.h>
48958 int
48959 main ()
48960 {
48961  fmodl(0, 0);
48962   ;
48963   return 0;
48964 }
48965 _ACEOF
48966 if ac_fn_cxx_try_compile "$LINENO"; then :
48967   glibcxx_cv_func_fmodl_use=yes
48968 else
48969   glibcxx_cv_func_fmodl_use=no
48970 fi
48971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48972       ac_ext=c
48973 ac_cpp='$CPP $CPPFLAGS'
48974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48977
48978
48979 fi
48980
48981   fi
48982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48983 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48984
48985   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48986     for ac_func in fmodl
48987 do :
48988   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48989 if test "x$ac_cv_func_fmodl" = x""yes; then :
48990   cat >>confdefs.h <<_ACEOF
48991 #define HAVE_FMODL 1
48992 _ACEOF
48993
48994 fi
48995 done
48996
48997   else
48998
48999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49000 $as_echo_n "checking for _fmodl declaration... " >&6; }
49001   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49002     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49003   $as_echo_n "(cached) " >&6
49004 else
49005
49006
49007       ac_ext=cpp
49008 ac_cpp='$CXXCPP $CPPFLAGS'
49009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49012
49013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49014 /* end confdefs.h.  */
49015 #include <math.h>
49016 int
49017 main ()
49018 {
49019  _fmodl(0, 0);
49020   ;
49021   return 0;
49022 }
49023 _ACEOF
49024 if ac_fn_cxx_try_compile "$LINENO"; then :
49025   glibcxx_cv_func__fmodl_use=yes
49026 else
49027   glibcxx_cv_func__fmodl_use=no
49028 fi
49029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49030       ac_ext=c
49031 ac_cpp='$CPP $CPPFLAGS'
49032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49035
49036
49037 fi
49038
49039   fi
49040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49041 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49042
49043     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49044       for ac_func in _fmodl
49045 do :
49046   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49047 if test "x$ac_cv_func__fmodl" = x""yes; then :
49048   cat >>confdefs.h <<_ACEOF
49049 #define HAVE__FMODL 1
49050 _ACEOF
49051
49052 fi
49053 done
49054
49055     fi
49056   fi
49057
49058
49059
49060
49061
49062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49063 $as_echo_n "checking for frexpl declaration... " >&6; }
49064   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49065     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49066   $as_echo_n "(cached) " >&6
49067 else
49068
49069
49070       ac_ext=cpp
49071 ac_cpp='$CXXCPP $CPPFLAGS'
49072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49075
49076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49077 /* end confdefs.h.  */
49078 #include <math.h>
49079 int
49080 main ()
49081 {
49082  frexpl(0, 0);
49083   ;
49084   return 0;
49085 }
49086 _ACEOF
49087 if ac_fn_cxx_try_compile "$LINENO"; then :
49088   glibcxx_cv_func_frexpl_use=yes
49089 else
49090   glibcxx_cv_func_frexpl_use=no
49091 fi
49092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49093       ac_ext=c
49094 ac_cpp='$CPP $CPPFLAGS'
49095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49098
49099
49100 fi
49101
49102   fi
49103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49104 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49105
49106   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49107     for ac_func in frexpl
49108 do :
49109   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49110 if test "x$ac_cv_func_frexpl" = x""yes; then :
49111   cat >>confdefs.h <<_ACEOF
49112 #define HAVE_FREXPL 1
49113 _ACEOF
49114
49115 fi
49116 done
49117
49118   else
49119
49120   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49121 $as_echo_n "checking for _frexpl declaration... " >&6; }
49122   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49123     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49124   $as_echo_n "(cached) " >&6
49125 else
49126
49127
49128       ac_ext=cpp
49129 ac_cpp='$CXXCPP $CPPFLAGS'
49130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49133
49134       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49135 /* end confdefs.h.  */
49136 #include <math.h>
49137 int
49138 main ()
49139 {
49140  _frexpl(0, 0);
49141   ;
49142   return 0;
49143 }
49144 _ACEOF
49145 if ac_fn_cxx_try_compile "$LINENO"; then :
49146   glibcxx_cv_func__frexpl_use=yes
49147 else
49148   glibcxx_cv_func__frexpl_use=no
49149 fi
49150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49151       ac_ext=c
49152 ac_cpp='$CPP $CPPFLAGS'
49153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49156
49157
49158 fi
49159
49160   fi
49161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49162 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49163
49164     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49165       for ac_func in _frexpl
49166 do :
49167   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49168 if test "x$ac_cv_func__frexpl" = x""yes; then :
49169   cat >>confdefs.h <<_ACEOF
49170 #define HAVE__FREXPL 1
49171 _ACEOF
49172
49173 fi
49174 done
49175
49176     fi
49177   fi
49178
49179
49180
49181
49182
49183   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49184 $as_echo_n "checking for hypotl declaration... " >&6; }
49185   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49186     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49187   $as_echo_n "(cached) " >&6
49188 else
49189
49190
49191       ac_ext=cpp
49192 ac_cpp='$CXXCPP $CPPFLAGS'
49193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49196
49197       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49198 /* end confdefs.h.  */
49199 #include <math.h>
49200 int
49201 main ()
49202 {
49203  hypotl(0, 0);
49204   ;
49205   return 0;
49206 }
49207 _ACEOF
49208 if ac_fn_cxx_try_compile "$LINENO"; then :
49209   glibcxx_cv_func_hypotl_use=yes
49210 else
49211   glibcxx_cv_func_hypotl_use=no
49212 fi
49213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49214       ac_ext=c
49215 ac_cpp='$CPP $CPPFLAGS'
49216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49219
49220
49221 fi
49222
49223   fi
49224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49225 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49226
49227   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49228     for ac_func in hypotl
49229 do :
49230   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49231 if test "x$ac_cv_func_hypotl" = x""yes; then :
49232   cat >>confdefs.h <<_ACEOF
49233 #define HAVE_HYPOTL 1
49234 _ACEOF
49235
49236 fi
49237 done
49238
49239   else
49240
49241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49242 $as_echo_n "checking for _hypotl declaration... " >&6; }
49243   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49244     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49245   $as_echo_n "(cached) " >&6
49246 else
49247
49248
49249       ac_ext=cpp
49250 ac_cpp='$CXXCPP $CPPFLAGS'
49251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49254
49255       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49256 /* end confdefs.h.  */
49257 #include <math.h>
49258 int
49259 main ()
49260 {
49261  _hypotl(0, 0);
49262   ;
49263   return 0;
49264 }
49265 _ACEOF
49266 if ac_fn_cxx_try_compile "$LINENO"; then :
49267   glibcxx_cv_func__hypotl_use=yes
49268 else
49269   glibcxx_cv_func__hypotl_use=no
49270 fi
49271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49272       ac_ext=c
49273 ac_cpp='$CPP $CPPFLAGS'
49274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49277
49278
49279 fi
49280
49281   fi
49282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49283 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49284
49285     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49286       for ac_func in _hypotl
49287 do :
49288   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49289 if test "x$ac_cv_func__hypotl" = x""yes; then :
49290   cat >>confdefs.h <<_ACEOF
49291 #define HAVE__HYPOTL 1
49292 _ACEOF
49293
49294 fi
49295 done
49296
49297     fi
49298   fi
49299
49300
49301
49302
49303
49304   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49305 $as_echo_n "checking for ldexpl declaration... " >&6; }
49306   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49307     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49308   $as_echo_n "(cached) " >&6
49309 else
49310
49311
49312       ac_ext=cpp
49313 ac_cpp='$CXXCPP $CPPFLAGS'
49314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49317
49318       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49319 /* end confdefs.h.  */
49320 #include <math.h>
49321 int
49322 main ()
49323 {
49324  ldexpl(0, 0);
49325   ;
49326   return 0;
49327 }
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330   glibcxx_cv_func_ldexpl_use=yes
49331 else
49332   glibcxx_cv_func_ldexpl_use=no
49333 fi
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335       ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344   fi
49345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49346 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49347
49348   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49349     for ac_func in ldexpl
49350 do :
49351   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49352 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49353   cat >>confdefs.h <<_ACEOF
49354 #define HAVE_LDEXPL 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360   else
49361
49362   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49363 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49364   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49365     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49366   $as_echo_n "(cached) " >&6
49367 else
49368
49369
49370       ac_ext=cpp
49371 ac_cpp='$CXXCPP $CPPFLAGS'
49372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49375
49376       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49377 /* end confdefs.h.  */
49378 #include <math.h>
49379 int
49380 main ()
49381 {
49382  _ldexpl(0, 0);
49383   ;
49384   return 0;
49385 }
49386 _ACEOF
49387 if ac_fn_cxx_try_compile "$LINENO"; then :
49388   glibcxx_cv_func__ldexpl_use=yes
49389 else
49390   glibcxx_cv_func__ldexpl_use=no
49391 fi
49392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49393       ac_ext=c
49394 ac_cpp='$CPP $CPPFLAGS'
49395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398
49399
49400 fi
49401
49402   fi
49403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49404 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49405
49406     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49407       for ac_func in _ldexpl
49408 do :
49409   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49410 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49411   cat >>confdefs.h <<_ACEOF
49412 #define HAVE__LDEXPL 1
49413 _ACEOF
49414
49415 fi
49416 done
49417
49418     fi
49419   fi
49420
49421
49422
49423
49424
49425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49426 $as_echo_n "checking for logl declaration... " >&6; }
49427   if test x${glibcxx_cv_func_logl_use+set} != xset; then
49428     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49429   $as_echo_n "(cached) " >&6
49430 else
49431
49432
49433       ac_ext=cpp
49434 ac_cpp='$CXXCPP $CPPFLAGS'
49435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49438
49439       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49440 /* end confdefs.h.  */
49441 #include <math.h>
49442                       #ifdef HAVE_IEEEFP_H
49443                       #include <ieeefp.h>
49444                       #endif
49445
49446 int
49447 main ()
49448 {
49449  logl(0);
49450   ;
49451   return 0;
49452 }
49453 _ACEOF
49454 if ac_fn_cxx_try_compile "$LINENO"; then :
49455   glibcxx_cv_func_logl_use=yes
49456 else
49457   glibcxx_cv_func_logl_use=no
49458 fi
49459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49460       ac_ext=c
49461 ac_cpp='$CPP $CPPFLAGS'
49462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465
49466
49467 fi
49468
49469   fi
49470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49471 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49472
49473   if test x$glibcxx_cv_func_logl_use = x"yes"; then
49474     for ac_func in logl
49475 do :
49476   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49477 if test "x$ac_cv_func_logl" = x""yes; then :
49478   cat >>confdefs.h <<_ACEOF
49479 #define HAVE_LOGL 1
49480 _ACEOF
49481
49482 fi
49483 done
49484
49485   else
49486
49487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49488 $as_echo_n "checking for _logl declaration... " >&6; }
49489   if test x${glibcxx_cv_func__logl_use+set} != xset; then
49490     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49491   $as_echo_n "(cached) " >&6
49492 else
49493
49494
49495       ac_ext=cpp
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49500
49501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h.  */
49503 #include <math.h>
49504                       #ifdef HAVE_IEEEFP_H
49505                       #include <ieeefp.h>
49506                       #endif
49507
49508 int
49509 main ()
49510 {
49511  _logl(0);
49512   ;
49513   return 0;
49514 }
49515 _ACEOF
49516 if ac_fn_cxx_try_compile "$LINENO"; then :
49517   glibcxx_cv_func__logl_use=yes
49518 else
49519   glibcxx_cv_func__logl_use=no
49520 fi
49521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49522       ac_ext=c
49523 ac_cpp='$CPP $CPPFLAGS'
49524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49527
49528
49529 fi
49530
49531   fi
49532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49533 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49534
49535     if test x$glibcxx_cv_func__logl_use = x"yes"; then
49536       for ac_func in _logl
49537 do :
49538   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49539 if test "x$ac_cv_func__logl" = x""yes; then :
49540   cat >>confdefs.h <<_ACEOF
49541 #define HAVE__LOGL 1
49542 _ACEOF
49543
49544 fi
49545 done
49546
49547     fi
49548   fi
49549
49550
49551
49552
49553
49554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49555 $as_echo_n "checking for log10l declaration... " >&6; }
49556   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49557     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49558   $as_echo_n "(cached) " >&6
49559 else
49560
49561
49562       ac_ext=cpp
49563 ac_cpp='$CXXCPP $CPPFLAGS'
49564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49567
49568       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49569 /* end confdefs.h.  */
49570 #include <math.h>
49571                       #ifdef HAVE_IEEEFP_H
49572                       #include <ieeefp.h>
49573                       #endif
49574
49575 int
49576 main ()
49577 {
49578  log10l(0);
49579   ;
49580   return 0;
49581 }
49582 _ACEOF
49583 if ac_fn_cxx_try_compile "$LINENO"; then :
49584   glibcxx_cv_func_log10l_use=yes
49585 else
49586   glibcxx_cv_func_log10l_use=no
49587 fi
49588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49589       ac_ext=c
49590 ac_cpp='$CPP $CPPFLAGS'
49591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49594
49595
49596 fi
49597
49598   fi
49599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49600 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49601
49602   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49603     for ac_func in log10l
49604 do :
49605   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49606 if test "x$ac_cv_func_log10l" = x""yes; then :
49607   cat >>confdefs.h <<_ACEOF
49608 #define HAVE_LOG10L 1
49609 _ACEOF
49610
49611 fi
49612 done
49613
49614   else
49615
49616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49617 $as_echo_n "checking for _log10l declaration... " >&6; }
49618   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49619     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49620   $as_echo_n "(cached) " >&6
49621 else
49622
49623
49624       ac_ext=cpp
49625 ac_cpp='$CXXCPP $CPPFLAGS'
49626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49629
49630       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49631 /* end confdefs.h.  */
49632 #include <math.h>
49633                       #ifdef HAVE_IEEEFP_H
49634                       #include <ieeefp.h>
49635                       #endif
49636
49637 int
49638 main ()
49639 {
49640  _log10l(0);
49641   ;
49642   return 0;
49643 }
49644 _ACEOF
49645 if ac_fn_cxx_try_compile "$LINENO"; then :
49646   glibcxx_cv_func__log10l_use=yes
49647 else
49648   glibcxx_cv_func__log10l_use=no
49649 fi
49650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49651       ac_ext=c
49652 ac_cpp='$CPP $CPPFLAGS'
49653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49656
49657
49658 fi
49659
49660   fi
49661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49662 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49663
49664     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49665       for ac_func in _log10l
49666 do :
49667   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49668 if test "x$ac_cv_func__log10l" = x""yes; then :
49669   cat >>confdefs.h <<_ACEOF
49670 #define HAVE__LOG10L 1
49671 _ACEOF
49672
49673 fi
49674 done
49675
49676     fi
49677   fi
49678
49679
49680
49681
49682
49683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49684 $as_echo_n "checking for modfl declaration... " >&6; }
49685   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49686     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49687   $as_echo_n "(cached) " >&6
49688 else
49689
49690
49691       ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49696
49697       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h.  */
49699 #include <math.h>
49700 int
49701 main ()
49702 {
49703  modfl(0, 0);
49704   ;
49705   return 0;
49706 }
49707 _ACEOF
49708 if ac_fn_cxx_try_compile "$LINENO"; then :
49709   glibcxx_cv_func_modfl_use=yes
49710 else
49711   glibcxx_cv_func_modfl_use=no
49712 fi
49713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49714       ac_ext=c
49715 ac_cpp='$CPP $CPPFLAGS'
49716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49719
49720
49721 fi
49722
49723   fi
49724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49725 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49726
49727   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49728     for ac_func in modfl
49729 do :
49730   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49731 if test "x$ac_cv_func_modfl" = x""yes; then :
49732   cat >>confdefs.h <<_ACEOF
49733 #define HAVE_MODFL 1
49734 _ACEOF
49735
49736 fi
49737 done
49738
49739   else
49740
49741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49742 $as_echo_n "checking for _modfl declaration... " >&6; }
49743   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49744     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49745   $as_echo_n "(cached) " >&6
49746 else
49747
49748
49749       ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754
49755       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h.  */
49757 #include <math.h>
49758 int
49759 main ()
49760 {
49761  _modfl(0, 0);
49762   ;
49763   return 0;
49764 }
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767   glibcxx_cv_func__modfl_use=yes
49768 else
49769   glibcxx_cv_func__modfl_use=no
49770 fi
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772       ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49777
49778
49779 fi
49780
49781   fi
49782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49783 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49784
49785     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49786       for ac_func in _modfl
49787 do :
49788   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49789 if test "x$ac_cv_func__modfl" = x""yes; then :
49790   cat >>confdefs.h <<_ACEOF
49791 #define HAVE__MODFL 1
49792 _ACEOF
49793
49794 fi
49795 done
49796
49797     fi
49798   fi
49799
49800
49801
49802
49803
49804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49805 $as_echo_n "checking for powl declaration... " >&6; }
49806   if test x${glibcxx_cv_func_powl_use+set} != xset; then
49807     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49808   $as_echo_n "(cached) " >&6
49809 else
49810
49811
49812       ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49817
49818       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h.  */
49820 #include <math.h>
49821 int
49822 main ()
49823 {
49824  powl(0, 0);
49825   ;
49826   return 0;
49827 }
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830   glibcxx_cv_func_powl_use=yes
49831 else
49832   glibcxx_cv_func_powl_use=no
49833 fi
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835       ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49840
49841
49842 fi
49843
49844   fi
49845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49846 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49847
49848   if test x$glibcxx_cv_func_powl_use = x"yes"; then
49849     for ac_func in powl
49850 do :
49851   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49852 if test "x$ac_cv_func_powl" = x""yes; then :
49853   cat >>confdefs.h <<_ACEOF
49854 #define HAVE_POWL 1
49855 _ACEOF
49856
49857 fi
49858 done
49859
49860   else
49861
49862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49863 $as_echo_n "checking for _powl declaration... " >&6; }
49864   if test x${glibcxx_cv_func__powl_use+set} != xset; then
49865     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49866   $as_echo_n "(cached) " >&6
49867 else
49868
49869
49870       ac_ext=cpp
49871 ac_cpp='$CXXCPP $CPPFLAGS'
49872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49875
49876       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h.  */
49878 #include <math.h>
49879 int
49880 main ()
49881 {
49882  _powl(0, 0);
49883   ;
49884   return 0;
49885 }
49886 _ACEOF
49887 if ac_fn_cxx_try_compile "$LINENO"; then :
49888   glibcxx_cv_func__powl_use=yes
49889 else
49890   glibcxx_cv_func__powl_use=no
49891 fi
49892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49893       ac_ext=c
49894 ac_cpp='$CPP $CPPFLAGS'
49895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49898
49899
49900 fi
49901
49902   fi
49903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49904 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49905
49906     if test x$glibcxx_cv_func__powl_use = x"yes"; then
49907       for ac_func in _powl
49908 do :
49909   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49910 if test "x$ac_cv_func__powl" = x""yes; then :
49911   cat >>confdefs.h <<_ACEOF
49912 #define HAVE__POWL 1
49913 _ACEOF
49914
49915 fi
49916 done
49917
49918     fi
49919   fi
49920
49921
49922
49923
49924
49925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49926 $as_echo_n "checking for sqrtl declaration... " >&6; }
49927   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49928     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49929   $as_echo_n "(cached) " >&6
49930 else
49931
49932
49933       ac_ext=cpp
49934 ac_cpp='$CXXCPP $CPPFLAGS'
49935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49938
49939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49940 /* end confdefs.h.  */
49941 #include <math.h>
49942                       #ifdef HAVE_IEEEFP_H
49943                       #include <ieeefp.h>
49944                       #endif
49945
49946 int
49947 main ()
49948 {
49949  sqrtl(0);
49950   ;
49951   return 0;
49952 }
49953 _ACEOF
49954 if ac_fn_cxx_try_compile "$LINENO"; then :
49955   glibcxx_cv_func_sqrtl_use=yes
49956 else
49957   glibcxx_cv_func_sqrtl_use=no
49958 fi
49959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49960       ac_ext=c
49961 ac_cpp='$CPP $CPPFLAGS'
49962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49965
49966
49967 fi
49968
49969   fi
49970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49971 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49972
49973   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49974     for ac_func in sqrtl
49975 do :
49976   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49977 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49978   cat >>confdefs.h <<_ACEOF
49979 #define HAVE_SQRTL 1
49980 _ACEOF
49981
49982 fi
49983 done
49984
49985   else
49986
49987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49988 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49989   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49990     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49991   $as_echo_n "(cached) " >&6
49992 else
49993
49994
49995       ac_ext=cpp
49996 ac_cpp='$CXXCPP $CPPFLAGS'
49997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50000
50001       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50002 /* end confdefs.h.  */
50003 #include <math.h>
50004                       #ifdef HAVE_IEEEFP_H
50005                       #include <ieeefp.h>
50006                       #endif
50007
50008 int
50009 main ()
50010 {
50011  _sqrtl(0);
50012   ;
50013   return 0;
50014 }
50015 _ACEOF
50016 if ac_fn_cxx_try_compile "$LINENO"; then :
50017   glibcxx_cv_func__sqrtl_use=yes
50018 else
50019   glibcxx_cv_func__sqrtl_use=no
50020 fi
50021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50022       ac_ext=c
50023 ac_cpp='$CPP $CPPFLAGS'
50024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50027
50028
50029 fi
50030
50031   fi
50032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50033 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50034
50035     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50036       for ac_func in _sqrtl
50037 do :
50038   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50039 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50040   cat >>confdefs.h <<_ACEOF
50041 #define HAVE__SQRTL 1
50042 _ACEOF
50043
50044 fi
50045 done
50046
50047     fi
50048   fi
50049
50050
50051
50052
50053
50054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50055 $as_echo_n "checking for sincosl declaration... " >&6; }
50056   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50057     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50058   $as_echo_n "(cached) " >&6
50059 else
50060
50061
50062       ac_ext=cpp
50063 ac_cpp='$CXXCPP $CPPFLAGS'
50064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50067
50068       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50069 /* end confdefs.h.  */
50070 #include <math.h>
50071 int
50072 main ()
50073 {
50074  sincosl(0, 0, 0);
50075   ;
50076   return 0;
50077 }
50078 _ACEOF
50079 if ac_fn_cxx_try_compile "$LINENO"; then :
50080   glibcxx_cv_func_sincosl_use=yes
50081 else
50082   glibcxx_cv_func_sincosl_use=no
50083 fi
50084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50085       ac_ext=c
50086 ac_cpp='$CPP $CPPFLAGS'
50087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50090
50091
50092 fi
50093
50094   fi
50095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50096 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50097
50098   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50099     for ac_func in sincosl
50100 do :
50101   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50102 if test "x$ac_cv_func_sincosl" = x""yes; then :
50103   cat >>confdefs.h <<_ACEOF
50104 #define HAVE_SINCOSL 1
50105 _ACEOF
50106
50107 fi
50108 done
50109
50110   else
50111
50112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50113 $as_echo_n "checking for _sincosl declaration... " >&6; }
50114   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50115     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50116   $as_echo_n "(cached) " >&6
50117 else
50118
50119
50120       ac_ext=cpp
50121 ac_cpp='$CXXCPP $CPPFLAGS'
50122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50125
50126       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50127 /* end confdefs.h.  */
50128 #include <math.h>
50129 int
50130 main ()
50131 {
50132  _sincosl(0, 0, 0);
50133   ;
50134   return 0;
50135 }
50136 _ACEOF
50137 if ac_fn_cxx_try_compile "$LINENO"; then :
50138   glibcxx_cv_func__sincosl_use=yes
50139 else
50140   glibcxx_cv_func__sincosl_use=no
50141 fi
50142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50143       ac_ext=c
50144 ac_cpp='$CPP $CPPFLAGS'
50145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50148
50149
50150 fi
50151
50152   fi
50153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50154 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50155
50156     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50157       for ac_func in _sincosl
50158 do :
50159   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50160 if test "x$ac_cv_func__sincosl" = x""yes; then :
50161   cat >>confdefs.h <<_ACEOF
50162 #define HAVE__SINCOSL 1
50163 _ACEOF
50164
50165 fi
50166 done
50167
50168     fi
50169   fi
50170
50171
50172
50173
50174
50175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50176 $as_echo_n "checking for finitel declaration... " >&6; }
50177   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50178     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50179   $as_echo_n "(cached) " >&6
50180 else
50181
50182
50183       ac_ext=cpp
50184 ac_cpp='$CXXCPP $CPPFLAGS'
50185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50188
50189       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50190 /* end confdefs.h.  */
50191 #include <math.h>
50192                       #ifdef HAVE_IEEEFP_H
50193                       #include <ieeefp.h>
50194                       #endif
50195
50196 int
50197 main ()
50198 {
50199  finitel(0);
50200   ;
50201   return 0;
50202 }
50203 _ACEOF
50204 if ac_fn_cxx_try_compile "$LINENO"; then :
50205   glibcxx_cv_func_finitel_use=yes
50206 else
50207   glibcxx_cv_func_finitel_use=no
50208 fi
50209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50210       ac_ext=c
50211 ac_cpp='$CPP $CPPFLAGS'
50212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50215
50216
50217 fi
50218
50219   fi
50220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50221 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50222
50223   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50224     for ac_func in finitel
50225 do :
50226   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50227 if test "x$ac_cv_func_finitel" = x""yes; then :
50228   cat >>confdefs.h <<_ACEOF
50229 #define HAVE_FINITEL 1
50230 _ACEOF
50231
50232 fi
50233 done
50234
50235   else
50236
50237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50238 $as_echo_n "checking for _finitel declaration... " >&6; }
50239   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50240     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50241   $as_echo_n "(cached) " >&6
50242 else
50243
50244
50245       ac_ext=cpp
50246 ac_cpp='$CXXCPP $CPPFLAGS'
50247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50250
50251       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50252 /* end confdefs.h.  */
50253 #include <math.h>
50254                       #ifdef HAVE_IEEEFP_H
50255                       #include <ieeefp.h>
50256                       #endif
50257
50258 int
50259 main ()
50260 {
50261  _finitel(0);
50262   ;
50263   return 0;
50264 }
50265 _ACEOF
50266 if ac_fn_cxx_try_compile "$LINENO"; then :
50267   glibcxx_cv_func__finitel_use=yes
50268 else
50269   glibcxx_cv_func__finitel_use=no
50270 fi
50271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50272       ac_ext=c
50273 ac_cpp='$CPP $CPPFLAGS'
50274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50277
50278
50279 fi
50280
50281   fi
50282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50283 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50284
50285     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50286       for ac_func in _finitel
50287 do :
50288   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50289 if test "x$ac_cv_func__finitel" = x""yes; then :
50290   cat >>confdefs.h <<_ACEOF
50291 #define HAVE__FINITEL 1
50292 _ACEOF
50293
50294 fi
50295 done
50296
50297     fi
50298   fi
50299
50300
50301
50302
50303   LIBS="$ac_save_LIBS"
50304   CXXFLAGS="$ac_save_CXXFLAGS"
50305
50306
50307   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50308   ac_save_CXXFLAGS="$CXXFLAGS"
50309   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50310
50311
50312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50313 $as_echo_n "checking for strtold declaration... " >&6; }
50314   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50315     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
50316   $as_echo_n "(cached) " >&6
50317 else
50318
50319
50320       ac_ext=cpp
50321 ac_cpp='$CXXCPP $CPPFLAGS'
50322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50325
50326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h.  */
50328 #include <stdlib.h>
50329 int
50330 main ()
50331 {
50332  strtold(0, 0);
50333   ;
50334   return 0;
50335 }
50336 _ACEOF
50337 if ac_fn_cxx_try_compile "$LINENO"; then :
50338   glibcxx_cv_func_strtold_use=yes
50339 else
50340   glibcxx_cv_func_strtold_use=no
50341 fi
50342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50343       ac_ext=c
50344 ac_cpp='$CPP $CPPFLAGS'
50345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50348
50349
50350 fi
50351
50352   fi
50353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
50354 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50355   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50356     for ac_func in strtold
50357 do :
50358   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50359 if test "x$ac_cv_func_strtold" = x""yes; then :
50360   cat >>confdefs.h <<_ACEOF
50361 #define HAVE_STRTOLD 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367   fi
50368
50369
50370
50371
50372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50373 $as_echo_n "checking for strtof declaration... " >&6; }
50374   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50375     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50376   $as_echo_n "(cached) " >&6
50377 else
50378
50379
50380       ac_ext=cpp
50381 ac_cpp='$CXXCPP $CPPFLAGS'
50382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50385
50386       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387 /* end confdefs.h.  */
50388 #include <stdlib.h>
50389 int
50390 main ()
50391 {
50392  strtof(0, 0);
50393   ;
50394   return 0;
50395 }
50396 _ACEOF
50397 if ac_fn_cxx_try_compile "$LINENO"; then :
50398   glibcxx_cv_func_strtof_use=yes
50399 else
50400   glibcxx_cv_func_strtof_use=no
50401 fi
50402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50403       ac_ext=c
50404 ac_cpp='$CPP $CPPFLAGS'
50405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408
50409
50410 fi
50411
50412   fi
50413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50414 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50415   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50416     for ac_func in strtof
50417 do :
50418   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50419 if test "x$ac_cv_func_strtof" = x""yes; then :
50420   cat >>confdefs.h <<_ACEOF
50421 #define HAVE_STRTOF 1
50422 _ACEOF
50423
50424 fi
50425 done
50426
50427   fi
50428
50429
50430
50431
50432   CXXFLAGS="$ac_save_CXXFLAGS"
50433
50434     $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50435
50436
50437
50438    # Check whether --enable-tls was given.
50439 if test "${enable_tls+set}" = set; then :
50440   enableval=$enable_tls;
50441       case "$enableval" in
50442        yes|no) ;;
50443        *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50444       esac
50445
50446 else
50447   enable_tls=yes
50448 fi
50449
50450
50451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50452 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50453 if test "${gcc_cv_have_tls+set}" = set; then :
50454   $as_echo_n "(cached) " >&6
50455 else
50456
50457     if test "$cross_compiling" = yes; then :
50458                 if test x$gcc_no_link = xyes; then
50459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50460 fi
50461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50462 /* end confdefs.h.  */
50463 __thread int a; int b; int main() { return a = b; }
50464 _ACEOF
50465 if ac_fn_c_try_link "$LINENO"; then :
50466   chktls_save_LDFLAGS="$LDFLAGS"
50467                           case $host in
50468             *-*-linux*)
50469               LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50470               ;;
50471           esac
50472           chktls_save_CFLAGS="$CFLAGS"
50473           CFLAGS="-fPIC $CFLAGS"
50474                   if test x$gcc_no_link = xyes; then
50475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50476 fi
50477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50478 /* end confdefs.h.  */
50479 int f() { return 0; }
50480 _ACEOF
50481 if ac_fn_c_try_link "$LINENO"; then :
50482   if test x$gcc_no_link = xyes; then
50483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50484 fi
50485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50486 /* end confdefs.h.  */
50487 __thread int a; int b; int f() { return a = b; }
50488 _ACEOF
50489 if ac_fn_c_try_link "$LINENO"; then :
50490   gcc_cv_have_tls=yes
50491 else
50492   gcc_cv_have_tls=no
50493 fi
50494 rm -f core conftest.err conftest.$ac_objext \
50495     conftest$ac_exeext conftest.$ac_ext
50496 else
50497   gcc_cv_have_tls=yes
50498 fi
50499 rm -f core conftest.err conftest.$ac_objext \
50500     conftest$ac_exeext conftest.$ac_ext
50501           CFLAGS="$chktls_save_CFLAGS"
50502           LDFLAGS="$chktls_save_LDFLAGS"
50503 else
50504   gcc_cv_have_tls=no
50505 fi
50506 rm -f core conftest.err conftest.$ac_objext \
50507     conftest$ac_exeext conftest.$ac_ext
50508
50509
50510 else
50511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50512 /* end confdefs.h.  */
50513 __thread int a; int b; int main() { return a = b; }
50514 _ACEOF
50515 if ac_fn_c_try_run "$LINENO"; then :
50516                       chktls_save_LDFLAGS="$LDFLAGS"
50517       LDFLAGS="-static $LDFLAGS"
50518       if test x$gcc_no_link = xyes; then
50519   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50520 fi
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h.  */
50523 int main() { return 0; }
50524 _ACEOF
50525 if ac_fn_c_try_link "$LINENO"; then :
50526   if test "$cross_compiling" = yes; then :
50527   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50529 as_fn_error "cannot run test program while cross compiling
50530 See \`config.log' for more details." "$LINENO" 5; }
50531 else
50532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50533 /* end confdefs.h.  */
50534 __thread int a; int b; int main() { return a = b; }
50535 _ACEOF
50536 if ac_fn_c_try_run "$LINENO"; then :
50537   gcc_cv_have_tls=yes
50538 else
50539   gcc_cv_have_tls=no
50540 fi
50541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50542   conftest.$ac_objext conftest.beam conftest.$ac_ext
50543 fi
50544
50545 else
50546   gcc_cv_have_tls=yes
50547 fi
50548 rm -f core conftest.err conftest.$ac_objext \
50549     conftest$ac_exeext conftest.$ac_ext
50550       LDFLAGS="$chktls_save_LDFLAGS"
50551       if test $gcc_cv_have_tls = yes; then
50552                                                 chktls_save_CFLAGS="$CFLAGS"
50553         thread_CFLAGS=failed
50554         for flag in '' '-pthread' '-lpthread'; do
50555           CFLAGS="$flag $chktls_save_CFLAGS"
50556           if test x$gcc_no_link = xyes; then
50557   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50558 fi
50559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50560 /* end confdefs.h.  */
50561 #include <pthread.h>
50562                 void *g(void *d) { return NULL; }
50563 int
50564 main ()
50565 {
50566 pthread_t t; pthread_create(&t,NULL,g,NULL);
50567   ;
50568   return 0;
50569 }
50570 _ACEOF
50571 if ac_fn_c_try_link "$LINENO"; then :
50572   thread_CFLAGS="$flag"
50573 fi
50574 rm -f core conftest.err conftest.$ac_objext \
50575     conftest$ac_exeext conftest.$ac_ext
50576           if test "X$thread_CFLAGS" != Xfailed; then
50577             break
50578           fi
50579         done
50580         CFLAGS="$chktls_save_CFLAGS"
50581         if test "X$thread_CFLAGS" != Xfailed; then
50582           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50583           if test "$cross_compiling" = yes; then :
50584   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50586 as_fn_error "cannot run test program while cross compiling
50587 See \`config.log' for more details." "$LINENO" 5; }
50588 else
50589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50590 /* end confdefs.h.  */
50591 #include <pthread.h>
50592                 __thread int a;
50593                 static int *a_in_other_thread;
50594                 static void *
50595                 thread_func (void *arg)
50596                 {
50597                   a_in_other_thread = &a;
50598                   return (void *)0;
50599                 }
50600 int
50601 main ()
50602 {
50603 pthread_t thread;
50604                 void *thread_retval;
50605                 int *a_in_main_thread;
50606                 if (pthread_create (&thread, (pthread_attr_t *)0,
50607                                     thread_func, (void *)0))
50608                   return 0;
50609                 a_in_main_thread = &a;
50610                 if (pthread_join (thread, &thread_retval))
50611                   return 0;
50612                 return (a_in_other_thread == a_in_main_thread);
50613   ;
50614   return 0;
50615 }
50616 _ACEOF
50617 if ac_fn_c_try_run "$LINENO"; then :
50618   gcc_cv_have_tls=yes
50619 else
50620   gcc_cv_have_tls=no
50621 fi
50622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50623   conftest.$ac_objext conftest.beam conftest.$ac_ext
50624 fi
50625
50626           CFLAGS="$chktls_save_CFLAGS"
50627         fi
50628       fi
50629 else
50630   gcc_cv_have_tls=no
50631 fi
50632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50633   conftest.$ac_objext conftest.beam conftest.$ac_ext
50634 fi
50635
50636 fi
50637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50638 $as_echo "$gcc_cv_have_tls" >&6; }
50639   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50640
50641 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50642
50643   fi
50644
50645
50646
50647
50648
50649           am_save_CPPFLAGS="$CPPFLAGS"
50650
50651   for element in $INCICONV; do
50652     haveit=
50653     for x in $CPPFLAGS; do
50654
50655   acl_save_prefix="$prefix"
50656   prefix="$acl_final_prefix"
50657   acl_save_exec_prefix="$exec_prefix"
50658   exec_prefix="$acl_final_exec_prefix"
50659   eval x=\"$x\"
50660   exec_prefix="$acl_save_exec_prefix"
50661   prefix="$acl_save_prefix"
50662
50663       if test "X$x" = "X$element"; then
50664         haveit=yes
50665         break
50666       fi
50667     done
50668     if test -z "$haveit"; then
50669       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50670     fi
50671   done
50672
50673
50674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50675 $as_echo_n "checking for iconv... " >&6; }
50676 if test "${am_cv_func_iconv+set}" = set; then :
50677   $as_echo_n "(cached) " >&6
50678 else
50679
50680     am_cv_func_iconv="no, consider installing GNU libiconv"
50681     am_cv_lib_iconv=no
50682     if test x$gcc_no_link = xyes; then
50683   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50684 fi
50685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50686 /* end confdefs.h.  */
50687 #include <stdlib.h>
50688 #include <iconv.h>
50689 int
50690 main ()
50691 {
50692 iconv_t cd = iconv_open("","");
50693        iconv(cd,NULL,NULL,NULL,NULL);
50694        iconv_close(cd);
50695   ;
50696   return 0;
50697 }
50698 _ACEOF
50699 if ac_fn_c_try_link "$LINENO"; then :
50700   am_cv_func_iconv=yes
50701 fi
50702 rm -f core conftest.err conftest.$ac_objext \
50703     conftest$ac_exeext conftest.$ac_ext
50704     if test "$am_cv_func_iconv" != yes; then
50705       am_save_LIBS="$LIBS"
50706       LIBS="$LIBS $LIBICONV"
50707       if test x$gcc_no_link = xyes; then
50708   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50709 fi
50710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50711 /* end confdefs.h.  */
50712 #include <stdlib.h>
50713 #include <iconv.h>
50714 int
50715 main ()
50716 {
50717 iconv_t cd = iconv_open("","");
50718          iconv(cd,NULL,NULL,NULL,NULL);
50719          iconv_close(cd);
50720   ;
50721   return 0;
50722 }
50723 _ACEOF
50724 if ac_fn_c_try_link "$LINENO"; then :
50725   am_cv_lib_iconv=yes
50726         am_cv_func_iconv=yes
50727 fi
50728 rm -f core conftest.err conftest.$ac_objext \
50729     conftest$ac_exeext conftest.$ac_ext
50730       LIBS="$am_save_LIBS"
50731     fi
50732
50733 fi
50734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50735 $as_echo "$am_cv_func_iconv" >&6; }
50736   if test "$am_cv_func_iconv" = yes; then
50737
50738 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50739
50740   fi
50741   if test "$am_cv_lib_iconv" = yes; then
50742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50743 $as_echo_n "checking how to link with libiconv... " >&6; }
50744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50745 $as_echo "$LIBICONV" >&6; }
50746   else
50747             CPPFLAGS="$am_save_CPPFLAGS"
50748     LIBICONV=
50749     LTLIBICONV=
50750   fi
50751
50752
50753
50754   if test "$am_cv_func_iconv" = yes; then
50755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50756 $as_echo_n "checking for iconv declaration... " >&6; }
50757     if test "${am_cv_proto_iconv+set}" = set; then :
50758   $as_echo_n "(cached) " >&6
50759 else
50760
50761       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50762 /* end confdefs.h.  */
50763
50764 #include <stdlib.h>
50765 #include <iconv.h>
50766 extern
50767 #ifdef __cplusplus
50768 "C"
50769 #endif
50770 #if defined(__STDC__) || defined(__cplusplus)
50771 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50772 #else
50773 size_t iconv();
50774 #endif
50775
50776 int
50777 main ()
50778 {
50779
50780   ;
50781   return 0;
50782 }
50783 _ACEOF
50784 if ac_fn_c_try_compile "$LINENO"; then :
50785   am_cv_proto_iconv_arg1=""
50786 else
50787   am_cv_proto_iconv_arg1="const"
50788 fi
50789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50790       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);"
50791 fi
50792
50793     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50794     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50795          }$am_cv_proto_iconv" >&5
50796 $as_echo "${ac_t:-
50797          }$am_cv_proto_iconv" >&6; }
50798
50799 cat >>confdefs.h <<_ACEOF
50800 #define ICONV_CONST $am_cv_proto_iconv_arg1
50801 _ACEOF
50802
50803   fi
50804
50805     ;;
50806   *-mingw32*)
50807
50808   # If we're not using GNU ld, then there's no point in even trying these
50809   # tests.  Check for that first.  We should have already tested for gld
50810   # by now (in libtool), but require it now just to be safe...
50811   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50812   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50813
50814
50815
50816   # The name set by libtool depends on the version of libtool.  Shame on us
50817   # for depending on an impl detail, but c'est la vie.  Older versions used
50818   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50819   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50820   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
50821   # set (hence we're using an older libtool), then set it.
50822   if test x${with_gnu_ld+set} != xset; then
50823     if test x${ac_cv_prog_gnu_ld+set} != xset; then
50824       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
50825       with_gnu_ld=no
50826     else
50827       with_gnu_ld=$ac_cv_prog_gnu_ld
50828     fi
50829   fi
50830
50831   # Start by getting the version number.  I think the libtool test already
50832   # does some of this, but throws away the result.
50833   glibcxx_ld_is_gold=no
50834   if test x"$with_gnu_ld" = x"yes"; then
50835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50836 $as_echo_n "checking for ld version... " >&6; }
50837
50838     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50839       glibcxx_ld_is_gold=yes
50840     fi
50841     ldver=`$LD --version 2>/dev/null |
50842            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'`
50843
50844     glibcxx_gnu_ld_version=`echo $ldver | \
50845            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50846     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50847 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50848   fi
50849
50850   # Set --gc-sections.
50851   glibcxx_have_gc_sections=no
50852   if test "$glibcxx_ld_is_gold" = "yes"; then
50853     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50854       glibcxx_have_gc_sections=yes
50855     fi
50856   else
50857     glibcxx_gcsections_min_ld=21602
50858     if test x"$with_gnu_ld" = x"yes" &&
50859         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50860       glibcxx_have_gc_sections=yes
50861     fi
50862   fi
50863   if test "$glibcxx_have_gc_sections" = "yes"; then
50864     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
50865     # NB: This flag only works reliably after 2.16.1. Configure tests
50866     # for this are difficult, so hard wire a value that should work.
50867
50868     ac_test_CFLAGS="${CFLAGS+set}"
50869     ac_save_CFLAGS="$CFLAGS"
50870     CFLAGS='-Wl,--gc-sections'
50871
50872     # Check for -Wl,--gc-sections
50873     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50874 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50875     if test x$gcc_no_link = xyes; then
50876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50877 fi
50878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50879 /* end confdefs.h.  */
50880  int one(void) { return 1; }
50881      int two(void) { return 2; }
50882
50883 int
50884 main ()
50885 {
50886  two();
50887   ;
50888   return 0;
50889 }
50890 _ACEOF
50891 if ac_fn_c_try_link "$LINENO"; then :
50892   ac_gcsections=yes
50893 else
50894   ac_gcsections=no
50895 fi
50896 rm -f core conftest.err conftest.$ac_objext \
50897     conftest$ac_exeext conftest.$ac_ext
50898     if test "$ac_gcsections" = "yes"; then
50899       rm -f conftest.c
50900       touch conftest.c
50901       if $CC -c conftest.c; then
50902         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50903            grep "Warning: gc-sections option ignored" > /dev/null; then
50904           ac_gcsections=no
50905         fi
50906       fi
50907       rm -f conftest.c conftest.o conftest
50908     fi
50909     if test "$ac_gcsections" = "yes"; then
50910       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50911     fi
50912     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50913 $as_echo "$ac_gcsections" >&6; }
50914
50915     if test "$ac_test_CFLAGS" = set; then
50916       CFLAGS="$ac_save_CFLAGS"
50917     else
50918       # this is the suspicious part
50919       CFLAGS=''
50920     fi
50921   fi
50922
50923   # Set -z,relro.
50924   # Note this is only for shared objects.
50925   ac_ld_relro=no
50926   if test x"$with_gnu_ld" = x"yes"; then
50927     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50928 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50929     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50930     if test -n "$cxx_z_relo"; then
50931       OPT_LDFLAGS="-Wl,-z,relro"
50932       ac_ld_relro=yes
50933     fi
50934     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50935 $as_echo "$ac_ld_relro" >&6; }
50936   fi
50937
50938   # Set linker optimization flags.
50939   if test x"$with_gnu_ld" = x"yes"; then
50940     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50941   fi
50942
50943
50944
50945
50946
50947   ac_test_CXXFLAGS="${CXXFLAGS+set}"
50948   ac_save_CXXFLAGS="$CXXFLAGS"
50949   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50950
50951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50952 $as_echo_n "checking for sin in -lm... " >&6; }
50953 if test "${ac_cv_lib_m_sin+set}" = set; then :
50954   $as_echo_n "(cached) " >&6
50955 else
50956   ac_check_lib_save_LIBS=$LIBS
50957 LIBS="-lm  $LIBS"
50958 if test x$gcc_no_link = xyes; then
50959   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50960 fi
50961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50962 /* end confdefs.h.  */
50963
50964 /* Override any GCC internal prototype to avoid an error.
50965    Use char because int might match the return type of a GCC
50966    builtin and then its argument prototype would still apply.  */
50967 #ifdef __cplusplus
50968 extern "C"
50969 #endif
50970 char sin ();
50971 int
50972 main ()
50973 {
50974 return sin ();
50975   ;
50976   return 0;
50977 }
50978 _ACEOF
50979 if ac_fn_c_try_link "$LINENO"; then :
50980   ac_cv_lib_m_sin=yes
50981 else
50982   ac_cv_lib_m_sin=no
50983 fi
50984 rm -f core conftest.err conftest.$ac_objext \
50985     conftest$ac_exeext conftest.$ac_ext
50986 LIBS=$ac_check_lib_save_LIBS
50987 fi
50988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50989 $as_echo "$ac_cv_lib_m_sin" >&6; }
50990 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50991   libm="-lm"
50992 fi
50993
50994   ac_save_LIBS="$LIBS"
50995   LIBS="$LIBS $libm"
50996
50997
50998
50999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51000 $as_echo_n "checking for isinf declaration... " >&6; }
51001   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51002     if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51003   $as_echo_n "(cached) " >&6
51004 else
51005
51006
51007       ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51012
51013       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h.  */
51015 #include <math.h>
51016                       #ifdef HAVE_IEEEFP_H
51017                       #include <ieeefp.h>
51018                       #endif
51019
51020 int
51021 main ()
51022 {
51023  isinf(0);
51024   ;
51025   return 0;
51026 }
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029   glibcxx_cv_func_isinf_use=yes
51030 else
51031   glibcxx_cv_func_isinf_use=no
51032 fi
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034       ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039
51040
51041 fi
51042
51043   fi
51044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51045 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51046
51047   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51048     for ac_func in isinf
51049 do :
51050   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51051 if test "x$ac_cv_func_isinf" = x""yes; then :
51052   cat >>confdefs.h <<_ACEOF
51053 #define HAVE_ISINF 1
51054 _ACEOF
51055
51056 fi
51057 done
51058
51059   else
51060
51061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51062 $as_echo_n "checking for _isinf declaration... " >&6; }
51063   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51064     if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51065   $as_echo_n "(cached) " >&6
51066 else
51067
51068
51069       ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51074
51075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h.  */
51077 #include <math.h>
51078                       #ifdef HAVE_IEEEFP_H
51079                       #include <ieeefp.h>
51080                       #endif
51081
51082 int
51083 main ()
51084 {
51085  _isinf(0);
51086   ;
51087   return 0;
51088 }
51089 _ACEOF
51090 if ac_fn_cxx_try_compile "$LINENO"; then :
51091   glibcxx_cv_func__isinf_use=yes
51092 else
51093   glibcxx_cv_func__isinf_use=no
51094 fi
51095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51096       ac_ext=c
51097 ac_cpp='$CPP $CPPFLAGS'
51098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51101
51102
51103 fi
51104
51105   fi
51106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51107 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51108
51109     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51110       for ac_func in _isinf
51111 do :
51112   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51113 if test "x$ac_cv_func__isinf" = x""yes; then :
51114   cat >>confdefs.h <<_ACEOF
51115 #define HAVE__ISINF 1
51116 _ACEOF
51117
51118 fi
51119 done
51120
51121     fi
51122   fi
51123
51124
51125
51126
51127
51128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51129 $as_echo_n "checking for isnan declaration... " >&6; }
51130   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51131     if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51132   $as_echo_n "(cached) " >&6
51133 else
51134
51135
51136       ac_ext=cpp
51137 ac_cpp='$CXXCPP $CPPFLAGS'
51138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51141
51142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51143 /* end confdefs.h.  */
51144 #include <math.h>
51145                       #ifdef HAVE_IEEEFP_H
51146                       #include <ieeefp.h>
51147                       #endif
51148
51149 int
51150 main ()
51151 {
51152  isnan(0);
51153   ;
51154   return 0;
51155 }
51156 _ACEOF
51157 if ac_fn_cxx_try_compile "$LINENO"; then :
51158   glibcxx_cv_func_isnan_use=yes
51159 else
51160   glibcxx_cv_func_isnan_use=no
51161 fi
51162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51163       ac_ext=c
51164 ac_cpp='$CPP $CPPFLAGS'
51165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51168
51169
51170 fi
51171
51172   fi
51173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51174 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51175
51176   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51177     for ac_func in isnan
51178 do :
51179   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51180 if test "x$ac_cv_func_isnan" = x""yes; then :
51181   cat >>confdefs.h <<_ACEOF
51182 #define HAVE_ISNAN 1
51183 _ACEOF
51184
51185 fi
51186 done
51187
51188   else
51189
51190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51191 $as_echo_n "checking for _isnan declaration... " >&6; }
51192   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51193     if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51194   $as_echo_n "(cached) " >&6
51195 else
51196
51197
51198       ac_ext=cpp
51199 ac_cpp='$CXXCPP $CPPFLAGS'
51200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51203
51204       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51205 /* end confdefs.h.  */
51206 #include <math.h>
51207                       #ifdef HAVE_IEEEFP_H
51208                       #include <ieeefp.h>
51209                       #endif
51210
51211 int
51212 main ()
51213 {
51214  _isnan(0);
51215   ;
51216   return 0;
51217 }
51218 _ACEOF
51219 if ac_fn_cxx_try_compile "$LINENO"; then :
51220   glibcxx_cv_func__isnan_use=yes
51221 else
51222   glibcxx_cv_func__isnan_use=no
51223 fi
51224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51225       ac_ext=c
51226 ac_cpp='$CPP $CPPFLAGS'
51227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51230
51231
51232 fi
51233
51234   fi
51235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51236 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51237
51238     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51239       for ac_func in _isnan
51240 do :
51241   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51242 if test "x$ac_cv_func__isnan" = x""yes; then :
51243   cat >>confdefs.h <<_ACEOF
51244 #define HAVE__ISNAN 1
51245 _ACEOF
51246
51247 fi
51248 done
51249
51250     fi
51251   fi
51252
51253
51254
51255
51256
51257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51258 $as_echo_n "checking for finite declaration... " >&6; }
51259   if test x${glibcxx_cv_func_finite_use+set} != xset; then
51260     if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51261   $as_echo_n "(cached) " >&6
51262 else
51263
51264
51265       ac_ext=cpp
51266 ac_cpp='$CXXCPP $CPPFLAGS'
51267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51270
51271       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51272 /* end confdefs.h.  */
51273 #include <math.h>
51274                       #ifdef HAVE_IEEEFP_H
51275                       #include <ieeefp.h>
51276                       #endif
51277
51278 int
51279 main ()
51280 {
51281  finite(0);
51282   ;
51283   return 0;
51284 }
51285 _ACEOF
51286 if ac_fn_cxx_try_compile "$LINENO"; then :
51287   glibcxx_cv_func_finite_use=yes
51288 else
51289   glibcxx_cv_func_finite_use=no
51290 fi
51291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51292       ac_ext=c
51293 ac_cpp='$CPP $CPPFLAGS'
51294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51297
51298
51299 fi
51300
51301   fi
51302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51303 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51304
51305   if test x$glibcxx_cv_func_finite_use = x"yes"; then
51306     for ac_func in finite
51307 do :
51308   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51309 if test "x$ac_cv_func_finite" = x""yes; then :
51310   cat >>confdefs.h <<_ACEOF
51311 #define HAVE_FINITE 1
51312 _ACEOF
51313
51314 fi
51315 done
51316
51317   else
51318
51319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51320 $as_echo_n "checking for _finite declaration... " >&6; }
51321   if test x${glibcxx_cv_func__finite_use+set} != xset; then
51322     if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51323   $as_echo_n "(cached) " >&6
51324 else
51325
51326
51327       ac_ext=cpp
51328 ac_cpp='$CXXCPP $CPPFLAGS'
51329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51332
51333       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51334 /* end confdefs.h.  */
51335 #include <math.h>
51336                       #ifdef HAVE_IEEEFP_H
51337                       #include <ieeefp.h>
51338                       #endif
51339
51340 int
51341 main ()
51342 {
51343  _finite(0);
51344   ;
51345   return 0;
51346 }
51347 _ACEOF
51348 if ac_fn_cxx_try_compile "$LINENO"; then :
51349   glibcxx_cv_func__finite_use=yes
51350 else
51351   glibcxx_cv_func__finite_use=no
51352 fi
51353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51354       ac_ext=c
51355 ac_cpp='$CPP $CPPFLAGS'
51356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51359
51360
51361 fi
51362
51363   fi
51364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51365 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51366
51367     if test x$glibcxx_cv_func__finite_use = x"yes"; then
51368       for ac_func in _finite
51369 do :
51370   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51371 if test "x$ac_cv_func__finite" = x""yes; then :
51372   cat >>confdefs.h <<_ACEOF
51373 #define HAVE__FINITE 1
51374 _ACEOF
51375
51376 fi
51377 done
51378
51379     fi
51380   fi
51381
51382
51383
51384
51385
51386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51387 $as_echo_n "checking for sincos declaration... " >&6; }
51388   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51389     if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51390   $as_echo_n "(cached) " >&6
51391 else
51392
51393
51394       ac_ext=cpp
51395 ac_cpp='$CXXCPP $CPPFLAGS'
51396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51399
51400       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51401 /* end confdefs.h.  */
51402 #include <math.h>
51403 int
51404 main ()
51405 {
51406  sincos(0, 0, 0);
51407   ;
51408   return 0;
51409 }
51410 _ACEOF
51411 if ac_fn_cxx_try_compile "$LINENO"; then :
51412   glibcxx_cv_func_sincos_use=yes
51413 else
51414   glibcxx_cv_func_sincos_use=no
51415 fi
51416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51417       ac_ext=c
51418 ac_cpp='$CPP $CPPFLAGS'
51419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51422
51423
51424 fi
51425
51426   fi
51427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51428 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51429
51430   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51431     for ac_func in sincos
51432 do :
51433   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51434 if test "x$ac_cv_func_sincos" = x""yes; then :
51435   cat >>confdefs.h <<_ACEOF
51436 #define HAVE_SINCOS 1
51437 _ACEOF
51438
51439 fi
51440 done
51441
51442   else
51443
51444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51445 $as_echo_n "checking for _sincos declaration... " >&6; }
51446   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51447     if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51448   $as_echo_n "(cached) " >&6
51449 else
51450
51451
51452       ac_ext=cpp
51453 ac_cpp='$CXXCPP $CPPFLAGS'
51454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51457
51458       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51459 /* end confdefs.h.  */
51460 #include <math.h>
51461 int
51462 main ()
51463 {
51464  _sincos(0, 0, 0);
51465   ;
51466   return 0;
51467 }
51468 _ACEOF
51469 if ac_fn_cxx_try_compile "$LINENO"; then :
51470   glibcxx_cv_func__sincos_use=yes
51471 else
51472   glibcxx_cv_func__sincos_use=no
51473 fi
51474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51475       ac_ext=c
51476 ac_cpp='$CPP $CPPFLAGS'
51477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51480
51481
51482 fi
51483
51484   fi
51485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51486 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51487
51488     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51489       for ac_func in _sincos
51490 do :
51491   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51492 if test "x$ac_cv_func__sincos" = x""yes; then :
51493   cat >>confdefs.h <<_ACEOF
51494 #define HAVE__SINCOS 1
51495 _ACEOF
51496
51497 fi
51498 done
51499
51500     fi
51501   fi
51502
51503
51504
51505
51506
51507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51508 $as_echo_n "checking for fpclass declaration... " >&6; }
51509   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51510     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51511   $as_echo_n "(cached) " >&6
51512 else
51513
51514
51515       ac_ext=cpp
51516 ac_cpp='$CXXCPP $CPPFLAGS'
51517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51520
51521       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51522 /* end confdefs.h.  */
51523 #include <math.h>
51524                       #ifdef HAVE_IEEEFP_H
51525                       #include <ieeefp.h>
51526                       #endif
51527
51528 int
51529 main ()
51530 {
51531  fpclass(0);
51532   ;
51533   return 0;
51534 }
51535 _ACEOF
51536 if ac_fn_cxx_try_compile "$LINENO"; then :
51537   glibcxx_cv_func_fpclass_use=yes
51538 else
51539   glibcxx_cv_func_fpclass_use=no
51540 fi
51541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51542       ac_ext=c
51543 ac_cpp='$CPP $CPPFLAGS'
51544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51547
51548
51549 fi
51550
51551   fi
51552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51553 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51554
51555   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51556     for ac_func in fpclass
51557 do :
51558   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51559 if test "x$ac_cv_func_fpclass" = x""yes; then :
51560   cat >>confdefs.h <<_ACEOF
51561 #define HAVE_FPCLASS 1
51562 _ACEOF
51563
51564 fi
51565 done
51566
51567   else
51568
51569   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51570 $as_echo_n "checking for _fpclass declaration... " >&6; }
51571   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51572     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51573   $as_echo_n "(cached) " >&6
51574 else
51575
51576
51577       ac_ext=cpp
51578 ac_cpp='$CXXCPP $CPPFLAGS'
51579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51582
51583       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51584 /* end confdefs.h.  */
51585 #include <math.h>
51586                       #ifdef HAVE_IEEEFP_H
51587                       #include <ieeefp.h>
51588                       #endif
51589
51590 int
51591 main ()
51592 {
51593  _fpclass(0);
51594   ;
51595   return 0;
51596 }
51597 _ACEOF
51598 if ac_fn_cxx_try_compile "$LINENO"; then :
51599   glibcxx_cv_func__fpclass_use=yes
51600 else
51601   glibcxx_cv_func__fpclass_use=no
51602 fi
51603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51604       ac_ext=c
51605 ac_cpp='$CPP $CPPFLAGS'
51606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51609
51610
51611 fi
51612
51613   fi
51614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51615 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51616
51617     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51618       for ac_func in _fpclass
51619 do :
51620   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51621 if test "x$ac_cv_func__fpclass" = x""yes; then :
51622   cat >>confdefs.h <<_ACEOF
51623 #define HAVE__FPCLASS 1
51624 _ACEOF
51625
51626 fi
51627 done
51628
51629     fi
51630   fi
51631
51632
51633
51634
51635
51636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51637 $as_echo_n "checking for qfpclass declaration... " >&6; }
51638   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51639     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51640   $as_echo_n "(cached) " >&6
51641 else
51642
51643
51644       ac_ext=cpp
51645 ac_cpp='$CXXCPP $CPPFLAGS'
51646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51649
51650       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51651 /* end confdefs.h.  */
51652 #include <math.h>
51653                       #ifdef HAVE_IEEEFP_H
51654                       #include <ieeefp.h>
51655                       #endif
51656
51657 int
51658 main ()
51659 {
51660  qfpclass(0);
51661   ;
51662   return 0;
51663 }
51664 _ACEOF
51665 if ac_fn_cxx_try_compile "$LINENO"; then :
51666   glibcxx_cv_func_qfpclass_use=yes
51667 else
51668   glibcxx_cv_func_qfpclass_use=no
51669 fi
51670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51671       ac_ext=c
51672 ac_cpp='$CPP $CPPFLAGS'
51673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51676
51677
51678 fi
51679
51680   fi
51681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51682 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51683
51684   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51685     for ac_func in qfpclass
51686 do :
51687   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51688 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51689   cat >>confdefs.h <<_ACEOF
51690 #define HAVE_QFPCLASS 1
51691 _ACEOF
51692
51693 fi
51694 done
51695
51696   else
51697
51698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51699 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51700   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51701     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51702   $as_echo_n "(cached) " >&6
51703 else
51704
51705
51706       ac_ext=cpp
51707 ac_cpp='$CXXCPP $CPPFLAGS'
51708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51711
51712       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51713 /* end confdefs.h.  */
51714 #include <math.h>
51715                       #ifdef HAVE_IEEEFP_H
51716                       #include <ieeefp.h>
51717                       #endif
51718
51719 int
51720 main ()
51721 {
51722  _qfpclass(0);
51723   ;
51724   return 0;
51725 }
51726 _ACEOF
51727 if ac_fn_cxx_try_compile "$LINENO"; then :
51728   glibcxx_cv_func__qfpclass_use=yes
51729 else
51730   glibcxx_cv_func__qfpclass_use=no
51731 fi
51732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51733       ac_ext=c
51734 ac_cpp='$CPP $CPPFLAGS'
51735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51738
51739
51740 fi
51741
51742   fi
51743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51744 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51745
51746     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51747       for ac_func in _qfpclass
51748 do :
51749   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51750 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51751   cat >>confdefs.h <<_ACEOF
51752 #define HAVE__QFPCLASS 1
51753 _ACEOF
51754
51755 fi
51756 done
51757
51758     fi
51759   fi
51760
51761
51762
51763
51764
51765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51766 $as_echo_n "checking for hypot declaration... " >&6; }
51767   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51768     if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51769   $as_echo_n "(cached) " >&6
51770 else
51771
51772
51773       ac_ext=cpp
51774 ac_cpp='$CXXCPP $CPPFLAGS'
51775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51778
51779       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51780 /* end confdefs.h.  */
51781 #include <math.h>
51782 int
51783 main ()
51784 {
51785  hypot(0, 0);
51786   ;
51787   return 0;
51788 }
51789 _ACEOF
51790 if ac_fn_cxx_try_compile "$LINENO"; then :
51791   glibcxx_cv_func_hypot_use=yes
51792 else
51793   glibcxx_cv_func_hypot_use=no
51794 fi
51795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51796       ac_ext=c
51797 ac_cpp='$CPP $CPPFLAGS'
51798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51801
51802
51803 fi
51804
51805   fi
51806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51807 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51808
51809   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51810     for ac_func in hypot
51811 do :
51812   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51813 if test "x$ac_cv_func_hypot" = x""yes; then :
51814   cat >>confdefs.h <<_ACEOF
51815 #define HAVE_HYPOT 1
51816 _ACEOF
51817
51818 fi
51819 done
51820
51821   else
51822
51823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51824 $as_echo_n "checking for _hypot declaration... " >&6; }
51825   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51826     if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51827   $as_echo_n "(cached) " >&6
51828 else
51829
51830
51831       ac_ext=cpp
51832 ac_cpp='$CXXCPP $CPPFLAGS'
51833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51836
51837       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51838 /* end confdefs.h.  */
51839 #include <math.h>
51840 int
51841 main ()
51842 {
51843  _hypot(0, 0);
51844   ;
51845   return 0;
51846 }
51847 _ACEOF
51848 if ac_fn_cxx_try_compile "$LINENO"; then :
51849   glibcxx_cv_func__hypot_use=yes
51850 else
51851   glibcxx_cv_func__hypot_use=no
51852 fi
51853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51854       ac_ext=c
51855 ac_cpp='$CPP $CPPFLAGS'
51856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51859
51860
51861 fi
51862
51863   fi
51864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51865 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51866
51867     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51868       for ac_func in _hypot
51869 do :
51870   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51871 if test "x$ac_cv_func__hypot" = x""yes; then :
51872   cat >>confdefs.h <<_ACEOF
51873 #define HAVE__HYPOT 1
51874 _ACEOF
51875
51876 fi
51877 done
51878
51879     fi
51880   fi
51881
51882
51883
51884
51885
51886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51887 $as_echo_n "checking for float trig functions... " >&6; }
51888   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51889   $as_echo_n "(cached) " >&6
51890 else
51891
51892
51893     ac_ext=cpp
51894 ac_cpp='$CXXCPP $CPPFLAGS'
51895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51898
51899     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51900 /* end confdefs.h.  */
51901 #include <math.h>
51902 int
51903 main ()
51904 {
51905 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51906   ;
51907   return 0;
51908 }
51909 _ACEOF
51910 if ac_fn_cxx_try_compile "$LINENO"; then :
51911   glibcxx_cv_func_float_trig_use=yes
51912 else
51913   glibcxx_cv_func_float_trig_use=no
51914 fi
51915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51916     ac_ext=c
51917 ac_cpp='$CPP $CPPFLAGS'
51918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51921
51922 fi
51923
51924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51925 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51926   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51927     for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51928 do :
51929   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51931 eval as_val=\$$as_ac_var
51932    if test "x$as_val" = x""yes; then :
51933   cat >>confdefs.h <<_ACEOF
51934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51935 _ACEOF
51936
51937 fi
51938 done
51939
51940   else
51941     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51942 $as_echo_n "checking for _float trig functions... " >&6; }
51943     if test "${glibcxx_cv_func__float_trig_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 int
51958 main ()
51959 {
51960 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51961   ;
51962   return 0;
51963 }
51964 _ACEOF
51965 if ac_fn_cxx_try_compile "$LINENO"; then :
51966   glibcxx_cv_func__float_trig_use=yes
51967 else
51968   glibcxx_cv_func__float_trig_use=no
51969 fi
51970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51971       ac_ext=c
51972 ac_cpp='$CPP $CPPFLAGS'
51973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51976
51977 fi
51978
51979     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51980 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51981     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51982       for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51983 do :
51984   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51986 eval as_val=\$$as_ac_var
51987    if test "x$as_val" = x""yes; then :
51988   cat >>confdefs.h <<_ACEOF
51989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51990 _ACEOF
51991
51992 fi
51993 done
51994
51995     fi
51996   fi
51997
51998
51999
52000
52001
52002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52003 $as_echo_n "checking for float round functions... " >&6; }
52004   if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52005   $as_echo_n "(cached) " >&6
52006 else
52007
52008
52009     ac_ext=cpp
52010 ac_cpp='$CXXCPP $CPPFLAGS'
52011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52014
52015     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52016 /* end confdefs.h.  */
52017 #include <math.h>
52018 int
52019 main ()
52020 {
52021 ceilf (0); floorf (0);
52022   ;
52023   return 0;
52024 }
52025 _ACEOF
52026 if ac_fn_cxx_try_compile "$LINENO"; then :
52027   glibcxx_cv_func_float_round_use=yes
52028 else
52029   glibcxx_cv_func_float_round_use=no
52030 fi
52031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52032     ac_ext=c
52033 ac_cpp='$CPP $CPPFLAGS'
52034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52037
52038 fi
52039
52040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52041 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52042   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52043     for ac_func in ceilf floorf
52044 do :
52045   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52047 eval as_val=\$$as_ac_var
52048    if test "x$as_val" = x""yes; then :
52049   cat >>confdefs.h <<_ACEOF
52050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52051 _ACEOF
52052
52053 fi
52054 done
52055
52056   else
52057     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52058 $as_echo_n "checking for _float round functions... " >&6; }
52059     if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52060   $as_echo_n "(cached) " >&6
52061 else
52062
52063
52064       ac_ext=cpp
52065 ac_cpp='$CXXCPP $CPPFLAGS'
52066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52069
52070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52071 /* end confdefs.h.  */
52072 #include <math.h>
52073 int
52074 main ()
52075 {
52076 _ceilf (0); _floorf (0);
52077   ;
52078   return 0;
52079 }
52080 _ACEOF
52081 if ac_fn_cxx_try_compile "$LINENO"; then :
52082   glibcxx_cv_func__float_round_use=yes
52083 else
52084   glibcxx_cv_func__float_round_use=no
52085 fi
52086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52087       ac_ext=c
52088 ac_cpp='$CPP $CPPFLAGS'
52089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52092
52093 fi
52094
52095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52096 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52097     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52098       for ac_func in _ceilf _floorf
52099 do :
52100   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52102 eval as_val=\$$as_ac_var
52103    if test "x$as_val" = x""yes; then :
52104   cat >>confdefs.h <<_ACEOF
52105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52106 _ACEOF
52107
52108 fi
52109 done
52110
52111     fi
52112   fi
52113
52114
52115
52116
52117
52118
52119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52120 $as_echo_n "checking for expf declaration... " >&6; }
52121   if test x${glibcxx_cv_func_expf_use+set} != xset; then
52122     if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52123   $as_echo_n "(cached) " >&6
52124 else
52125
52126
52127       ac_ext=cpp
52128 ac_cpp='$CXXCPP $CPPFLAGS'
52129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52132
52133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134 /* end confdefs.h.  */
52135 #include <math.h>
52136                       #ifdef HAVE_IEEEFP_H
52137                       #include <ieeefp.h>
52138                       #endif
52139
52140 int
52141 main ()
52142 {
52143  expf(0);
52144   ;
52145   return 0;
52146 }
52147 _ACEOF
52148 if ac_fn_cxx_try_compile "$LINENO"; then :
52149   glibcxx_cv_func_expf_use=yes
52150 else
52151   glibcxx_cv_func_expf_use=no
52152 fi
52153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52154       ac_ext=c
52155 ac_cpp='$CPP $CPPFLAGS'
52156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52159
52160
52161 fi
52162
52163   fi
52164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52165 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52166
52167   if test x$glibcxx_cv_func_expf_use = x"yes"; then
52168     for ac_func in expf
52169 do :
52170   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52171 if test "x$ac_cv_func_expf" = x""yes; then :
52172   cat >>confdefs.h <<_ACEOF
52173 #define HAVE_EXPF 1
52174 _ACEOF
52175
52176 fi
52177 done
52178
52179   else
52180
52181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52182 $as_echo_n "checking for _expf declaration... " >&6; }
52183   if test x${glibcxx_cv_func__expf_use+set} != xset; then
52184     if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52185   $as_echo_n "(cached) " >&6
52186 else
52187
52188
52189       ac_ext=cpp
52190 ac_cpp='$CXXCPP $CPPFLAGS'
52191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52194
52195       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52196 /* end confdefs.h.  */
52197 #include <math.h>
52198                       #ifdef HAVE_IEEEFP_H
52199                       #include <ieeefp.h>
52200                       #endif
52201
52202 int
52203 main ()
52204 {
52205  _expf(0);
52206   ;
52207   return 0;
52208 }
52209 _ACEOF
52210 if ac_fn_cxx_try_compile "$LINENO"; then :
52211   glibcxx_cv_func__expf_use=yes
52212 else
52213   glibcxx_cv_func__expf_use=no
52214 fi
52215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52216       ac_ext=c
52217 ac_cpp='$CPP $CPPFLAGS'
52218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52221
52222
52223 fi
52224
52225   fi
52226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52227 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52228
52229     if test x$glibcxx_cv_func__expf_use = x"yes"; then
52230       for ac_func in _expf
52231 do :
52232   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52233 if test "x$ac_cv_func__expf" = x""yes; then :
52234   cat >>confdefs.h <<_ACEOF
52235 #define HAVE__EXPF 1
52236 _ACEOF
52237
52238 fi
52239 done
52240
52241     fi
52242   fi
52243
52244
52245
52246
52247
52248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52249 $as_echo_n "checking for isnanf declaration... " >&6; }
52250   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52251     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52252   $as_echo_n "(cached) " >&6
52253 else
52254
52255
52256       ac_ext=cpp
52257 ac_cpp='$CXXCPP $CPPFLAGS'
52258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52261
52262       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52263 /* end confdefs.h.  */
52264 #include <math.h>
52265                       #ifdef HAVE_IEEEFP_H
52266                       #include <ieeefp.h>
52267                       #endif
52268
52269 int
52270 main ()
52271 {
52272  isnanf(0);
52273   ;
52274   return 0;
52275 }
52276 _ACEOF
52277 if ac_fn_cxx_try_compile "$LINENO"; then :
52278   glibcxx_cv_func_isnanf_use=yes
52279 else
52280   glibcxx_cv_func_isnanf_use=no
52281 fi
52282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52283       ac_ext=c
52284 ac_cpp='$CPP $CPPFLAGS'
52285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52288
52289
52290 fi
52291
52292   fi
52293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52294 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52295
52296   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52297     for ac_func in isnanf
52298 do :
52299   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52300 if test "x$ac_cv_func_isnanf" = x""yes; then :
52301   cat >>confdefs.h <<_ACEOF
52302 #define HAVE_ISNANF 1
52303 _ACEOF
52304
52305 fi
52306 done
52307
52308   else
52309
52310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52311 $as_echo_n "checking for _isnanf declaration... " >&6; }
52312   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52313     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52314   $as_echo_n "(cached) " >&6
52315 else
52316
52317
52318       ac_ext=cpp
52319 ac_cpp='$CXXCPP $CPPFLAGS'
52320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323
52324       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325 /* end confdefs.h.  */
52326 #include <math.h>
52327                       #ifdef HAVE_IEEEFP_H
52328                       #include <ieeefp.h>
52329                       #endif
52330
52331 int
52332 main ()
52333 {
52334  _isnanf(0);
52335   ;
52336   return 0;
52337 }
52338 _ACEOF
52339 if ac_fn_cxx_try_compile "$LINENO"; then :
52340   glibcxx_cv_func__isnanf_use=yes
52341 else
52342   glibcxx_cv_func__isnanf_use=no
52343 fi
52344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52345       ac_ext=c
52346 ac_cpp='$CPP $CPPFLAGS'
52347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52350
52351
52352 fi
52353
52354   fi
52355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52356 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52357
52358     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52359       for ac_func in _isnanf
52360 do :
52361   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52362 if test "x$ac_cv_func__isnanf" = x""yes; then :
52363   cat >>confdefs.h <<_ACEOF
52364 #define HAVE__ISNANF 1
52365 _ACEOF
52366
52367 fi
52368 done
52369
52370     fi
52371   fi
52372
52373
52374
52375
52376
52377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52378 $as_echo_n "checking for isinff declaration... " >&6; }
52379   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52380     if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52381   $as_echo_n "(cached) " >&6
52382 else
52383
52384
52385       ac_ext=cpp
52386 ac_cpp='$CXXCPP $CPPFLAGS'
52387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52390
52391       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52392 /* end confdefs.h.  */
52393 #include <math.h>
52394                       #ifdef HAVE_IEEEFP_H
52395                       #include <ieeefp.h>
52396                       #endif
52397
52398 int
52399 main ()
52400 {
52401  isinff(0);
52402   ;
52403   return 0;
52404 }
52405 _ACEOF
52406 if ac_fn_cxx_try_compile "$LINENO"; then :
52407   glibcxx_cv_func_isinff_use=yes
52408 else
52409   glibcxx_cv_func_isinff_use=no
52410 fi
52411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52412       ac_ext=c
52413 ac_cpp='$CPP $CPPFLAGS'
52414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52417
52418
52419 fi
52420
52421   fi
52422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52423 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52424
52425   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52426     for ac_func in isinff
52427 do :
52428   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52429 if test "x$ac_cv_func_isinff" = x""yes; then :
52430   cat >>confdefs.h <<_ACEOF
52431 #define HAVE_ISINFF 1
52432 _ACEOF
52433
52434 fi
52435 done
52436
52437   else
52438
52439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52440 $as_echo_n "checking for _isinff declaration... " >&6; }
52441   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52442     if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52443   $as_echo_n "(cached) " >&6
52444 else
52445
52446
52447       ac_ext=cpp
52448 ac_cpp='$CXXCPP $CPPFLAGS'
52449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52452
52453       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52454 /* end confdefs.h.  */
52455 #include <math.h>
52456                       #ifdef HAVE_IEEEFP_H
52457                       #include <ieeefp.h>
52458                       #endif
52459
52460 int
52461 main ()
52462 {
52463  _isinff(0);
52464   ;
52465   return 0;
52466 }
52467 _ACEOF
52468 if ac_fn_cxx_try_compile "$LINENO"; then :
52469   glibcxx_cv_func__isinff_use=yes
52470 else
52471   glibcxx_cv_func__isinff_use=no
52472 fi
52473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52474       ac_ext=c
52475 ac_cpp='$CPP $CPPFLAGS'
52476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52479
52480
52481 fi
52482
52483   fi
52484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52485 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52486
52487     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52488       for ac_func in _isinff
52489 do :
52490   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52491 if test "x$ac_cv_func__isinff" = x""yes; then :
52492   cat >>confdefs.h <<_ACEOF
52493 #define HAVE__ISINFF 1
52494 _ACEOF
52495
52496 fi
52497 done
52498
52499     fi
52500   fi
52501
52502
52503
52504
52505
52506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52507 $as_echo_n "checking for atan2f declaration... " >&6; }
52508   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52509     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52510   $as_echo_n "(cached) " >&6
52511 else
52512
52513
52514       ac_ext=cpp
52515 ac_cpp='$CXXCPP $CPPFLAGS'
52516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52519
52520       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52521 /* end confdefs.h.  */
52522 #include <math.h>
52523 int
52524 main ()
52525 {
52526  atan2f(0, 0);
52527   ;
52528   return 0;
52529 }
52530 _ACEOF
52531 if ac_fn_cxx_try_compile "$LINENO"; then :
52532   glibcxx_cv_func_atan2f_use=yes
52533 else
52534   glibcxx_cv_func_atan2f_use=no
52535 fi
52536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52537       ac_ext=c
52538 ac_cpp='$CPP $CPPFLAGS'
52539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52542
52543
52544 fi
52545
52546   fi
52547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52548 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52549
52550   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52551     for ac_func in atan2f
52552 do :
52553   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52554 if test "x$ac_cv_func_atan2f" = x""yes; then :
52555   cat >>confdefs.h <<_ACEOF
52556 #define HAVE_ATAN2F 1
52557 _ACEOF
52558
52559 fi
52560 done
52561
52562   else
52563
52564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52565 $as_echo_n "checking for _atan2f declaration... " >&6; }
52566   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52567     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52568   $as_echo_n "(cached) " >&6
52569 else
52570
52571
52572       ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52577
52578       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h.  */
52580 #include <math.h>
52581 int
52582 main ()
52583 {
52584  _atan2f(0, 0);
52585   ;
52586   return 0;
52587 }
52588 _ACEOF
52589 if ac_fn_cxx_try_compile "$LINENO"; then :
52590   glibcxx_cv_func__atan2f_use=yes
52591 else
52592   glibcxx_cv_func__atan2f_use=no
52593 fi
52594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52595       ac_ext=c
52596 ac_cpp='$CPP $CPPFLAGS'
52597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52600
52601
52602 fi
52603
52604   fi
52605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52606 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52607
52608     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52609       for ac_func in _atan2f
52610 do :
52611   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52612 if test "x$ac_cv_func__atan2f" = x""yes; then :
52613   cat >>confdefs.h <<_ACEOF
52614 #define HAVE__ATAN2F 1
52615 _ACEOF
52616
52617 fi
52618 done
52619
52620     fi
52621   fi
52622
52623
52624
52625
52626
52627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52628 $as_echo_n "checking for fabsf declaration... " >&6; }
52629   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52630     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52631   $as_echo_n "(cached) " >&6
52632 else
52633
52634
52635       ac_ext=cpp
52636 ac_cpp='$CXXCPP $CPPFLAGS'
52637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52640
52641       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52642 /* end confdefs.h.  */
52643 #include <math.h>
52644                       #ifdef HAVE_IEEEFP_H
52645                       #include <ieeefp.h>
52646                       #endif
52647
52648 int
52649 main ()
52650 {
52651  fabsf(0);
52652   ;
52653   return 0;
52654 }
52655 _ACEOF
52656 if ac_fn_cxx_try_compile "$LINENO"; then :
52657   glibcxx_cv_func_fabsf_use=yes
52658 else
52659   glibcxx_cv_func_fabsf_use=no
52660 fi
52661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52662       ac_ext=c
52663 ac_cpp='$CPP $CPPFLAGS'
52664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52667
52668
52669 fi
52670
52671   fi
52672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52673 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52674
52675   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52676     for ac_func in fabsf
52677 do :
52678   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52679 if test "x$ac_cv_func_fabsf" = x""yes; then :
52680   cat >>confdefs.h <<_ACEOF
52681 #define HAVE_FABSF 1
52682 _ACEOF
52683
52684 fi
52685 done
52686
52687   else
52688
52689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52690 $as_echo_n "checking for _fabsf declaration... " >&6; }
52691   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52692     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52693   $as_echo_n "(cached) " >&6
52694 else
52695
52696
52697       ac_ext=cpp
52698 ac_cpp='$CXXCPP $CPPFLAGS'
52699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52702
52703       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52704 /* end confdefs.h.  */
52705 #include <math.h>
52706                       #ifdef HAVE_IEEEFP_H
52707                       #include <ieeefp.h>
52708                       #endif
52709
52710 int
52711 main ()
52712 {
52713  _fabsf(0);
52714   ;
52715   return 0;
52716 }
52717 _ACEOF
52718 if ac_fn_cxx_try_compile "$LINENO"; then :
52719   glibcxx_cv_func__fabsf_use=yes
52720 else
52721   glibcxx_cv_func__fabsf_use=no
52722 fi
52723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52724       ac_ext=c
52725 ac_cpp='$CPP $CPPFLAGS'
52726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52729
52730
52731 fi
52732
52733   fi
52734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52735 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52736
52737     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52738       for ac_func in _fabsf
52739 do :
52740   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52741 if test "x$ac_cv_func__fabsf" = x""yes; then :
52742   cat >>confdefs.h <<_ACEOF
52743 #define HAVE__FABSF 1
52744 _ACEOF
52745
52746 fi
52747 done
52748
52749     fi
52750   fi
52751
52752
52753
52754
52755
52756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52757 $as_echo_n "checking for fmodf declaration... " >&6; }
52758   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52759     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52760   $as_echo_n "(cached) " >&6
52761 else
52762
52763
52764       ac_ext=cpp
52765 ac_cpp='$CXXCPP $CPPFLAGS'
52766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52769
52770       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52771 /* end confdefs.h.  */
52772 #include <math.h>
52773 int
52774 main ()
52775 {
52776  fmodf(0, 0);
52777   ;
52778   return 0;
52779 }
52780 _ACEOF
52781 if ac_fn_cxx_try_compile "$LINENO"; then :
52782   glibcxx_cv_func_fmodf_use=yes
52783 else
52784   glibcxx_cv_func_fmodf_use=no
52785 fi
52786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52787       ac_ext=c
52788 ac_cpp='$CPP $CPPFLAGS'
52789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52792
52793
52794 fi
52795
52796   fi
52797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52798 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52799
52800   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52801     for ac_func in fmodf
52802 do :
52803   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52804 if test "x$ac_cv_func_fmodf" = x""yes; then :
52805   cat >>confdefs.h <<_ACEOF
52806 #define HAVE_FMODF 1
52807 _ACEOF
52808
52809 fi
52810 done
52811
52812   else
52813
52814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52815 $as_echo_n "checking for _fmodf declaration... " >&6; }
52816   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52817     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52818   $as_echo_n "(cached) " >&6
52819 else
52820
52821
52822       ac_ext=cpp
52823 ac_cpp='$CXXCPP $CPPFLAGS'
52824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52827
52828       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52829 /* end confdefs.h.  */
52830 #include <math.h>
52831 int
52832 main ()
52833 {
52834  _fmodf(0, 0);
52835   ;
52836   return 0;
52837 }
52838 _ACEOF
52839 if ac_fn_cxx_try_compile "$LINENO"; then :
52840   glibcxx_cv_func__fmodf_use=yes
52841 else
52842   glibcxx_cv_func__fmodf_use=no
52843 fi
52844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52845       ac_ext=c
52846 ac_cpp='$CPP $CPPFLAGS'
52847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52850
52851
52852 fi
52853
52854   fi
52855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52856 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52857
52858     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52859       for ac_func in _fmodf
52860 do :
52861   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52862 if test "x$ac_cv_func__fmodf" = x""yes; then :
52863   cat >>confdefs.h <<_ACEOF
52864 #define HAVE__FMODF 1
52865 _ACEOF
52866
52867 fi
52868 done
52869
52870     fi
52871   fi
52872
52873
52874
52875
52876
52877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52878 $as_echo_n "checking for frexpf declaration... " >&6; }
52879   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52880     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52881   $as_echo_n "(cached) " >&6
52882 else
52883
52884
52885       ac_ext=cpp
52886 ac_cpp='$CXXCPP $CPPFLAGS'
52887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52890
52891       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52892 /* end confdefs.h.  */
52893 #include <math.h>
52894 int
52895 main ()
52896 {
52897  frexpf(0, 0);
52898   ;
52899   return 0;
52900 }
52901 _ACEOF
52902 if ac_fn_cxx_try_compile "$LINENO"; then :
52903   glibcxx_cv_func_frexpf_use=yes
52904 else
52905   glibcxx_cv_func_frexpf_use=no
52906 fi
52907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52908       ac_ext=c
52909 ac_cpp='$CPP $CPPFLAGS'
52910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52913
52914
52915 fi
52916
52917   fi
52918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52919 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52920
52921   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52922     for ac_func in frexpf
52923 do :
52924   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52925 if test "x$ac_cv_func_frexpf" = x""yes; then :
52926   cat >>confdefs.h <<_ACEOF
52927 #define HAVE_FREXPF 1
52928 _ACEOF
52929
52930 fi
52931 done
52932
52933   else
52934
52935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52936 $as_echo_n "checking for _frexpf declaration... " >&6; }
52937   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52938     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52939   $as_echo_n "(cached) " >&6
52940 else
52941
52942
52943       ac_ext=cpp
52944 ac_cpp='$CXXCPP $CPPFLAGS'
52945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52948
52949       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52950 /* end confdefs.h.  */
52951 #include <math.h>
52952 int
52953 main ()
52954 {
52955  _frexpf(0, 0);
52956   ;
52957   return 0;
52958 }
52959 _ACEOF
52960 if ac_fn_cxx_try_compile "$LINENO"; then :
52961   glibcxx_cv_func__frexpf_use=yes
52962 else
52963   glibcxx_cv_func__frexpf_use=no
52964 fi
52965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52966       ac_ext=c
52967 ac_cpp='$CPP $CPPFLAGS'
52968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52971
52972
52973 fi
52974
52975   fi
52976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52977 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52978
52979     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52980       for ac_func in _frexpf
52981 do :
52982   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52983 if test "x$ac_cv_func__frexpf" = x""yes; then :
52984   cat >>confdefs.h <<_ACEOF
52985 #define HAVE__FREXPF 1
52986 _ACEOF
52987
52988 fi
52989 done
52990
52991     fi
52992   fi
52993
52994
52995
52996
52997
52998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52999 $as_echo_n "checking for hypotf declaration... " >&6; }
53000   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53001     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53002   $as_echo_n "(cached) " >&6
53003 else
53004
53005
53006       ac_ext=cpp
53007 ac_cpp='$CXXCPP $CPPFLAGS'
53008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53011
53012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53013 /* end confdefs.h.  */
53014 #include <math.h>
53015 int
53016 main ()
53017 {
53018  hypotf(0, 0);
53019   ;
53020   return 0;
53021 }
53022 _ACEOF
53023 if ac_fn_cxx_try_compile "$LINENO"; then :
53024   glibcxx_cv_func_hypotf_use=yes
53025 else
53026   glibcxx_cv_func_hypotf_use=no
53027 fi
53028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53029       ac_ext=c
53030 ac_cpp='$CPP $CPPFLAGS'
53031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53034
53035
53036 fi
53037
53038   fi
53039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53040 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53041
53042   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53043     for ac_func in hypotf
53044 do :
53045   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53046 if test "x$ac_cv_func_hypotf" = x""yes; then :
53047   cat >>confdefs.h <<_ACEOF
53048 #define HAVE_HYPOTF 1
53049 _ACEOF
53050
53051 fi
53052 done
53053
53054   else
53055
53056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53057 $as_echo_n "checking for _hypotf declaration... " >&6; }
53058   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53059     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53060   $as_echo_n "(cached) " >&6
53061 else
53062
53063
53064       ac_ext=cpp
53065 ac_cpp='$CXXCPP $CPPFLAGS'
53066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53069
53070       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53071 /* end confdefs.h.  */
53072 #include <math.h>
53073 int
53074 main ()
53075 {
53076  _hypotf(0, 0);
53077   ;
53078   return 0;
53079 }
53080 _ACEOF
53081 if ac_fn_cxx_try_compile "$LINENO"; then :
53082   glibcxx_cv_func__hypotf_use=yes
53083 else
53084   glibcxx_cv_func__hypotf_use=no
53085 fi
53086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53087       ac_ext=c
53088 ac_cpp='$CPP $CPPFLAGS'
53089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53092
53093
53094 fi
53095
53096   fi
53097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53098 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53099
53100     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53101       for ac_func in _hypotf
53102 do :
53103   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53104 if test "x$ac_cv_func__hypotf" = x""yes; then :
53105   cat >>confdefs.h <<_ACEOF
53106 #define HAVE__HYPOTF 1
53107 _ACEOF
53108
53109 fi
53110 done
53111
53112     fi
53113   fi
53114
53115
53116
53117
53118
53119   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53120 $as_echo_n "checking for ldexpf declaration... " >&6; }
53121   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53122     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53123   $as_echo_n "(cached) " >&6
53124 else
53125
53126
53127       ac_ext=cpp
53128 ac_cpp='$CXXCPP $CPPFLAGS'
53129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53132
53133       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53134 /* end confdefs.h.  */
53135 #include <math.h>
53136 int
53137 main ()
53138 {
53139  ldexpf(0, 0);
53140   ;
53141   return 0;
53142 }
53143 _ACEOF
53144 if ac_fn_cxx_try_compile "$LINENO"; then :
53145   glibcxx_cv_func_ldexpf_use=yes
53146 else
53147   glibcxx_cv_func_ldexpf_use=no
53148 fi
53149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53150       ac_ext=c
53151 ac_cpp='$CPP $CPPFLAGS'
53152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53155
53156
53157 fi
53158
53159   fi
53160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53161 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53162
53163   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53164     for ac_func in ldexpf
53165 do :
53166   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53167 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53168   cat >>confdefs.h <<_ACEOF
53169 #define HAVE_LDEXPF 1
53170 _ACEOF
53171
53172 fi
53173 done
53174
53175   else
53176
53177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53178 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53179   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53180     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53181   $as_echo_n "(cached) " >&6
53182 else
53183
53184
53185       ac_ext=cpp
53186 ac_cpp='$CXXCPP $CPPFLAGS'
53187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53190
53191       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53192 /* end confdefs.h.  */
53193 #include <math.h>
53194 int
53195 main ()
53196 {
53197  _ldexpf(0, 0);
53198   ;
53199   return 0;
53200 }
53201 _ACEOF
53202 if ac_fn_cxx_try_compile "$LINENO"; then :
53203   glibcxx_cv_func__ldexpf_use=yes
53204 else
53205   glibcxx_cv_func__ldexpf_use=no
53206 fi
53207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53208       ac_ext=c
53209 ac_cpp='$CPP $CPPFLAGS'
53210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53213
53214
53215 fi
53216
53217   fi
53218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53219 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53220
53221     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53222       for ac_func in _ldexpf
53223 do :
53224   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53225 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53226   cat >>confdefs.h <<_ACEOF
53227 #define HAVE__LDEXPF 1
53228 _ACEOF
53229
53230 fi
53231 done
53232
53233     fi
53234   fi
53235
53236
53237
53238
53239
53240   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53241 $as_echo_n "checking for logf declaration... " >&6; }
53242   if test x${glibcxx_cv_func_logf_use+set} != xset; then
53243     if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53244   $as_echo_n "(cached) " >&6
53245 else
53246
53247
53248       ac_ext=cpp
53249 ac_cpp='$CXXCPP $CPPFLAGS'
53250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53253
53254       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53255 /* end confdefs.h.  */
53256 #include <math.h>
53257                       #ifdef HAVE_IEEEFP_H
53258                       #include <ieeefp.h>
53259                       #endif
53260
53261 int
53262 main ()
53263 {
53264  logf(0);
53265   ;
53266   return 0;
53267 }
53268 _ACEOF
53269 if ac_fn_cxx_try_compile "$LINENO"; then :
53270   glibcxx_cv_func_logf_use=yes
53271 else
53272   glibcxx_cv_func_logf_use=no
53273 fi
53274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53275       ac_ext=c
53276 ac_cpp='$CPP $CPPFLAGS'
53277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280
53281
53282 fi
53283
53284   fi
53285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53286 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53287
53288   if test x$glibcxx_cv_func_logf_use = x"yes"; then
53289     for ac_func in logf
53290 do :
53291   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53292 if test "x$ac_cv_func_logf" = x""yes; then :
53293   cat >>confdefs.h <<_ACEOF
53294 #define HAVE_LOGF 1
53295 _ACEOF
53296
53297 fi
53298 done
53299
53300   else
53301
53302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53303 $as_echo_n "checking for _logf declaration... " >&6; }
53304   if test x${glibcxx_cv_func__logf_use+set} != xset; then
53305     if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53306   $as_echo_n "(cached) " >&6
53307 else
53308
53309
53310       ac_ext=cpp
53311 ac_cpp='$CXXCPP $CPPFLAGS'
53312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53315
53316       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317 /* end confdefs.h.  */
53318 #include <math.h>
53319                       #ifdef HAVE_IEEEFP_H
53320                       #include <ieeefp.h>
53321                       #endif
53322
53323 int
53324 main ()
53325 {
53326  _logf(0);
53327   ;
53328   return 0;
53329 }
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332   glibcxx_cv_func__logf_use=yes
53333 else
53334   glibcxx_cv_func__logf_use=no
53335 fi
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337       ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53342
53343
53344 fi
53345
53346   fi
53347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53348 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53349
53350     if test x$glibcxx_cv_func__logf_use = x"yes"; then
53351       for ac_func in _logf
53352 do :
53353   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53354 if test "x$ac_cv_func__logf" = x""yes; then :
53355   cat >>confdefs.h <<_ACEOF
53356 #define HAVE__LOGF 1
53357 _ACEOF
53358
53359 fi
53360 done
53361
53362     fi
53363   fi
53364
53365
53366
53367
53368
53369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53370 $as_echo_n "checking for log10f declaration... " >&6; }
53371   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53372     if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53373   $as_echo_n "(cached) " >&6
53374 else
53375
53376
53377       ac_ext=cpp
53378 ac_cpp='$CXXCPP $CPPFLAGS'
53379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53382
53383       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53384 /* end confdefs.h.  */
53385 #include <math.h>
53386                       #ifdef HAVE_IEEEFP_H
53387                       #include <ieeefp.h>
53388                       #endif
53389
53390 int
53391 main ()
53392 {
53393  log10f(0);
53394   ;
53395   return 0;
53396 }
53397 _ACEOF
53398 if ac_fn_cxx_try_compile "$LINENO"; then :
53399   glibcxx_cv_func_log10f_use=yes
53400 else
53401   glibcxx_cv_func_log10f_use=no
53402 fi
53403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53404       ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409
53410
53411 fi
53412
53413   fi
53414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53415 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53416
53417   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53418     for ac_func in log10f
53419 do :
53420   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53421 if test "x$ac_cv_func_log10f" = x""yes; then :
53422   cat >>confdefs.h <<_ACEOF
53423 #define HAVE_LOG10F 1
53424 _ACEOF
53425
53426 fi
53427 done
53428
53429   else
53430
53431   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53432 $as_echo_n "checking for _log10f declaration... " >&6; }
53433   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53434     if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53435   $as_echo_n "(cached) " >&6
53436 else
53437
53438
53439       ac_ext=cpp
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53444
53445       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446 /* end confdefs.h.  */
53447 #include <math.h>
53448                       #ifdef HAVE_IEEEFP_H
53449                       #include <ieeefp.h>
53450                       #endif
53451
53452 int
53453 main ()
53454 {
53455  _log10f(0);
53456   ;
53457   return 0;
53458 }
53459 _ACEOF
53460 if ac_fn_cxx_try_compile "$LINENO"; then :
53461   glibcxx_cv_func__log10f_use=yes
53462 else
53463   glibcxx_cv_func__log10f_use=no
53464 fi
53465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466       ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53471
53472
53473 fi
53474
53475   fi
53476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53477 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53478
53479     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53480       for ac_func in _log10f
53481 do :
53482   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53483 if test "x$ac_cv_func__log10f" = x""yes; then :
53484   cat >>confdefs.h <<_ACEOF
53485 #define HAVE__LOG10F 1
53486 _ACEOF
53487
53488 fi
53489 done
53490
53491     fi
53492   fi
53493
53494
53495
53496
53497
53498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53499 $as_echo_n "checking for modff declaration... " >&6; }
53500   if test x${glibcxx_cv_func_modff_use+set} != xset; then
53501     if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53502   $as_echo_n "(cached) " >&6
53503 else
53504
53505
53506       ac_ext=cpp
53507 ac_cpp='$CXXCPP $CPPFLAGS'
53508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53511
53512       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53513 /* end confdefs.h.  */
53514 #include <math.h>
53515 int
53516 main ()
53517 {
53518  modff(0, 0);
53519   ;
53520   return 0;
53521 }
53522 _ACEOF
53523 if ac_fn_cxx_try_compile "$LINENO"; then :
53524   glibcxx_cv_func_modff_use=yes
53525 else
53526   glibcxx_cv_func_modff_use=no
53527 fi
53528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53529       ac_ext=c
53530 ac_cpp='$CPP $CPPFLAGS'
53531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53534
53535
53536 fi
53537
53538   fi
53539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53540 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53541
53542   if test x$glibcxx_cv_func_modff_use = x"yes"; then
53543     for ac_func in modff
53544 do :
53545   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53546 if test "x$ac_cv_func_modff" = x""yes; then :
53547   cat >>confdefs.h <<_ACEOF
53548 #define HAVE_MODFF 1
53549 _ACEOF
53550
53551 fi
53552 done
53553
53554   else
53555
53556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53557 $as_echo_n "checking for _modff declaration... " >&6; }
53558   if test x${glibcxx_cv_func__modff_use+set} != xset; then
53559     if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53560   $as_echo_n "(cached) " >&6
53561 else
53562
53563
53564       ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569
53570       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h.  */
53572 #include <math.h>
53573 int
53574 main ()
53575 {
53576  _modff(0, 0);
53577   ;
53578   return 0;
53579 }
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582   glibcxx_cv_func__modff_use=yes
53583 else
53584   glibcxx_cv_func__modff_use=no
53585 fi
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587       ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53592
53593
53594 fi
53595
53596   fi
53597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53598 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53599
53600     if test x$glibcxx_cv_func__modff_use = x"yes"; then
53601       for ac_func in _modff
53602 do :
53603   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53604 if test "x$ac_cv_func__modff" = x""yes; then :
53605   cat >>confdefs.h <<_ACEOF
53606 #define HAVE__MODFF 1
53607 _ACEOF
53608
53609 fi
53610 done
53611
53612     fi
53613   fi
53614
53615
53616
53617
53618
53619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53620 $as_echo_n "checking for modf declaration... " >&6; }
53621   if test x${glibcxx_cv_func_modf_use+set} != xset; then
53622     if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53623   $as_echo_n "(cached) " >&6
53624 else
53625
53626
53627       ac_ext=cpp
53628 ac_cpp='$CXXCPP $CPPFLAGS'
53629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632
53633       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53634 /* end confdefs.h.  */
53635 #include <math.h>
53636 int
53637 main ()
53638 {
53639  modf(0, 0);
53640   ;
53641   return 0;
53642 }
53643 _ACEOF
53644 if ac_fn_cxx_try_compile "$LINENO"; then :
53645   glibcxx_cv_func_modf_use=yes
53646 else
53647   glibcxx_cv_func_modf_use=no
53648 fi
53649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53650       ac_ext=c
53651 ac_cpp='$CPP $CPPFLAGS'
53652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53655
53656
53657 fi
53658
53659   fi
53660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53661 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53662
53663   if test x$glibcxx_cv_func_modf_use = x"yes"; then
53664     for ac_func in modf
53665 do :
53666   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53667 if test "x$ac_cv_func_modf" = x""yes; then :
53668   cat >>confdefs.h <<_ACEOF
53669 #define HAVE_MODF 1
53670 _ACEOF
53671
53672 fi
53673 done
53674
53675   else
53676
53677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53678 $as_echo_n "checking for _modf declaration... " >&6; }
53679   if test x${glibcxx_cv_func__modf_use+set} != xset; then
53680     if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53681   $as_echo_n "(cached) " >&6
53682 else
53683
53684
53685       ac_ext=cpp
53686 ac_cpp='$CXXCPP $CPPFLAGS'
53687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53690
53691       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53692 /* end confdefs.h.  */
53693 #include <math.h>
53694 int
53695 main ()
53696 {
53697  _modf(0, 0);
53698   ;
53699   return 0;
53700 }
53701 _ACEOF
53702 if ac_fn_cxx_try_compile "$LINENO"; then :
53703   glibcxx_cv_func__modf_use=yes
53704 else
53705   glibcxx_cv_func__modf_use=no
53706 fi
53707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53708       ac_ext=c
53709 ac_cpp='$CPP $CPPFLAGS'
53710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53713
53714
53715 fi
53716
53717   fi
53718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53719 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53720
53721     if test x$glibcxx_cv_func__modf_use = x"yes"; then
53722       for ac_func in _modf
53723 do :
53724   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53725 if test "x$ac_cv_func__modf" = x""yes; then :
53726   cat >>confdefs.h <<_ACEOF
53727 #define HAVE__MODF 1
53728 _ACEOF
53729
53730 fi
53731 done
53732
53733     fi
53734   fi
53735
53736
53737
53738
53739
53740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53741 $as_echo_n "checking for powf declaration... " >&6; }
53742   if test x${glibcxx_cv_func_powf_use+set} != xset; then
53743     if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53744   $as_echo_n "(cached) " >&6
53745 else
53746
53747
53748       ac_ext=cpp
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53753
53754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h.  */
53756 #include <math.h>
53757 int
53758 main ()
53759 {
53760  powf(0, 0);
53761   ;
53762   return 0;
53763 }
53764 _ACEOF
53765 if ac_fn_cxx_try_compile "$LINENO"; then :
53766   glibcxx_cv_func_powf_use=yes
53767 else
53768   glibcxx_cv_func_powf_use=no
53769 fi
53770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53771       ac_ext=c
53772 ac_cpp='$CPP $CPPFLAGS'
53773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53776
53777
53778 fi
53779
53780   fi
53781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53782 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53783
53784   if test x$glibcxx_cv_func_powf_use = x"yes"; then
53785     for ac_func in powf
53786 do :
53787   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53788 if test "x$ac_cv_func_powf" = x""yes; then :
53789   cat >>confdefs.h <<_ACEOF
53790 #define HAVE_POWF 1
53791 _ACEOF
53792
53793 fi
53794 done
53795
53796   else
53797
53798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53799 $as_echo_n "checking for _powf declaration... " >&6; }
53800   if test x${glibcxx_cv_func__powf_use+set} != xset; then
53801     if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53802   $as_echo_n "(cached) " >&6
53803 else
53804
53805
53806       ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53811
53812       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h.  */
53814 #include <math.h>
53815 int
53816 main ()
53817 {
53818  _powf(0, 0);
53819   ;
53820   return 0;
53821 }
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824   glibcxx_cv_func__powf_use=yes
53825 else
53826   glibcxx_cv_func__powf_use=no
53827 fi
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829       ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53834
53835
53836 fi
53837
53838   fi
53839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53840 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53841
53842     if test x$glibcxx_cv_func__powf_use = x"yes"; then
53843       for ac_func in _powf
53844 do :
53845   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53846 if test "x$ac_cv_func__powf" = x""yes; then :
53847   cat >>confdefs.h <<_ACEOF
53848 #define HAVE__POWF 1
53849 _ACEOF
53850
53851 fi
53852 done
53853
53854     fi
53855   fi
53856
53857
53858
53859
53860
53861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53862 $as_echo_n "checking for sqrtf declaration... " >&6; }
53863   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53864     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53865   $as_echo_n "(cached) " >&6
53866 else
53867
53868
53869       ac_ext=cpp
53870 ac_cpp='$CXXCPP $CPPFLAGS'
53871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53874
53875       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53876 /* end confdefs.h.  */
53877 #include <math.h>
53878                       #ifdef HAVE_IEEEFP_H
53879                       #include <ieeefp.h>
53880                       #endif
53881
53882 int
53883 main ()
53884 {
53885  sqrtf(0);
53886   ;
53887   return 0;
53888 }
53889 _ACEOF
53890 if ac_fn_cxx_try_compile "$LINENO"; then :
53891   glibcxx_cv_func_sqrtf_use=yes
53892 else
53893   glibcxx_cv_func_sqrtf_use=no
53894 fi
53895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53896       ac_ext=c
53897 ac_cpp='$CPP $CPPFLAGS'
53898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53901
53902
53903 fi
53904
53905   fi
53906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53907 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53908
53909   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53910     for ac_func in sqrtf
53911 do :
53912   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53913 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53914   cat >>confdefs.h <<_ACEOF
53915 #define HAVE_SQRTF 1
53916 _ACEOF
53917
53918 fi
53919 done
53920
53921   else
53922
53923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53924 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53925   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53926     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53927   $as_echo_n "(cached) " >&6
53928 else
53929
53930
53931       ac_ext=cpp
53932 ac_cpp='$CXXCPP $CPPFLAGS'
53933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53936
53937       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53938 /* end confdefs.h.  */
53939 #include <math.h>
53940                       #ifdef HAVE_IEEEFP_H
53941                       #include <ieeefp.h>
53942                       #endif
53943
53944 int
53945 main ()
53946 {
53947  _sqrtf(0);
53948   ;
53949   return 0;
53950 }
53951 _ACEOF
53952 if ac_fn_cxx_try_compile "$LINENO"; then :
53953   glibcxx_cv_func__sqrtf_use=yes
53954 else
53955   glibcxx_cv_func__sqrtf_use=no
53956 fi
53957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53958       ac_ext=c
53959 ac_cpp='$CPP $CPPFLAGS'
53960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53963
53964
53965 fi
53966
53967   fi
53968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53969 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53970
53971     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53972       for ac_func in _sqrtf
53973 do :
53974   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53975 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53976   cat >>confdefs.h <<_ACEOF
53977 #define HAVE__SQRTF 1
53978 _ACEOF
53979
53980 fi
53981 done
53982
53983     fi
53984   fi
53985
53986
53987
53988
53989
53990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53991 $as_echo_n "checking for sincosf declaration... " >&6; }
53992   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53993     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53994   $as_echo_n "(cached) " >&6
53995 else
53996
53997
53998       ac_ext=cpp
53999 ac_cpp='$CXXCPP $CPPFLAGS'
54000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54003
54004       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54005 /* end confdefs.h.  */
54006 #include <math.h>
54007 int
54008 main ()
54009 {
54010  sincosf(0, 0, 0);
54011   ;
54012   return 0;
54013 }
54014 _ACEOF
54015 if ac_fn_cxx_try_compile "$LINENO"; then :
54016   glibcxx_cv_func_sincosf_use=yes
54017 else
54018   glibcxx_cv_func_sincosf_use=no
54019 fi
54020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54021       ac_ext=c
54022 ac_cpp='$CPP $CPPFLAGS'
54023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54026
54027
54028 fi
54029
54030   fi
54031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54032 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54033
54034   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54035     for ac_func in sincosf
54036 do :
54037   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54038 if test "x$ac_cv_func_sincosf" = x""yes; then :
54039   cat >>confdefs.h <<_ACEOF
54040 #define HAVE_SINCOSF 1
54041 _ACEOF
54042
54043 fi
54044 done
54045
54046   else
54047
54048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54049 $as_echo_n "checking for _sincosf declaration... " >&6; }
54050   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54051     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54052   $as_echo_n "(cached) " >&6
54053 else
54054
54055
54056       ac_ext=cpp
54057 ac_cpp='$CXXCPP $CPPFLAGS'
54058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54061
54062       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54063 /* end confdefs.h.  */
54064 #include <math.h>
54065 int
54066 main ()
54067 {
54068  _sincosf(0, 0, 0);
54069   ;
54070   return 0;
54071 }
54072 _ACEOF
54073 if ac_fn_cxx_try_compile "$LINENO"; then :
54074   glibcxx_cv_func__sincosf_use=yes
54075 else
54076   glibcxx_cv_func__sincosf_use=no
54077 fi
54078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54079       ac_ext=c
54080 ac_cpp='$CPP $CPPFLAGS'
54081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54084
54085
54086 fi
54087
54088   fi
54089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54090 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54091
54092     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54093       for ac_func in _sincosf
54094 do :
54095   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54096 if test "x$ac_cv_func__sincosf" = x""yes; then :
54097   cat >>confdefs.h <<_ACEOF
54098 #define HAVE__SINCOSF 1
54099 _ACEOF
54100
54101 fi
54102 done
54103
54104     fi
54105   fi
54106
54107
54108
54109
54110
54111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54112 $as_echo_n "checking for finitef declaration... " >&6; }
54113   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54114     if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54115   $as_echo_n "(cached) " >&6
54116 else
54117
54118
54119       ac_ext=cpp
54120 ac_cpp='$CXXCPP $CPPFLAGS'
54121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54124
54125       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54126 /* end confdefs.h.  */
54127 #include <math.h>
54128                       #ifdef HAVE_IEEEFP_H
54129                       #include <ieeefp.h>
54130                       #endif
54131
54132 int
54133 main ()
54134 {
54135  finitef(0);
54136   ;
54137   return 0;
54138 }
54139 _ACEOF
54140 if ac_fn_cxx_try_compile "$LINENO"; then :
54141   glibcxx_cv_func_finitef_use=yes
54142 else
54143   glibcxx_cv_func_finitef_use=no
54144 fi
54145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54146       ac_ext=c
54147 ac_cpp='$CPP $CPPFLAGS'
54148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54151
54152
54153 fi
54154
54155   fi
54156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54157 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54158
54159   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54160     for ac_func in finitef
54161 do :
54162   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54163 if test "x$ac_cv_func_finitef" = x""yes; then :
54164   cat >>confdefs.h <<_ACEOF
54165 #define HAVE_FINITEF 1
54166 _ACEOF
54167
54168 fi
54169 done
54170
54171   else
54172
54173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54174 $as_echo_n "checking for _finitef declaration... " >&6; }
54175   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54176     if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54177   $as_echo_n "(cached) " >&6
54178 else
54179
54180
54181       ac_ext=cpp
54182 ac_cpp='$CXXCPP $CPPFLAGS'
54183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54186
54187       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54188 /* end confdefs.h.  */
54189 #include <math.h>
54190                       #ifdef HAVE_IEEEFP_H
54191                       #include <ieeefp.h>
54192                       #endif
54193
54194 int
54195 main ()
54196 {
54197  _finitef(0);
54198   ;
54199   return 0;
54200 }
54201 _ACEOF
54202 if ac_fn_cxx_try_compile "$LINENO"; then :
54203   glibcxx_cv_func__finitef_use=yes
54204 else
54205   glibcxx_cv_func__finitef_use=no
54206 fi
54207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54208       ac_ext=c
54209 ac_cpp='$CPP $CPPFLAGS'
54210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54213
54214
54215 fi
54216
54217   fi
54218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54219 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54220
54221     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54222       for ac_func in _finitef
54223 do :
54224   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54225 if test "x$ac_cv_func__finitef" = x""yes; then :
54226   cat >>confdefs.h <<_ACEOF
54227 #define HAVE__FINITEF 1
54228 _ACEOF
54229
54230 fi
54231 done
54232
54233     fi
54234   fi
54235
54236
54237
54238
54239
54240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54241 $as_echo_n "checking for long double trig functions... " >&6; }
54242   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54243   $as_echo_n "(cached) " >&6
54244 else
54245
54246
54247     ac_ext=cpp
54248 ac_cpp='$CXXCPP $CPPFLAGS'
54249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54252
54253     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54254 /* end confdefs.h.  */
54255 #include <math.h>
54256 int
54257 main ()
54258 {
54259 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54260   ;
54261   return 0;
54262 }
54263 _ACEOF
54264 if ac_fn_cxx_try_compile "$LINENO"; then :
54265   glibcxx_cv_func_long_double_trig_use=yes
54266 else
54267   glibcxx_cv_func_long_double_trig_use=no
54268 fi
54269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54270     ac_ext=c
54271 ac_cpp='$CPP $CPPFLAGS'
54272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54275
54276 fi
54277
54278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54279 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54280   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54281     for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54282 do :
54283   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54285 eval as_val=\$$as_ac_var
54286    if test "x$as_val" = x""yes; then :
54287   cat >>confdefs.h <<_ACEOF
54288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54289 _ACEOF
54290
54291 fi
54292 done
54293
54294   else
54295     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54296 $as_echo_n "checking for _long double trig functions... " >&6; }
54297     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54298   $as_echo_n "(cached) " >&6
54299 else
54300
54301
54302       ac_ext=cpp
54303 ac_cpp='$CXXCPP $CPPFLAGS'
54304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54307
54308       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54309 /* end confdefs.h.  */
54310 #include <math.h>
54311 int
54312 main ()
54313 {
54314 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54315   ;
54316   return 0;
54317 }
54318 _ACEOF
54319 if ac_fn_cxx_try_compile "$LINENO"; then :
54320   glibcxx_cv_func__long_double_trig_use=yes
54321 else
54322   glibcxx_cv_func__long_double_trig_use=no
54323 fi
54324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54325       ac_ext=c
54326 ac_cpp='$CPP $CPPFLAGS'
54327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54330
54331 fi
54332
54333     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54334 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54335     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54336       for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54337 do :
54338   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54340 eval as_val=\$$as_ac_var
54341    if test "x$as_val" = x""yes; then :
54342   cat >>confdefs.h <<_ACEOF
54343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54344 _ACEOF
54345
54346 fi
54347 done
54348
54349     fi
54350   fi
54351
54352
54353
54354
54355
54356     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54357 $as_echo_n "checking for long double round functions... " >&6; }
54358   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54359   $as_echo_n "(cached) " >&6
54360 else
54361
54362
54363     ac_ext=cpp
54364 ac_cpp='$CXXCPP $CPPFLAGS'
54365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54368
54369     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54370 /* end confdefs.h.  */
54371 #include <math.h>
54372 int
54373 main ()
54374 {
54375 ceill (0); floorl (0);
54376   ;
54377   return 0;
54378 }
54379 _ACEOF
54380 if ac_fn_cxx_try_compile "$LINENO"; then :
54381   glibcxx_cv_func_long_double_round_use=yes
54382 else
54383   glibcxx_cv_func_long_double_round_use=no
54384 fi
54385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54386     ac_ext=c
54387 ac_cpp='$CPP $CPPFLAGS'
54388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54391
54392 fi
54393
54394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54395 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54396   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54397     for ac_func in ceill floorl
54398 do :
54399   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54401 eval as_val=\$$as_ac_var
54402    if test "x$as_val" = x""yes; then :
54403   cat >>confdefs.h <<_ACEOF
54404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54405 _ACEOF
54406
54407 fi
54408 done
54409
54410   else
54411     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54412 $as_echo_n "checking for _long double round functions... " >&6; }
54413     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54414   $as_echo_n "(cached) " >&6
54415 else
54416
54417
54418       ac_ext=cpp
54419 ac_cpp='$CXXCPP $CPPFLAGS'
54420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54423
54424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54425 /* end confdefs.h.  */
54426 #include <math.h>
54427 int
54428 main ()
54429 {
54430 _ceill (0); _floorl (0);
54431   ;
54432   return 0;
54433 }
54434 _ACEOF
54435 if ac_fn_cxx_try_compile "$LINENO"; then :
54436   glibcxx_cv_func__long_double_round_use=yes
54437 else
54438   glibcxx_cv_func__long_double_round_use=no
54439 fi
54440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54441       ac_ext=c
54442 ac_cpp='$CPP $CPPFLAGS'
54443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54446
54447 fi
54448
54449     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54450 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54451     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54452       for ac_func in _ceill _floorl
54453 do :
54454   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54456 eval as_val=\$$as_ac_var
54457    if test "x$as_val" = x""yes; then :
54458   cat >>confdefs.h <<_ACEOF
54459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54460 _ACEOF
54461
54462 fi
54463 done
54464
54465     fi
54466   fi
54467
54468
54469
54470
54471
54472
54473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54474 $as_echo_n "checking for isnanl declaration... " >&6; }
54475   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54476     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54477   $as_echo_n "(cached) " >&6
54478 else
54479
54480
54481       ac_ext=cpp
54482 ac_cpp='$CXXCPP $CPPFLAGS'
54483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54486
54487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54488 /* end confdefs.h.  */
54489 #include <math.h>
54490                       #ifdef HAVE_IEEEFP_H
54491                       #include <ieeefp.h>
54492                       #endif
54493
54494 int
54495 main ()
54496 {
54497  isnanl(0);
54498   ;
54499   return 0;
54500 }
54501 _ACEOF
54502 if ac_fn_cxx_try_compile "$LINENO"; then :
54503   glibcxx_cv_func_isnanl_use=yes
54504 else
54505   glibcxx_cv_func_isnanl_use=no
54506 fi
54507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54508       ac_ext=c
54509 ac_cpp='$CPP $CPPFLAGS'
54510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54513
54514
54515 fi
54516
54517   fi
54518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54519 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54520
54521   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54522     for ac_func in isnanl
54523 do :
54524   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54525 if test "x$ac_cv_func_isnanl" = x""yes; then :
54526   cat >>confdefs.h <<_ACEOF
54527 #define HAVE_ISNANL 1
54528 _ACEOF
54529
54530 fi
54531 done
54532
54533   else
54534
54535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54536 $as_echo_n "checking for _isnanl declaration... " >&6; }
54537   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54538     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54539   $as_echo_n "(cached) " >&6
54540 else
54541
54542
54543       ac_ext=cpp
54544 ac_cpp='$CXXCPP $CPPFLAGS'
54545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54548
54549       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54550 /* end confdefs.h.  */
54551 #include <math.h>
54552                       #ifdef HAVE_IEEEFP_H
54553                       #include <ieeefp.h>
54554                       #endif
54555
54556 int
54557 main ()
54558 {
54559  _isnanl(0);
54560   ;
54561   return 0;
54562 }
54563 _ACEOF
54564 if ac_fn_cxx_try_compile "$LINENO"; then :
54565   glibcxx_cv_func__isnanl_use=yes
54566 else
54567   glibcxx_cv_func__isnanl_use=no
54568 fi
54569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54570       ac_ext=c
54571 ac_cpp='$CPP $CPPFLAGS'
54572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54575
54576
54577 fi
54578
54579   fi
54580   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54581 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54582
54583     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54584       for ac_func in _isnanl
54585 do :
54586   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54587 if test "x$ac_cv_func__isnanl" = x""yes; then :
54588   cat >>confdefs.h <<_ACEOF
54589 #define HAVE__ISNANL 1
54590 _ACEOF
54591
54592 fi
54593 done
54594
54595     fi
54596   fi
54597
54598
54599
54600
54601
54602   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54603 $as_echo_n "checking for isinfl declaration... " >&6; }
54604   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54605     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54606   $as_echo_n "(cached) " >&6
54607 else
54608
54609
54610       ac_ext=cpp
54611 ac_cpp='$CXXCPP $CPPFLAGS'
54612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54615
54616       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54617 /* end confdefs.h.  */
54618 #include <math.h>
54619                       #ifdef HAVE_IEEEFP_H
54620                       #include <ieeefp.h>
54621                       #endif
54622
54623 int
54624 main ()
54625 {
54626  isinfl(0);
54627   ;
54628   return 0;
54629 }
54630 _ACEOF
54631 if ac_fn_cxx_try_compile "$LINENO"; then :
54632   glibcxx_cv_func_isinfl_use=yes
54633 else
54634   glibcxx_cv_func_isinfl_use=no
54635 fi
54636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54637       ac_ext=c
54638 ac_cpp='$CPP $CPPFLAGS'
54639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54642
54643
54644 fi
54645
54646   fi
54647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54648 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54649
54650   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54651     for ac_func in isinfl
54652 do :
54653   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54654 if test "x$ac_cv_func_isinfl" = x""yes; then :
54655   cat >>confdefs.h <<_ACEOF
54656 #define HAVE_ISINFL 1
54657 _ACEOF
54658
54659 fi
54660 done
54661
54662   else
54663
54664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54665 $as_echo_n "checking for _isinfl declaration... " >&6; }
54666   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54667     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54668   $as_echo_n "(cached) " >&6
54669 else
54670
54671
54672       ac_ext=cpp
54673 ac_cpp='$CXXCPP $CPPFLAGS'
54674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54677
54678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54679 /* end confdefs.h.  */
54680 #include <math.h>
54681                       #ifdef HAVE_IEEEFP_H
54682                       #include <ieeefp.h>
54683                       #endif
54684
54685 int
54686 main ()
54687 {
54688  _isinfl(0);
54689   ;
54690   return 0;
54691 }
54692 _ACEOF
54693 if ac_fn_cxx_try_compile "$LINENO"; then :
54694   glibcxx_cv_func__isinfl_use=yes
54695 else
54696   glibcxx_cv_func__isinfl_use=no
54697 fi
54698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54699       ac_ext=c
54700 ac_cpp='$CPP $CPPFLAGS'
54701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54704
54705
54706 fi
54707
54708   fi
54709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54710 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54711
54712     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54713       for ac_func in _isinfl
54714 do :
54715   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54716 if test "x$ac_cv_func__isinfl" = x""yes; then :
54717   cat >>confdefs.h <<_ACEOF
54718 #define HAVE__ISINFL 1
54719 _ACEOF
54720
54721 fi
54722 done
54723
54724     fi
54725   fi
54726
54727
54728
54729
54730
54731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54732 $as_echo_n "checking for atan2l declaration... " >&6; }
54733   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54734     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54735   $as_echo_n "(cached) " >&6
54736 else
54737
54738
54739       ac_ext=cpp
54740 ac_cpp='$CXXCPP $CPPFLAGS'
54741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54744
54745       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54746 /* end confdefs.h.  */
54747 #include <math.h>
54748 int
54749 main ()
54750 {
54751  atan2l(0, 0);
54752   ;
54753   return 0;
54754 }
54755 _ACEOF
54756 if ac_fn_cxx_try_compile "$LINENO"; then :
54757   glibcxx_cv_func_atan2l_use=yes
54758 else
54759   glibcxx_cv_func_atan2l_use=no
54760 fi
54761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54762       ac_ext=c
54763 ac_cpp='$CPP $CPPFLAGS'
54764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54767
54768
54769 fi
54770
54771   fi
54772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54773 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54774
54775   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54776     for ac_func in atan2l
54777 do :
54778   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54779 if test "x$ac_cv_func_atan2l" = x""yes; then :
54780   cat >>confdefs.h <<_ACEOF
54781 #define HAVE_ATAN2L 1
54782 _ACEOF
54783
54784 fi
54785 done
54786
54787   else
54788
54789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54790 $as_echo_n "checking for _atan2l declaration... " >&6; }
54791   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54792     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54793   $as_echo_n "(cached) " >&6
54794 else
54795
54796
54797       ac_ext=cpp
54798 ac_cpp='$CXXCPP $CPPFLAGS'
54799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54802
54803       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54804 /* end confdefs.h.  */
54805 #include <math.h>
54806 int
54807 main ()
54808 {
54809  _atan2l(0, 0);
54810   ;
54811   return 0;
54812 }
54813 _ACEOF
54814 if ac_fn_cxx_try_compile "$LINENO"; then :
54815   glibcxx_cv_func__atan2l_use=yes
54816 else
54817   glibcxx_cv_func__atan2l_use=no
54818 fi
54819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54820       ac_ext=c
54821 ac_cpp='$CPP $CPPFLAGS'
54822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54825
54826
54827 fi
54828
54829   fi
54830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54831 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54832
54833     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54834       for ac_func in _atan2l
54835 do :
54836   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54837 if test "x$ac_cv_func__atan2l" = x""yes; then :
54838   cat >>confdefs.h <<_ACEOF
54839 #define HAVE__ATAN2L 1
54840 _ACEOF
54841
54842 fi
54843 done
54844
54845     fi
54846   fi
54847
54848
54849
54850
54851
54852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54853 $as_echo_n "checking for expl declaration... " >&6; }
54854   if test x${glibcxx_cv_func_expl_use+set} != xset; then
54855     if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54856   $as_echo_n "(cached) " >&6
54857 else
54858
54859
54860       ac_ext=cpp
54861 ac_cpp='$CXXCPP $CPPFLAGS'
54862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54865
54866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54867 /* end confdefs.h.  */
54868 #include <math.h>
54869                       #ifdef HAVE_IEEEFP_H
54870                       #include <ieeefp.h>
54871                       #endif
54872
54873 int
54874 main ()
54875 {
54876  expl(0);
54877   ;
54878   return 0;
54879 }
54880 _ACEOF
54881 if ac_fn_cxx_try_compile "$LINENO"; then :
54882   glibcxx_cv_func_expl_use=yes
54883 else
54884   glibcxx_cv_func_expl_use=no
54885 fi
54886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54887       ac_ext=c
54888 ac_cpp='$CPP $CPPFLAGS'
54889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54892
54893
54894 fi
54895
54896   fi
54897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54898 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54899
54900   if test x$glibcxx_cv_func_expl_use = x"yes"; then
54901     for ac_func in expl
54902 do :
54903   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54904 if test "x$ac_cv_func_expl" = x""yes; then :
54905   cat >>confdefs.h <<_ACEOF
54906 #define HAVE_EXPL 1
54907 _ACEOF
54908
54909 fi
54910 done
54911
54912   else
54913
54914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54915 $as_echo_n "checking for _expl declaration... " >&6; }
54916   if test x${glibcxx_cv_func__expl_use+set} != xset; then
54917     if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54918   $as_echo_n "(cached) " >&6
54919 else
54920
54921
54922       ac_ext=cpp
54923 ac_cpp='$CXXCPP $CPPFLAGS'
54924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54927
54928       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54929 /* end confdefs.h.  */
54930 #include <math.h>
54931                       #ifdef HAVE_IEEEFP_H
54932                       #include <ieeefp.h>
54933                       #endif
54934
54935 int
54936 main ()
54937 {
54938  _expl(0);
54939   ;
54940   return 0;
54941 }
54942 _ACEOF
54943 if ac_fn_cxx_try_compile "$LINENO"; then :
54944   glibcxx_cv_func__expl_use=yes
54945 else
54946   glibcxx_cv_func__expl_use=no
54947 fi
54948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54949       ac_ext=c
54950 ac_cpp='$CPP $CPPFLAGS'
54951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54954
54955
54956 fi
54957
54958   fi
54959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54960 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54961
54962     if test x$glibcxx_cv_func__expl_use = x"yes"; then
54963       for ac_func in _expl
54964 do :
54965   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54966 if test "x$ac_cv_func__expl" = x""yes; then :
54967   cat >>confdefs.h <<_ACEOF
54968 #define HAVE__EXPL 1
54969 _ACEOF
54970
54971 fi
54972 done
54973
54974     fi
54975   fi
54976
54977
54978
54979
54980
54981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54982 $as_echo_n "checking for fabsl declaration... " >&6; }
54983   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54984     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54985   $as_echo_n "(cached) " >&6
54986 else
54987
54988
54989       ac_ext=cpp
54990 ac_cpp='$CXXCPP $CPPFLAGS'
54991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54994
54995       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54996 /* end confdefs.h.  */
54997 #include <math.h>
54998                       #ifdef HAVE_IEEEFP_H
54999                       #include <ieeefp.h>
55000                       #endif
55001
55002 int
55003 main ()
55004 {
55005  fabsl(0);
55006   ;
55007   return 0;
55008 }
55009 _ACEOF
55010 if ac_fn_cxx_try_compile "$LINENO"; then :
55011   glibcxx_cv_func_fabsl_use=yes
55012 else
55013   glibcxx_cv_func_fabsl_use=no
55014 fi
55015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55016       ac_ext=c
55017 ac_cpp='$CPP $CPPFLAGS'
55018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55021
55022
55023 fi
55024
55025   fi
55026   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55027 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55028
55029   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55030     for ac_func in fabsl
55031 do :
55032   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55033 if test "x$ac_cv_func_fabsl" = x""yes; then :
55034   cat >>confdefs.h <<_ACEOF
55035 #define HAVE_FABSL 1
55036 _ACEOF
55037
55038 fi
55039 done
55040
55041   else
55042
55043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55044 $as_echo_n "checking for _fabsl declaration... " >&6; }
55045   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55046     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55047   $as_echo_n "(cached) " >&6
55048 else
55049
55050
55051       ac_ext=cpp
55052 ac_cpp='$CXXCPP $CPPFLAGS'
55053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55056
55057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55058 /* end confdefs.h.  */
55059 #include <math.h>
55060                       #ifdef HAVE_IEEEFP_H
55061                       #include <ieeefp.h>
55062                       #endif
55063
55064 int
55065 main ()
55066 {
55067  _fabsl(0);
55068   ;
55069   return 0;
55070 }
55071 _ACEOF
55072 if ac_fn_cxx_try_compile "$LINENO"; then :
55073   glibcxx_cv_func__fabsl_use=yes
55074 else
55075   glibcxx_cv_func__fabsl_use=no
55076 fi
55077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55078       ac_ext=c
55079 ac_cpp='$CPP $CPPFLAGS'
55080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083
55084
55085 fi
55086
55087   fi
55088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55089 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55090
55091     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55092       for ac_func in _fabsl
55093 do :
55094   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55095 if test "x$ac_cv_func__fabsl" = x""yes; then :
55096   cat >>confdefs.h <<_ACEOF
55097 #define HAVE__FABSL 1
55098 _ACEOF
55099
55100 fi
55101 done
55102
55103     fi
55104   fi
55105
55106
55107
55108
55109
55110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55111 $as_echo_n "checking for fmodl declaration... " >&6; }
55112   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55113     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55114   $as_echo_n "(cached) " >&6
55115 else
55116
55117
55118       ac_ext=cpp
55119 ac_cpp='$CXXCPP $CPPFLAGS'
55120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55123
55124       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55125 /* end confdefs.h.  */
55126 #include <math.h>
55127 int
55128 main ()
55129 {
55130  fmodl(0, 0);
55131   ;
55132   return 0;
55133 }
55134 _ACEOF
55135 if ac_fn_cxx_try_compile "$LINENO"; then :
55136   glibcxx_cv_func_fmodl_use=yes
55137 else
55138   glibcxx_cv_func_fmodl_use=no
55139 fi
55140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55141       ac_ext=c
55142 ac_cpp='$CPP $CPPFLAGS'
55143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55146
55147
55148 fi
55149
55150   fi
55151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55152 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55153
55154   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55155     for ac_func in fmodl
55156 do :
55157   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55158 if test "x$ac_cv_func_fmodl" = x""yes; then :
55159   cat >>confdefs.h <<_ACEOF
55160 #define HAVE_FMODL 1
55161 _ACEOF
55162
55163 fi
55164 done
55165
55166   else
55167
55168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55169 $as_echo_n "checking for _fmodl declaration... " >&6; }
55170   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55171     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55172   $as_echo_n "(cached) " >&6
55173 else
55174
55175
55176       ac_ext=cpp
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55181
55182       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55183 /* end confdefs.h.  */
55184 #include <math.h>
55185 int
55186 main ()
55187 {
55188  _fmodl(0, 0);
55189   ;
55190   return 0;
55191 }
55192 _ACEOF
55193 if ac_fn_cxx_try_compile "$LINENO"; then :
55194   glibcxx_cv_func__fmodl_use=yes
55195 else
55196   glibcxx_cv_func__fmodl_use=no
55197 fi
55198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55199       ac_ext=c
55200 ac_cpp='$CPP $CPPFLAGS'
55201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55204
55205
55206 fi
55207
55208   fi
55209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55210 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55211
55212     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55213       for ac_func in _fmodl
55214 do :
55215   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55216 if test "x$ac_cv_func__fmodl" = x""yes; then :
55217   cat >>confdefs.h <<_ACEOF
55218 #define HAVE__FMODL 1
55219 _ACEOF
55220
55221 fi
55222 done
55223
55224     fi
55225   fi
55226
55227
55228
55229
55230
55231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55232 $as_echo_n "checking for frexpl declaration... " >&6; }
55233   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55234     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55235   $as_echo_n "(cached) " >&6
55236 else
55237
55238
55239       ac_ext=cpp
55240 ac_cpp='$CXXCPP $CPPFLAGS'
55241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55244
55245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55246 /* end confdefs.h.  */
55247 #include <math.h>
55248 int
55249 main ()
55250 {
55251  frexpl(0, 0);
55252   ;
55253   return 0;
55254 }
55255 _ACEOF
55256 if ac_fn_cxx_try_compile "$LINENO"; then :
55257   glibcxx_cv_func_frexpl_use=yes
55258 else
55259   glibcxx_cv_func_frexpl_use=no
55260 fi
55261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55262       ac_ext=c
55263 ac_cpp='$CPP $CPPFLAGS'
55264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55267
55268
55269 fi
55270
55271   fi
55272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55273 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55274
55275   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55276     for ac_func in frexpl
55277 do :
55278   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55279 if test "x$ac_cv_func_frexpl" = x""yes; then :
55280   cat >>confdefs.h <<_ACEOF
55281 #define HAVE_FREXPL 1
55282 _ACEOF
55283
55284 fi
55285 done
55286
55287   else
55288
55289   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55290 $as_echo_n "checking for _frexpl declaration... " >&6; }
55291   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55292     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55293   $as_echo_n "(cached) " >&6
55294 else
55295
55296
55297       ac_ext=cpp
55298 ac_cpp='$CXXCPP $CPPFLAGS'
55299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55302
55303       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55304 /* end confdefs.h.  */
55305 #include <math.h>
55306 int
55307 main ()
55308 {
55309  _frexpl(0, 0);
55310   ;
55311   return 0;
55312 }
55313 _ACEOF
55314 if ac_fn_cxx_try_compile "$LINENO"; then :
55315   glibcxx_cv_func__frexpl_use=yes
55316 else
55317   glibcxx_cv_func__frexpl_use=no
55318 fi
55319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55320       ac_ext=c
55321 ac_cpp='$CPP $CPPFLAGS'
55322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55325
55326
55327 fi
55328
55329   fi
55330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55331 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55332
55333     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55334       for ac_func in _frexpl
55335 do :
55336   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55337 if test "x$ac_cv_func__frexpl" = x""yes; then :
55338   cat >>confdefs.h <<_ACEOF
55339 #define HAVE__FREXPL 1
55340 _ACEOF
55341
55342 fi
55343 done
55344
55345     fi
55346   fi
55347
55348
55349
55350
55351
55352   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55353 $as_echo_n "checking for hypotl declaration... " >&6; }
55354   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55355     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55356   $as_echo_n "(cached) " >&6
55357 else
55358
55359
55360       ac_ext=cpp
55361 ac_cpp='$CXXCPP $CPPFLAGS'
55362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55365
55366       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55367 /* end confdefs.h.  */
55368 #include <math.h>
55369 int
55370 main ()
55371 {
55372  hypotl(0, 0);
55373   ;
55374   return 0;
55375 }
55376 _ACEOF
55377 if ac_fn_cxx_try_compile "$LINENO"; then :
55378   glibcxx_cv_func_hypotl_use=yes
55379 else
55380   glibcxx_cv_func_hypotl_use=no
55381 fi
55382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55383       ac_ext=c
55384 ac_cpp='$CPP $CPPFLAGS'
55385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55388
55389
55390 fi
55391
55392   fi
55393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55394 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55395
55396   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55397     for ac_func in hypotl
55398 do :
55399   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55400 if test "x$ac_cv_func_hypotl" = x""yes; then :
55401   cat >>confdefs.h <<_ACEOF
55402 #define HAVE_HYPOTL 1
55403 _ACEOF
55404
55405 fi
55406 done
55407
55408   else
55409
55410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55411 $as_echo_n "checking for _hypotl declaration... " >&6; }
55412   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55413     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55414   $as_echo_n "(cached) " >&6
55415 else
55416
55417
55418       ac_ext=cpp
55419 ac_cpp='$CXXCPP $CPPFLAGS'
55420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55423
55424       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55425 /* end confdefs.h.  */
55426 #include <math.h>
55427 int
55428 main ()
55429 {
55430  _hypotl(0, 0);
55431   ;
55432   return 0;
55433 }
55434 _ACEOF
55435 if ac_fn_cxx_try_compile "$LINENO"; then :
55436   glibcxx_cv_func__hypotl_use=yes
55437 else
55438   glibcxx_cv_func__hypotl_use=no
55439 fi
55440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55441       ac_ext=c
55442 ac_cpp='$CPP $CPPFLAGS'
55443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55446
55447
55448 fi
55449
55450   fi
55451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55452 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55453
55454     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55455       for ac_func in _hypotl
55456 do :
55457   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55458 if test "x$ac_cv_func__hypotl" = x""yes; then :
55459   cat >>confdefs.h <<_ACEOF
55460 #define HAVE__HYPOTL 1
55461 _ACEOF
55462
55463 fi
55464 done
55465
55466     fi
55467   fi
55468
55469
55470
55471
55472
55473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55474 $as_echo_n "checking for ldexpl declaration... " >&6; }
55475   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55476     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55477   $as_echo_n "(cached) " >&6
55478 else
55479
55480
55481       ac_ext=cpp
55482 ac_cpp='$CXXCPP $CPPFLAGS'
55483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55486
55487       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55488 /* end confdefs.h.  */
55489 #include <math.h>
55490 int
55491 main ()
55492 {
55493  ldexpl(0, 0);
55494   ;
55495   return 0;
55496 }
55497 _ACEOF
55498 if ac_fn_cxx_try_compile "$LINENO"; then :
55499   glibcxx_cv_func_ldexpl_use=yes
55500 else
55501   glibcxx_cv_func_ldexpl_use=no
55502 fi
55503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55504       ac_ext=c
55505 ac_cpp='$CPP $CPPFLAGS'
55506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55509
55510
55511 fi
55512
55513   fi
55514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55515 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55516
55517   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55518     for ac_func in ldexpl
55519 do :
55520   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55521 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55522   cat >>confdefs.h <<_ACEOF
55523 #define HAVE_LDEXPL 1
55524 _ACEOF
55525
55526 fi
55527 done
55528
55529   else
55530
55531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55532 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55533   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55534     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55535   $as_echo_n "(cached) " >&6
55536 else
55537
55538
55539       ac_ext=cpp
55540 ac_cpp='$CXXCPP $CPPFLAGS'
55541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55544
55545       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55546 /* end confdefs.h.  */
55547 #include <math.h>
55548 int
55549 main ()
55550 {
55551  _ldexpl(0, 0);
55552   ;
55553   return 0;
55554 }
55555 _ACEOF
55556 if ac_fn_cxx_try_compile "$LINENO"; then :
55557   glibcxx_cv_func__ldexpl_use=yes
55558 else
55559   glibcxx_cv_func__ldexpl_use=no
55560 fi
55561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55562       ac_ext=c
55563 ac_cpp='$CPP $CPPFLAGS'
55564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55567
55568
55569 fi
55570
55571   fi
55572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55573 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55574
55575     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55576       for ac_func in _ldexpl
55577 do :
55578   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55579 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55580   cat >>confdefs.h <<_ACEOF
55581 #define HAVE__LDEXPL 1
55582 _ACEOF
55583
55584 fi
55585 done
55586
55587     fi
55588   fi
55589
55590
55591
55592
55593
55594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55595 $as_echo_n "checking for logl declaration... " >&6; }
55596   if test x${glibcxx_cv_func_logl_use+set} != xset; then
55597     if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55598   $as_echo_n "(cached) " >&6
55599 else
55600
55601
55602       ac_ext=cpp
55603 ac_cpp='$CXXCPP $CPPFLAGS'
55604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55607
55608       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55609 /* end confdefs.h.  */
55610 #include <math.h>
55611                       #ifdef HAVE_IEEEFP_H
55612                       #include <ieeefp.h>
55613                       #endif
55614
55615 int
55616 main ()
55617 {
55618  logl(0);
55619   ;
55620   return 0;
55621 }
55622 _ACEOF
55623 if ac_fn_cxx_try_compile "$LINENO"; then :
55624   glibcxx_cv_func_logl_use=yes
55625 else
55626   glibcxx_cv_func_logl_use=no
55627 fi
55628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55629       ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634
55635
55636 fi
55637
55638   fi
55639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55640 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55641
55642   if test x$glibcxx_cv_func_logl_use = x"yes"; then
55643     for ac_func in logl
55644 do :
55645   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55646 if test "x$ac_cv_func_logl" = x""yes; then :
55647   cat >>confdefs.h <<_ACEOF
55648 #define HAVE_LOGL 1
55649 _ACEOF
55650
55651 fi
55652 done
55653
55654   else
55655
55656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55657 $as_echo_n "checking for _logl declaration... " >&6; }
55658   if test x${glibcxx_cv_func__logl_use+set} != xset; then
55659     if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55660   $as_echo_n "(cached) " >&6
55661 else
55662
55663
55664       ac_ext=cpp
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55669
55670       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h.  */
55672 #include <math.h>
55673                       #ifdef HAVE_IEEEFP_H
55674                       #include <ieeefp.h>
55675                       #endif
55676
55677 int
55678 main ()
55679 {
55680  _logl(0);
55681   ;
55682   return 0;
55683 }
55684 _ACEOF
55685 if ac_fn_cxx_try_compile "$LINENO"; then :
55686   glibcxx_cv_func__logl_use=yes
55687 else
55688   glibcxx_cv_func__logl_use=no
55689 fi
55690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55691       ac_ext=c
55692 ac_cpp='$CPP $CPPFLAGS'
55693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55696
55697
55698 fi
55699
55700   fi
55701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55702 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55703
55704     if test x$glibcxx_cv_func__logl_use = x"yes"; then
55705       for ac_func in _logl
55706 do :
55707   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55708 if test "x$ac_cv_func__logl" = x""yes; then :
55709   cat >>confdefs.h <<_ACEOF
55710 #define HAVE__LOGL 1
55711 _ACEOF
55712
55713 fi
55714 done
55715
55716     fi
55717   fi
55718
55719
55720
55721
55722
55723   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55724 $as_echo_n "checking for log10l declaration... " >&6; }
55725   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55726     if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55727   $as_echo_n "(cached) " >&6
55728 else
55729
55730
55731       ac_ext=cpp
55732 ac_cpp='$CXXCPP $CPPFLAGS'
55733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55736
55737       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55738 /* end confdefs.h.  */
55739 #include <math.h>
55740                       #ifdef HAVE_IEEEFP_H
55741                       #include <ieeefp.h>
55742                       #endif
55743
55744 int
55745 main ()
55746 {
55747  log10l(0);
55748   ;
55749   return 0;
55750 }
55751 _ACEOF
55752 if ac_fn_cxx_try_compile "$LINENO"; then :
55753   glibcxx_cv_func_log10l_use=yes
55754 else
55755   glibcxx_cv_func_log10l_use=no
55756 fi
55757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55758       ac_ext=c
55759 ac_cpp='$CPP $CPPFLAGS'
55760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55763
55764
55765 fi
55766
55767   fi
55768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55769 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55770
55771   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55772     for ac_func in log10l
55773 do :
55774   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55775 if test "x$ac_cv_func_log10l" = x""yes; then :
55776   cat >>confdefs.h <<_ACEOF
55777 #define HAVE_LOG10L 1
55778 _ACEOF
55779
55780 fi
55781 done
55782
55783   else
55784
55785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55786 $as_echo_n "checking for _log10l declaration... " >&6; }
55787   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55788     if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55789   $as_echo_n "(cached) " >&6
55790 else
55791
55792
55793       ac_ext=cpp
55794 ac_cpp='$CXXCPP $CPPFLAGS'
55795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55798
55799       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55800 /* end confdefs.h.  */
55801 #include <math.h>
55802                       #ifdef HAVE_IEEEFP_H
55803                       #include <ieeefp.h>
55804                       #endif
55805
55806 int
55807 main ()
55808 {
55809  _log10l(0);
55810   ;
55811   return 0;
55812 }
55813 _ACEOF
55814 if ac_fn_cxx_try_compile "$LINENO"; then :
55815   glibcxx_cv_func__log10l_use=yes
55816 else
55817   glibcxx_cv_func__log10l_use=no
55818 fi
55819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55820       ac_ext=c
55821 ac_cpp='$CPP $CPPFLAGS'
55822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55825
55826
55827 fi
55828
55829   fi
55830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55831 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55832
55833     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55834       for ac_func in _log10l
55835 do :
55836   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55837 if test "x$ac_cv_func__log10l" = x""yes; then :
55838   cat >>confdefs.h <<_ACEOF
55839 #define HAVE__LOG10L 1
55840 _ACEOF
55841
55842 fi
55843 done
55844
55845     fi
55846   fi
55847
55848
55849
55850
55851
55852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55853 $as_echo_n "checking for modfl declaration... " >&6; }
55854   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55855     if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55856   $as_echo_n "(cached) " >&6
55857 else
55858
55859
55860       ac_ext=cpp
55861 ac_cpp='$CXXCPP $CPPFLAGS'
55862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55865
55866       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55867 /* end confdefs.h.  */
55868 #include <math.h>
55869 int
55870 main ()
55871 {
55872  modfl(0, 0);
55873   ;
55874   return 0;
55875 }
55876 _ACEOF
55877 if ac_fn_cxx_try_compile "$LINENO"; then :
55878   glibcxx_cv_func_modfl_use=yes
55879 else
55880   glibcxx_cv_func_modfl_use=no
55881 fi
55882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55883       ac_ext=c
55884 ac_cpp='$CPP $CPPFLAGS'
55885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55888
55889
55890 fi
55891
55892   fi
55893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55894 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55895
55896   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55897     for ac_func in modfl
55898 do :
55899   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55900 if test "x$ac_cv_func_modfl" = x""yes; then :
55901   cat >>confdefs.h <<_ACEOF
55902 #define HAVE_MODFL 1
55903 _ACEOF
55904
55905 fi
55906 done
55907
55908   else
55909
55910   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55911 $as_echo_n "checking for _modfl declaration... " >&6; }
55912   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55913     if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55914   $as_echo_n "(cached) " >&6
55915 else
55916
55917
55918       ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55923
55924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h.  */
55926 #include <math.h>
55927 int
55928 main ()
55929 {
55930  _modfl(0, 0);
55931   ;
55932   return 0;
55933 }
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936   glibcxx_cv_func__modfl_use=yes
55937 else
55938   glibcxx_cv_func__modfl_use=no
55939 fi
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941       ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55946
55947
55948 fi
55949
55950   fi
55951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55952 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55953
55954     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55955       for ac_func in _modfl
55956 do :
55957   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55958 if test "x$ac_cv_func__modfl" = x""yes; then :
55959   cat >>confdefs.h <<_ACEOF
55960 #define HAVE__MODFL 1
55961 _ACEOF
55962
55963 fi
55964 done
55965
55966     fi
55967   fi
55968
55969
55970
55971
55972
55973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55974 $as_echo_n "checking for powl declaration... " >&6; }
55975   if test x${glibcxx_cv_func_powl_use+set} != xset; then
55976     if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55977   $as_echo_n "(cached) " >&6
55978 else
55979
55980
55981       ac_ext=cpp
55982 ac_cpp='$CXXCPP $CPPFLAGS'
55983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55986
55987       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55988 /* end confdefs.h.  */
55989 #include <math.h>
55990 int
55991 main ()
55992 {
55993  powl(0, 0);
55994   ;
55995   return 0;
55996 }
55997 _ACEOF
55998 if ac_fn_cxx_try_compile "$LINENO"; then :
55999   glibcxx_cv_func_powl_use=yes
56000 else
56001   glibcxx_cv_func_powl_use=no
56002 fi
56003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56004       ac_ext=c
56005 ac_cpp='$CPP $CPPFLAGS'
56006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56009
56010
56011 fi
56012
56013   fi
56014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56015 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56016
56017   if test x$glibcxx_cv_func_powl_use = x"yes"; then
56018     for ac_func in powl
56019 do :
56020   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56021 if test "x$ac_cv_func_powl" = x""yes; then :
56022   cat >>confdefs.h <<_ACEOF
56023 #define HAVE_POWL 1
56024 _ACEOF
56025
56026 fi
56027 done
56028
56029   else
56030
56031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56032 $as_echo_n "checking for _powl declaration... " >&6; }
56033   if test x${glibcxx_cv_func__powl_use+set} != xset; then
56034     if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56035   $as_echo_n "(cached) " >&6
56036 else
56037
56038
56039       ac_ext=cpp
56040 ac_cpp='$CXXCPP $CPPFLAGS'
56041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56044
56045       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56046 /* end confdefs.h.  */
56047 #include <math.h>
56048 int
56049 main ()
56050 {
56051  _powl(0, 0);
56052   ;
56053   return 0;
56054 }
56055 _ACEOF
56056 if ac_fn_cxx_try_compile "$LINENO"; then :
56057   glibcxx_cv_func__powl_use=yes
56058 else
56059   glibcxx_cv_func__powl_use=no
56060 fi
56061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56062       ac_ext=c
56063 ac_cpp='$CPP $CPPFLAGS'
56064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56067
56068
56069 fi
56070
56071   fi
56072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56073 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56074
56075     if test x$glibcxx_cv_func__powl_use = x"yes"; then
56076       for ac_func in _powl
56077 do :
56078   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56079 if test "x$ac_cv_func__powl" = x""yes; then :
56080   cat >>confdefs.h <<_ACEOF
56081 #define HAVE__POWL 1
56082 _ACEOF
56083
56084 fi
56085 done
56086
56087     fi
56088   fi
56089
56090
56091
56092
56093
56094   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56095 $as_echo_n "checking for sqrtl declaration... " >&6; }
56096   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56097     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56098   $as_echo_n "(cached) " >&6
56099 else
56100
56101
56102       ac_ext=cpp
56103 ac_cpp='$CXXCPP $CPPFLAGS'
56104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56107
56108       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56109 /* end confdefs.h.  */
56110 #include <math.h>
56111                       #ifdef HAVE_IEEEFP_H
56112                       #include <ieeefp.h>
56113                       #endif
56114
56115 int
56116 main ()
56117 {
56118  sqrtl(0);
56119   ;
56120   return 0;
56121 }
56122 _ACEOF
56123 if ac_fn_cxx_try_compile "$LINENO"; then :
56124   glibcxx_cv_func_sqrtl_use=yes
56125 else
56126   glibcxx_cv_func_sqrtl_use=no
56127 fi
56128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56129       ac_ext=c
56130 ac_cpp='$CPP $CPPFLAGS'
56131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56134
56135
56136 fi
56137
56138   fi
56139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56140 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56141
56142   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56143     for ac_func in sqrtl
56144 do :
56145   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56146 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56147   cat >>confdefs.h <<_ACEOF
56148 #define HAVE_SQRTL 1
56149 _ACEOF
56150
56151 fi
56152 done
56153
56154   else
56155
56156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56157 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56158   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56159     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56160   $as_echo_n "(cached) " >&6
56161 else
56162
56163
56164       ac_ext=cpp
56165 ac_cpp='$CXXCPP $CPPFLAGS'
56166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56169
56170       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56171 /* end confdefs.h.  */
56172 #include <math.h>
56173                       #ifdef HAVE_IEEEFP_H
56174                       #include <ieeefp.h>
56175                       #endif
56176
56177 int
56178 main ()
56179 {
56180  _sqrtl(0);
56181   ;
56182   return 0;
56183 }
56184 _ACEOF
56185 if ac_fn_cxx_try_compile "$LINENO"; then :
56186   glibcxx_cv_func__sqrtl_use=yes
56187 else
56188   glibcxx_cv_func__sqrtl_use=no
56189 fi
56190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56191       ac_ext=c
56192 ac_cpp='$CPP $CPPFLAGS'
56193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56196
56197
56198 fi
56199
56200   fi
56201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56202 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56203
56204     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56205       for ac_func in _sqrtl
56206 do :
56207   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56208 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56209   cat >>confdefs.h <<_ACEOF
56210 #define HAVE__SQRTL 1
56211 _ACEOF
56212
56213 fi
56214 done
56215
56216     fi
56217   fi
56218
56219
56220
56221
56222
56223   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56224 $as_echo_n "checking for sincosl declaration... " >&6; }
56225   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56226     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56227   $as_echo_n "(cached) " >&6
56228 else
56229
56230
56231       ac_ext=cpp
56232 ac_cpp='$CXXCPP $CPPFLAGS'
56233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56236
56237       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56238 /* end confdefs.h.  */
56239 #include <math.h>
56240 int
56241 main ()
56242 {
56243  sincosl(0, 0, 0);
56244   ;
56245   return 0;
56246 }
56247 _ACEOF
56248 if ac_fn_cxx_try_compile "$LINENO"; then :
56249   glibcxx_cv_func_sincosl_use=yes
56250 else
56251   glibcxx_cv_func_sincosl_use=no
56252 fi
56253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56254       ac_ext=c
56255 ac_cpp='$CPP $CPPFLAGS'
56256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56259
56260
56261 fi
56262
56263   fi
56264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56265 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56266
56267   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56268     for ac_func in sincosl
56269 do :
56270   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56271 if test "x$ac_cv_func_sincosl" = x""yes; then :
56272   cat >>confdefs.h <<_ACEOF
56273 #define HAVE_SINCOSL 1
56274 _ACEOF
56275
56276 fi
56277 done
56278
56279   else
56280
56281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56282 $as_echo_n "checking for _sincosl declaration... " >&6; }
56283   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56284     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56285   $as_echo_n "(cached) " >&6
56286 else
56287
56288
56289       ac_ext=cpp
56290 ac_cpp='$CXXCPP $CPPFLAGS'
56291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56294
56295       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56296 /* end confdefs.h.  */
56297 #include <math.h>
56298 int
56299 main ()
56300 {
56301  _sincosl(0, 0, 0);
56302   ;
56303   return 0;
56304 }
56305 _ACEOF
56306 if ac_fn_cxx_try_compile "$LINENO"; then :
56307   glibcxx_cv_func__sincosl_use=yes
56308 else
56309   glibcxx_cv_func__sincosl_use=no
56310 fi
56311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56312       ac_ext=c
56313 ac_cpp='$CPP $CPPFLAGS'
56314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56317
56318
56319 fi
56320
56321   fi
56322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56323 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56324
56325     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56326       for ac_func in _sincosl
56327 do :
56328   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56329 if test "x$ac_cv_func__sincosl" = x""yes; then :
56330   cat >>confdefs.h <<_ACEOF
56331 #define HAVE__SINCOSL 1
56332 _ACEOF
56333
56334 fi
56335 done
56336
56337     fi
56338   fi
56339
56340
56341
56342
56343
56344   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56345 $as_echo_n "checking for finitel declaration... " >&6; }
56346   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56347     if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56348   $as_echo_n "(cached) " >&6
56349 else
56350
56351
56352       ac_ext=cpp
56353 ac_cpp='$CXXCPP $CPPFLAGS'
56354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56357
56358       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56359 /* end confdefs.h.  */
56360 #include <math.h>
56361                       #ifdef HAVE_IEEEFP_H
56362                       #include <ieeefp.h>
56363                       #endif
56364
56365 int
56366 main ()
56367 {
56368  finitel(0);
56369   ;
56370   return 0;
56371 }
56372 _ACEOF
56373 if ac_fn_cxx_try_compile "$LINENO"; then :
56374   glibcxx_cv_func_finitel_use=yes
56375 else
56376   glibcxx_cv_func_finitel_use=no
56377 fi
56378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56379       ac_ext=c
56380 ac_cpp='$CPP $CPPFLAGS'
56381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56384
56385
56386 fi
56387
56388   fi
56389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56390 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56391
56392   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56393     for ac_func in finitel
56394 do :
56395   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56396 if test "x$ac_cv_func_finitel" = x""yes; then :
56397   cat >>confdefs.h <<_ACEOF
56398 #define HAVE_FINITEL 1
56399 _ACEOF
56400
56401 fi
56402 done
56403
56404   else
56405
56406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56407 $as_echo_n "checking for _finitel declaration... " >&6; }
56408   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56409     if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56410   $as_echo_n "(cached) " >&6
56411 else
56412
56413
56414       ac_ext=cpp
56415 ac_cpp='$CXXCPP $CPPFLAGS'
56416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56419
56420       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56421 /* end confdefs.h.  */
56422 #include <math.h>
56423                       #ifdef HAVE_IEEEFP_H
56424                       #include <ieeefp.h>
56425                       #endif
56426
56427 int
56428 main ()
56429 {
56430  _finitel(0);
56431   ;
56432   return 0;
56433 }
56434 _ACEOF
56435 if ac_fn_cxx_try_compile "$LINENO"; then :
56436   glibcxx_cv_func__finitel_use=yes
56437 else
56438   glibcxx_cv_func__finitel_use=no
56439 fi
56440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56441       ac_ext=c
56442 ac_cpp='$CPP $CPPFLAGS'
56443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56446
56447
56448 fi
56449
56450   fi
56451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56452 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56453
56454     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56455       for ac_func in _finitel
56456 do :
56457   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56458 if test "x$ac_cv_func__finitel" = x""yes; then :
56459   cat >>confdefs.h <<_ACEOF
56460 #define HAVE__FINITEL 1
56461 _ACEOF
56462
56463 fi
56464 done
56465
56466     fi
56467   fi
56468
56469
56470
56471
56472   LIBS="$ac_save_LIBS"
56473   CXXFLAGS="$ac_save_CXXFLAGS"
56474
56475
56476   ac_test_CXXFLAGS="${CXXFLAGS+set}"
56477   ac_save_CXXFLAGS="$CXXFLAGS"
56478   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56479
56480
56481   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56482 $as_echo_n "checking for strtold declaration... " >&6; }
56483   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56484     if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
56485   $as_echo_n "(cached) " >&6
56486 else
56487
56488
56489       ac_ext=cpp
56490 ac_cpp='$CXXCPP $CPPFLAGS'
56491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56494
56495       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56496 /* end confdefs.h.  */
56497 #include <stdlib.h>
56498 int
56499 main ()
56500 {
56501  strtold(0, 0);
56502   ;
56503   return 0;
56504 }
56505 _ACEOF
56506 if ac_fn_cxx_try_compile "$LINENO"; then :
56507   glibcxx_cv_func_strtold_use=yes
56508 else
56509   glibcxx_cv_func_strtold_use=no
56510 fi
56511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56512       ac_ext=c
56513 ac_cpp='$CPP $CPPFLAGS'
56514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56517
56518
56519 fi
56520
56521   fi
56522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
56523 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56524   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56525     for ac_func in strtold
56526 do :
56527   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56528 if test "x$ac_cv_func_strtold" = x""yes; then :
56529   cat >>confdefs.h <<_ACEOF
56530 #define HAVE_STRTOLD 1
56531 _ACEOF
56532
56533 fi
56534 done
56535
56536   fi
56537
56538
56539
56540
56541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56542 $as_echo_n "checking for strtof declaration... " >&6; }
56543   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56544     if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56545   $as_echo_n "(cached) " >&6
56546 else
56547
56548
56549       ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56554
56555       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h.  */
56557 #include <stdlib.h>
56558 int
56559 main ()
56560 {
56561  strtof(0, 0);
56562   ;
56563   return 0;
56564 }
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567   glibcxx_cv_func_strtof_use=yes
56568 else
56569   glibcxx_cv_func_strtof_use=no
56570 fi
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572       ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577
56578
56579 fi
56580
56581   fi
56582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56583 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56584   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56585     for ac_func in strtof
56586 do :
56587   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56588 if test "x$ac_cv_func_strtof" = x""yes; then :
56589   cat >>confdefs.h <<_ACEOF
56590 #define HAVE_STRTOF 1
56591 _ACEOF
56592
56593 fi
56594 done
56595
56596   fi
56597
56598
56599
56600
56601   CXXFLAGS="$ac_save_CXXFLAGS"
56602
56603     ;;
56604   *-netbsd*)
56605     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56606
56607
56608   # If we're not using GNU ld, then there's no point in even trying these
56609   # tests.  Check for that first.  We should have already tested for gld
56610   # by now (in libtool), but require it now just to be safe...
56611   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56612   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56613
56614
56615
56616   # The name set by libtool depends on the version of libtool.  Shame on us
56617   # for depending on an impl detail, but c'est la vie.  Older versions used
56618   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56619   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56620   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56621   # set (hence we're using an older libtool), then set it.
56622   if test x${with_gnu_ld+set} != xset; then
56623     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56624       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56625       with_gnu_ld=no
56626     else
56627       with_gnu_ld=$ac_cv_prog_gnu_ld
56628     fi
56629   fi
56630
56631   # Start by getting the version number.  I think the libtool test already
56632   # does some of this, but throws away the result.
56633   glibcxx_ld_is_gold=no
56634   if test x"$with_gnu_ld" = x"yes"; then
56635     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56636 $as_echo_n "checking for ld version... " >&6; }
56637
56638     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56639       glibcxx_ld_is_gold=yes
56640     fi
56641     ldver=`$LD --version 2>/dev/null |
56642            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'`
56643
56644     glibcxx_gnu_ld_version=`echo $ldver | \
56645            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56647 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56648   fi
56649
56650   # Set --gc-sections.
56651   glibcxx_have_gc_sections=no
56652   if test "$glibcxx_ld_is_gold" = "yes"; then
56653     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56654       glibcxx_have_gc_sections=yes
56655     fi
56656   else
56657     glibcxx_gcsections_min_ld=21602
56658     if test x"$with_gnu_ld" = x"yes" &&
56659         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56660       glibcxx_have_gc_sections=yes
56661     fi
56662   fi
56663   if test "$glibcxx_have_gc_sections" = "yes"; then
56664     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56665     # NB: This flag only works reliably after 2.16.1. Configure tests
56666     # for this are difficult, so hard wire a value that should work.
56667
56668     ac_test_CFLAGS="${CFLAGS+set}"
56669     ac_save_CFLAGS="$CFLAGS"
56670     CFLAGS='-Wl,--gc-sections'
56671
56672     # Check for -Wl,--gc-sections
56673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56674 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56675     if test x$gcc_no_link = xyes; then
56676   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56677 fi
56678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h.  */
56680  int one(void) { return 1; }
56681      int two(void) { return 2; }
56682
56683 int
56684 main ()
56685 {
56686  two();
56687   ;
56688   return 0;
56689 }
56690 _ACEOF
56691 if ac_fn_c_try_link "$LINENO"; then :
56692   ac_gcsections=yes
56693 else
56694   ac_gcsections=no
56695 fi
56696 rm -f core conftest.err conftest.$ac_objext \
56697     conftest$ac_exeext conftest.$ac_ext
56698     if test "$ac_gcsections" = "yes"; then
56699       rm -f conftest.c
56700       touch conftest.c
56701       if $CC -c conftest.c; then
56702         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56703            grep "Warning: gc-sections option ignored" > /dev/null; then
56704           ac_gcsections=no
56705         fi
56706       fi
56707       rm -f conftest.c conftest.o conftest
56708     fi
56709     if test "$ac_gcsections" = "yes"; then
56710       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56711     fi
56712     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56713 $as_echo "$ac_gcsections" >&6; }
56714
56715     if test "$ac_test_CFLAGS" = set; then
56716       CFLAGS="$ac_save_CFLAGS"
56717     else
56718       # this is the suspicious part
56719       CFLAGS=''
56720     fi
56721   fi
56722
56723   # Set -z,relro.
56724   # Note this is only for shared objects.
56725   ac_ld_relro=no
56726   if test x"$with_gnu_ld" = x"yes"; then
56727     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56728 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56729     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56730     if test -n "$cxx_z_relo"; then
56731       OPT_LDFLAGS="-Wl,-z,relro"
56732       ac_ld_relro=yes
56733     fi
56734     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56735 $as_echo "$ac_ld_relro" >&6; }
56736   fi
56737
56738   # Set linker optimization flags.
56739   if test x"$with_gnu_ld" = x"yes"; then
56740     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56741   fi
56742
56743
56744
56745
56746     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56747
56748     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56749
56750     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56751
56752     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56753
56754     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56755
56756     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56757
56758     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56759
56760     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56761
56762     if test x"long_double_math_on_this_cpu" = x"yes"; then
56763       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56764
56765       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56766
56767       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56768
56769     fi
56770     ;;
56771   *-netware)
56772     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56773
56774
56775   # If we're not using GNU ld, then there's no point in even trying these
56776   # tests.  Check for that first.  We should have already tested for gld
56777   # by now (in libtool), but require it now just to be safe...
56778   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56779   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56780
56781
56782
56783   # The name set by libtool depends on the version of libtool.  Shame on us
56784   # for depending on an impl detail, but c'est la vie.  Older versions used
56785   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56786   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56787   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56788   # set (hence we're using an older libtool), then set it.
56789   if test x${with_gnu_ld+set} != xset; then
56790     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56791       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56792       with_gnu_ld=no
56793     else
56794       with_gnu_ld=$ac_cv_prog_gnu_ld
56795     fi
56796   fi
56797
56798   # Start by getting the version number.  I think the libtool test already
56799   # does some of this, but throws away the result.
56800   glibcxx_ld_is_gold=no
56801   if test x"$with_gnu_ld" = x"yes"; then
56802     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56803 $as_echo_n "checking for ld version... " >&6; }
56804
56805     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56806       glibcxx_ld_is_gold=yes
56807     fi
56808     ldver=`$LD --version 2>/dev/null |
56809            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'`
56810
56811     glibcxx_gnu_ld_version=`echo $ldver | \
56812            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56814 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56815   fi
56816
56817   # Set --gc-sections.
56818   glibcxx_have_gc_sections=no
56819   if test "$glibcxx_ld_is_gold" = "yes"; then
56820     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56821       glibcxx_have_gc_sections=yes
56822     fi
56823   else
56824     glibcxx_gcsections_min_ld=21602
56825     if test x"$with_gnu_ld" = x"yes" &&
56826         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56827       glibcxx_have_gc_sections=yes
56828     fi
56829   fi
56830   if test "$glibcxx_have_gc_sections" = "yes"; then
56831     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56832     # NB: This flag only works reliably after 2.16.1. Configure tests
56833     # for this are difficult, so hard wire a value that should work.
56834
56835     ac_test_CFLAGS="${CFLAGS+set}"
56836     ac_save_CFLAGS="$CFLAGS"
56837     CFLAGS='-Wl,--gc-sections'
56838
56839     # Check for -Wl,--gc-sections
56840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56841 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56842     if test x$gcc_no_link = xyes; then
56843   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56844 fi
56845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56846 /* end confdefs.h.  */
56847  int one(void) { return 1; }
56848      int two(void) { return 2; }
56849
56850 int
56851 main ()
56852 {
56853  two();
56854   ;
56855   return 0;
56856 }
56857 _ACEOF
56858 if ac_fn_c_try_link "$LINENO"; then :
56859   ac_gcsections=yes
56860 else
56861   ac_gcsections=no
56862 fi
56863 rm -f core conftest.err conftest.$ac_objext \
56864     conftest$ac_exeext conftest.$ac_ext
56865     if test "$ac_gcsections" = "yes"; then
56866       rm -f conftest.c
56867       touch conftest.c
56868       if $CC -c conftest.c; then
56869         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56870            grep "Warning: gc-sections option ignored" > /dev/null; then
56871           ac_gcsections=no
56872         fi
56873       fi
56874       rm -f conftest.c conftest.o conftest
56875     fi
56876     if test "$ac_gcsections" = "yes"; then
56877       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56878     fi
56879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56880 $as_echo "$ac_gcsections" >&6; }
56881
56882     if test "$ac_test_CFLAGS" = set; then
56883       CFLAGS="$ac_save_CFLAGS"
56884     else
56885       # this is the suspicious part
56886       CFLAGS=''
56887     fi
56888   fi
56889
56890   # Set -z,relro.
56891   # Note this is only for shared objects.
56892   ac_ld_relro=no
56893   if test x"$with_gnu_ld" = x"yes"; then
56894     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56895 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56896     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56897     if test -n "$cxx_z_relo"; then
56898       OPT_LDFLAGS="-Wl,-z,relro"
56899       ac_ld_relro=yes
56900     fi
56901     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56902 $as_echo "$ac_ld_relro" >&6; }
56903   fi
56904
56905   # Set linker optimization flags.
56906   if test x"$with_gnu_ld" = x"yes"; then
56907     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56908   fi
56909
56910
56911
56912
56913     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56914
56915     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56916
56917     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56918
56919     ;;
56920   *-qnx6.1* | *-qnx6.2*)
56921     SECTION_FLAGS='-ffunction-sections -fdata-sections'
56922
56923
56924   # If we're not using GNU ld, then there's no point in even trying these
56925   # tests.  Check for that first.  We should have already tested for gld
56926   # by now (in libtool), but require it now just to be safe...
56927   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56928   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56929
56930
56931
56932   # The name set by libtool depends on the version of libtool.  Shame on us
56933   # for depending on an impl detail, but c'est la vie.  Older versions used
56934   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56935   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56936   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
56937   # set (hence we're using an older libtool), then set it.
56938   if test x${with_gnu_ld+set} != xset; then
56939     if test x${ac_cv_prog_gnu_ld+set} != xset; then
56940       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
56941       with_gnu_ld=no
56942     else
56943       with_gnu_ld=$ac_cv_prog_gnu_ld
56944     fi
56945   fi
56946
56947   # Start by getting the version number.  I think the libtool test already
56948   # does some of this, but throws away the result.
56949   glibcxx_ld_is_gold=no
56950   if test x"$with_gnu_ld" = x"yes"; then
56951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56952 $as_echo_n "checking for ld version... " >&6; }
56953
56954     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56955       glibcxx_ld_is_gold=yes
56956     fi
56957     ldver=`$LD --version 2>/dev/null |
56958            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'`
56959
56960     glibcxx_gnu_ld_version=`echo $ldver | \
56961            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56964   fi
56965
56966   # Set --gc-sections.
56967   glibcxx_have_gc_sections=no
56968   if test "$glibcxx_ld_is_gold" = "yes"; then
56969     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56970       glibcxx_have_gc_sections=yes
56971     fi
56972   else
56973     glibcxx_gcsections_min_ld=21602
56974     if test x"$with_gnu_ld" = x"yes" &&
56975         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56976       glibcxx_have_gc_sections=yes
56977     fi
56978   fi
56979   if test "$glibcxx_have_gc_sections" = "yes"; then
56980     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
56981     # NB: This flag only works reliably after 2.16.1. Configure tests
56982     # for this are difficult, so hard wire a value that should work.
56983
56984     ac_test_CFLAGS="${CFLAGS+set}"
56985     ac_save_CFLAGS="$CFLAGS"
56986     CFLAGS='-Wl,--gc-sections'
56987
56988     # Check for -Wl,--gc-sections
56989     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56991     if test x$gcc_no_link = xyes; then
56992   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56993 fi
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h.  */
56996  int one(void) { return 1; }
56997      int two(void) { return 2; }
56998
56999 int
57000 main ()
57001 {
57002  two();
57003   ;
57004   return 0;
57005 }
57006 _ACEOF
57007 if ac_fn_c_try_link "$LINENO"; then :
57008   ac_gcsections=yes
57009 else
57010   ac_gcsections=no
57011 fi
57012 rm -f core conftest.err conftest.$ac_objext \
57013     conftest$ac_exeext conftest.$ac_ext
57014     if test "$ac_gcsections" = "yes"; then
57015       rm -f conftest.c
57016       touch conftest.c
57017       if $CC -c conftest.c; then
57018         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57019            grep "Warning: gc-sections option ignored" > /dev/null; then
57020           ac_gcsections=no
57021         fi
57022       fi
57023       rm -f conftest.c conftest.o conftest
57024     fi
57025     if test "$ac_gcsections" = "yes"; then
57026       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57027     fi
57028     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57029 $as_echo "$ac_gcsections" >&6; }
57030
57031     if test "$ac_test_CFLAGS" = set; then
57032       CFLAGS="$ac_save_CFLAGS"
57033     else
57034       # this is the suspicious part
57035       CFLAGS=''
57036     fi
57037   fi
57038
57039   # Set -z,relro.
57040   # Note this is only for shared objects.
57041   ac_ld_relro=no
57042   if test x"$with_gnu_ld" = x"yes"; then
57043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57045     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57046     if test -n "$cxx_z_relo"; then
57047       OPT_LDFLAGS="-Wl,-z,relro"
57048       ac_ld_relro=yes
57049     fi
57050     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57051 $as_echo "$ac_ld_relro" >&6; }
57052   fi
57053
57054   # Set linker optimization flags.
57055   if test x"$with_gnu_ld" = x"yes"; then
57056     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57057   fi
57058
57059
57060
57061
57062     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57063
57064     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57065
57066     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57067
57068     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57069
57070     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57071
57072     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57073
57074     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57075
57076     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57077
57078     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57079
57080     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57081
57082     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57083
57084     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57085
57086     ;;
57087   *-solaris*)
57088     case "$target" in
57089       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
57090
57091   # If we're not using GNU ld, then there's no point in even trying these
57092   # tests.  Check for that first.  We should have already tested for gld
57093   # by now (in libtool), but require it now just to be safe...
57094   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57095   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57096
57097
57098
57099   # The name set by libtool depends on the version of libtool.  Shame on us
57100   # for depending on an impl detail, but c'est la vie.  Older versions used
57101   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57102   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57103   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57104   # set (hence we're using an older libtool), then set it.
57105   if test x${with_gnu_ld+set} != xset; then
57106     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57107       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57108       with_gnu_ld=no
57109     else
57110       with_gnu_ld=$ac_cv_prog_gnu_ld
57111     fi
57112   fi
57113
57114   # Start by getting the version number.  I think the libtool test already
57115   # does some of this, but throws away the result.
57116   glibcxx_ld_is_gold=no
57117   if test x"$with_gnu_ld" = x"yes"; then
57118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57119 $as_echo_n "checking for ld version... " >&6; }
57120
57121     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57122       glibcxx_ld_is_gold=yes
57123     fi
57124     ldver=`$LD --version 2>/dev/null |
57125            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'`
57126
57127     glibcxx_gnu_ld_version=`echo $ldver | \
57128            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57129     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57130 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57131   fi
57132
57133   # Set --gc-sections.
57134   glibcxx_have_gc_sections=no
57135   if test "$glibcxx_ld_is_gold" = "yes"; then
57136     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57137       glibcxx_have_gc_sections=yes
57138     fi
57139   else
57140     glibcxx_gcsections_min_ld=21602
57141     if test x"$with_gnu_ld" = x"yes" &&
57142         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57143       glibcxx_have_gc_sections=yes
57144     fi
57145   fi
57146   if test "$glibcxx_have_gc_sections" = "yes"; then
57147     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57148     # NB: This flag only works reliably after 2.16.1. Configure tests
57149     # for this are difficult, so hard wire a value that should work.
57150
57151     ac_test_CFLAGS="${CFLAGS+set}"
57152     ac_save_CFLAGS="$CFLAGS"
57153     CFLAGS='-Wl,--gc-sections'
57154
57155     # Check for -Wl,--gc-sections
57156     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57157 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57158     if test x$gcc_no_link = xyes; then
57159   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57160 fi
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h.  */
57163  int one(void) { return 1; }
57164      int two(void) { return 2; }
57165
57166 int
57167 main ()
57168 {
57169  two();
57170   ;
57171   return 0;
57172 }
57173 _ACEOF
57174 if ac_fn_c_try_link "$LINENO"; then :
57175   ac_gcsections=yes
57176 else
57177   ac_gcsections=no
57178 fi
57179 rm -f core conftest.err conftest.$ac_objext \
57180     conftest$ac_exeext conftest.$ac_ext
57181     if test "$ac_gcsections" = "yes"; then
57182       rm -f conftest.c
57183       touch conftest.c
57184       if $CC -c conftest.c; then
57185         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57186            grep "Warning: gc-sections option ignored" > /dev/null; then
57187           ac_gcsections=no
57188         fi
57189       fi
57190       rm -f conftest.c conftest.o conftest
57191     fi
57192     if test "$ac_gcsections" = "yes"; then
57193       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57194     fi
57195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57196 $as_echo "$ac_gcsections" >&6; }
57197
57198     if test "$ac_test_CFLAGS" = set; then
57199       CFLAGS="$ac_save_CFLAGS"
57200     else
57201       # this is the suspicious part
57202       CFLAGS=''
57203     fi
57204   fi
57205
57206   # Set -z,relro.
57207   # Note this is only for shared objects.
57208   ac_ld_relro=no
57209   if test x"$with_gnu_ld" = x"yes"; then
57210     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57211 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57212     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57213     if test -n "$cxx_z_relo"; then
57214       OPT_LDFLAGS="-Wl,-z,relro"
57215       ac_ld_relro=yes
57216     fi
57217     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57218 $as_echo "$ac_ld_relro" >&6; }
57219   fi
57220
57221   # Set linker optimization flags.
57222   if test x"$with_gnu_ld" = x"yes"; then
57223     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57224   fi
57225
57226
57227
57228
57229          $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57230
57231          $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57232
57233          $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57234
57235          # All of the dependencies for wide character support are here, so
57236          # turn it on.
57237          $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57238
57239         ;;
57240     esac
57241     case "$target" in
57242       *-*-solaris2.10)
57243       # These two C99 functions are present only in Solaris >= 10
57244       $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57245
57246       $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57247
57248      ;;
57249     esac
57250     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57251
57252     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57253
57254     $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57255
57256     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57257
57258     ;;
57259   *-tpf)
57260     SECTION_FLAGS='-ffunction-sections -fdata-sections'
57261
57262
57263   # If we're not using GNU ld, then there's no point in even trying these
57264   # tests.  Check for that first.  We should have already tested for gld
57265   # by now (in libtool), but require it now just to be safe...
57266   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57267   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57268
57269
57270
57271   # The name set by libtool depends on the version of libtool.  Shame on us
57272   # for depending on an impl detail, but c'est la vie.  Older versions used
57273   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57274   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57275   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
57276   # set (hence we're using an older libtool), then set it.
57277   if test x${with_gnu_ld+set} != xset; then
57278     if test x${ac_cv_prog_gnu_ld+set} != xset; then
57279       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
57280       with_gnu_ld=no
57281     else
57282       with_gnu_ld=$ac_cv_prog_gnu_ld
57283     fi
57284   fi
57285
57286   # Start by getting the version number.  I think the libtool test already
57287   # does some of this, but throws away the result.
57288   glibcxx_ld_is_gold=no
57289   if test x"$with_gnu_ld" = x"yes"; then
57290     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57291 $as_echo_n "checking for ld version... " >&6; }
57292
57293     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57294       glibcxx_ld_is_gold=yes
57295     fi
57296     ldver=`$LD --version 2>/dev/null |
57297            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'`
57298
57299     glibcxx_gnu_ld_version=`echo $ldver | \
57300            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57301     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57302 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57303   fi
57304
57305   # Set --gc-sections.
57306   glibcxx_have_gc_sections=no
57307   if test "$glibcxx_ld_is_gold" = "yes"; then
57308     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57309       glibcxx_have_gc_sections=yes
57310     fi
57311   else
57312     glibcxx_gcsections_min_ld=21602
57313     if test x"$with_gnu_ld" = x"yes" &&
57314         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57315       glibcxx_have_gc_sections=yes
57316     fi
57317   fi
57318   if test "$glibcxx_have_gc_sections" = "yes"; then
57319     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
57320     # NB: This flag only works reliably after 2.16.1. Configure tests
57321     # for this are difficult, so hard wire a value that should work.
57322
57323     ac_test_CFLAGS="${CFLAGS+set}"
57324     ac_save_CFLAGS="$CFLAGS"
57325     CFLAGS='-Wl,--gc-sections'
57326
57327     # Check for -Wl,--gc-sections
57328     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57329 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57330     if test x$gcc_no_link = xyes; then
57331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57332 fi
57333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57334 /* end confdefs.h.  */
57335  int one(void) { return 1; }
57336      int two(void) { return 2; }
57337
57338 int
57339 main ()
57340 {
57341  two();
57342   ;
57343   return 0;
57344 }
57345 _ACEOF
57346 if ac_fn_c_try_link "$LINENO"; then :
57347   ac_gcsections=yes
57348 else
57349   ac_gcsections=no
57350 fi
57351 rm -f core conftest.err conftest.$ac_objext \
57352     conftest$ac_exeext conftest.$ac_ext
57353     if test "$ac_gcsections" = "yes"; then
57354       rm -f conftest.c
57355       touch conftest.c
57356       if $CC -c conftest.c; then
57357         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57358            grep "Warning: gc-sections option ignored" > /dev/null; then
57359           ac_gcsections=no
57360         fi
57361       fi
57362       rm -f conftest.c conftest.o conftest
57363     fi
57364     if test "$ac_gcsections" = "yes"; then
57365       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57366     fi
57367     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57368 $as_echo "$ac_gcsections" >&6; }
57369
57370     if test "$ac_test_CFLAGS" = set; then
57371       CFLAGS="$ac_save_CFLAGS"
57372     else
57373       # this is the suspicious part
57374       CFLAGS=''
57375     fi
57376   fi
57377
57378   # Set -z,relro.
57379   # Note this is only for shared objects.
57380   ac_ld_relro=no
57381   if test x"$with_gnu_ld" = x"yes"; then
57382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57383 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57384     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57385     if test -n "$cxx_z_relo"; then
57386       OPT_LDFLAGS="-Wl,-z,relro"
57387       ac_ld_relro=yes
57388     fi
57389     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57390 $as_echo "$ac_ld_relro" >&6; }
57391   fi
57392
57393   # Set linker optimization flags.
57394   if test x"$with_gnu_ld" = x"yes"; then
57395     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57396   fi
57397
57398
57399
57400
57401     $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57402
57403     $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57404
57405     $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57406
57407     $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57408
57409     $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57410
57411     $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57412
57413     $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57414
57415     $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57416
57417     $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57418
57419     $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57420
57421     if test x"long_double_math_on_this_cpu" = x"yes"; then
57422       $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57423
57424       $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57425
57426       $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57427
57428       $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57429
57430     fi
57431     ;;
57432   *-vxworks)
57433     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57434
57435     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57436
57437     $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57438
57439     $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57440
57441     $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57442
57443     $as_echo "#define HAVE_COSF 1" >>confdefs.h
57444
57445     $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57446
57447     $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57448
57449     $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57450
57451     $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57452
57453     $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57454
57455     $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57456
57457     $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57458
57459     $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57460
57461     $as_echo "#define HAVE_POWF 1" >>confdefs.h
57462
57463     $as_echo "#define HAVE_SINF 1" >>confdefs.h
57464
57465     $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57466
57467     $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57468
57469     $as_echo "#define HAVE_TANF 1" >>confdefs.h
57470
57471     $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57472
57473     ;;
57474   *)
57475     as_fn_error "No support for this host/target combination." "$LINENO" 5
57476    ;;
57477 esac
57478
57479   fi
57480
57481   # At some point, we should differentiate between architectures
57482   # like x86, which have long double versions, and alpha/powerpc/etc.,
57483   # which don't. For the time being, punt.
57484   if test x"long_double_math_on_this_cpu" = x"yes"; then
57485     $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57486
57487     $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57488
57489     $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57490
57491     $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57492
57493     $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57494
57495     $as_echo "#define HAVE_COSL 1" >>confdefs.h
57496
57497     $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57498
57499     $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57500
57501     $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57502
57503     $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57504
57505     $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57506
57507     $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57508
57509     $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57510
57511     $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57512
57513     $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57514
57515     $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57516
57517     $as_echo "#define HAVE_POWL 1" >>confdefs.h
57518
57519     $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57520
57521     $as_echo "#define HAVE_SINL 1" >>confdefs.h
57522
57523     $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57524
57525     $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57526
57527     $as_echo "#define HAVE_TANL 1" >>confdefs.h
57528
57529     $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57530
57531   fi
57532 fi
57533
57534 # Check for _Unwind_GetIPInfo.
57535
57536
57537 # Check whether --with-system-libunwind was given.
57538 if test "${with_system_libunwind+set}" = set; then :
57539   withval=$with_system_libunwind;
57540 fi
57541
57542   # If system-libunwind was not specifically set, pick a default setting.
57543   if test x$with_system_libunwind = x; then
57544     case ${target} in
57545       ia64-*-hpux*) with_system_libunwind=yes ;;
57546       *) with_system_libunwind=no ;;
57547     esac
57548   fi
57549   # Based on system-libunwind and target, do we have ipinfo?
57550   if  test x$with_system_libunwind = xyes; then
57551     case ${target} in
57552       ia64-*-*) have_unwind_getipinfo=no ;;
57553       *) have_unwind_getipinfo=yes ;;
57554     esac
57555   else
57556     # Darwin before version 9 does not have _Unwind_GetIPInfo.
57557
57558     case ${target} in
57559       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57560       *) have_unwind_getipinfo=yes ;;
57561     esac
57562
57563   fi
57564
57565   if test x$have_unwind_getipinfo = xyes; then
57566
57567 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57568
57569   fi
57570
57571
57572
57573  # Check whether --enable-linux-futex was given.
57574 if test "${enable_linux_futex+set}" = set; then :
57575   enableval=$enable_linux_futex;
57576       case "$enableval" in
57577        yes|no|default) ;;
57578        *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57579                           esac
57580
57581 else
57582   enable_linux_futex=default
57583 fi
57584
57585
57586 case "$target" in
57587   *-linux*)
57588     case "$enable_linux_futex" in
57589       default)
57590         # If headers don't have gettid/futex syscalls definition, then
57591         # default to no, otherwise there will be compile time failures.
57592         # Otherwise, default to yes.  If we don't detect we are
57593         # compiled/linked against NPTL and not cross-compiling, check
57594         # if programs are run by default against NPTL and if not, issue
57595         # a warning.
57596         enable_linux_futex=no
57597         if test x$gcc_no_link = xyes; then
57598   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57599 fi
57600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57601 /* end confdefs.h.  */
57602 #include <sys/syscall.h>
57603            int lk;
57604 int
57605 main ()
57606 {
57607 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57608   ;
57609   return 0;
57610 }
57611 _ACEOF
57612 if ac_fn_c_try_link "$LINENO"; then :
57613   save_LIBS="$LIBS"
57614            LIBS="-lpthread $LIBS"
57615            if test x$gcc_no_link = xyes; then
57616   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57617 fi
57618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57619 /* end confdefs.h.  */
57620 #ifndef _GNU_SOURCE
57621              #define _GNU_SOURCE 1
57622              #endif
57623              #include <pthread.h>
57624              pthread_t th; void *status;
57625 int
57626 main ()
57627 {
57628 pthread_tryjoin_np (th, &status);
57629   ;
57630   return 0;
57631 }
57632 _ACEOF
57633 if ac_fn_c_try_link "$LINENO"; then :
57634   enable_linux_futex=yes
57635 else
57636   if test x$cross_compiling = xno; then
57637                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57638                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57639                  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57640 If so, please configure with --disable-linux-futex" >&5
57641 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57642 If so, please configure with --disable-linux-futex" >&2;}
57643                fi
57644              fi
57645              enable_linux_futex=yes
57646 fi
57647 rm -f core conftest.err conftest.$ac_objext \
57648     conftest$ac_exeext conftest.$ac_ext
57649            LIBS="$save_LIBS"
57650 fi
57651 rm -f core conftest.err conftest.$ac_objext \
57652     conftest$ac_exeext conftest.$ac_ext
57653         ;;
57654       yes)
57655         if test x$gcc_no_link = xyes; then
57656   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57657 fi
57658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57659 /* end confdefs.h.  */
57660 #include <sys/syscall.h>
57661            int lk;
57662 int
57663 main ()
57664 {
57665 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57666   ;
57667   return 0;
57668 }
57669 _ACEOF
57670 if ac_fn_c_try_link "$LINENO"; then :
57671
57672 else
57673   as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57674 fi
57675 rm -f core conftest.err conftest.$ac_objext \
57676     conftest$ac_exeext conftest.$ac_ext
57677         ;;
57678     esac
57679     ;;
57680   *)
57681     enable_linux_futex=no
57682     ;;
57683 esac
57684 if test x$enable_linux_futex = xyes; then
57685
57686 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57687
57688 fi
57689
57690
57691
57692
57693 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
57694
57695 acx_cv_header_stdint=stddef.h
57696 acx_cv_header_stdint_kind="(already complete)"
57697 for i in stdint.h $inttype_headers; do
57698   unset ac_cv_type_uintptr_t
57699   unset ac_cv_type_uintmax_t
57700   unset ac_cv_type_int_least32_t
57701   unset ac_cv_type_int_fast32_t
57702   unset ac_cv_type_uint64_t
57703   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57704   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57705 #include <$i>
57706 "
57707 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57708   acx_cv_header_stdint=$i
57709 else
57710   continue
57711 fi
57712
57713   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57714 #include <$i>
57715 "
57716 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57717
57718 else
57719   acx_cv_header_stdint_kind="(mostly complete)"
57720 fi
57721
57722   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57723 #include <$i>
57724 "
57725 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57726
57727 else
57728   acx_cv_header_stdint_kind="(mostly complete)"
57729 fi
57730
57731   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57732 #include <$i>
57733 "
57734 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57735
57736 else
57737   acx_cv_header_stdint_kind="(mostly complete)"
57738 fi
57739
57740   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57741 #include <$i>
57742 "
57743 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57744
57745 else
57746   acx_cv_header_stdint_kind="(lacks uint64_t)"
57747 fi
57748
57749   break
57750 done
57751 if test "$acx_cv_header_stdint" = stddef.h; then
57752   acx_cv_header_stdint_kind="(lacks uintmax_t)"
57753   for i in stdint.h $inttype_headers; do
57754     unset ac_cv_type_uintptr_t
57755     unset ac_cv_type_uint32_t
57756     unset ac_cv_type_uint64_t
57757     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57758     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57759 #include <$i>
57760 "
57761 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57762   acx_cv_header_stdint=$i
57763 else
57764   continue
57765 fi
57766
57767     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57768 #include <$i>
57769 "
57770 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57771
57772 fi
57773
57774     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57775 #include <$i>
57776 "
57777 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57778
57779 fi
57780
57781     break
57782   done
57783 fi
57784 if test "$acx_cv_header_stdint" = stddef.h; then
57785   acx_cv_header_stdint_kind="(u_intXX_t style)"
57786   for i in sys/types.h $inttype_headers; do
57787     unset ac_cv_type_u_int32_t
57788     unset ac_cv_type_u_int64_t
57789     $as_echo_n "looking for u_intXX_t types in $i, " >&6
57790     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57791 #include <$i>
57792 "
57793 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57794   acx_cv_header_stdint=$i
57795 else
57796   continue
57797 fi
57798
57799     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57800 #include <$i>
57801 "
57802 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57803
57804 fi
57805
57806     break
57807   done
57808 fi
57809 if test "$acx_cv_header_stdint" = stddef.h; then
57810   acx_cv_header_stdint_kind="(using manual detection)"
57811 fi
57812
57813 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57814 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57815 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57816 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57817 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57818
57819 # ----------------- Summarize what we found so far
57820
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57822 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57823
57824 case `$as_basename -- include/gstdint.h ||
57825 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57826          Xinclude/gstdint.h : 'X\(//\)$' \| \
57827          Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57828 $as_echo X/include/gstdint.h |
57829     sed '/^.*\/\([^/][^/]*\)\/*$/{
57830             s//\1/
57831             q
57832           }
57833           /^X\/\(\/\/\)$/{
57834             s//\1/
57835             q
57836           }
57837           /^X\/\(\/\).*/{
57838             s//\1/
57839             q
57840           }
57841           s/.*/./; q'` in
57842   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57843 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57844   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57845 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57846   *) ;;
57847 esac
57848
57849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57850 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57851
57852 # ----------------- done included file, check C basic types --------
57853
57854 # Lacking an uintptr_t?  Test size of void *
57855 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57856   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57857 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57858 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57859 # This bug is HP SR number 8606223364.
57860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57861 $as_echo_n "checking size of void *... " >&6; }
57862 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57863   $as_echo_n "(cached) " >&6
57864 else
57865   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
57866
57867 else
57868   if test "$ac_cv_type_void_p" = yes; then
57869      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57870 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57871 { as_fn_set_status 77
57872 as_fn_error "cannot compute sizeof (void *)
57873 See \`config.log' for more details." "$LINENO" 5; }; }
57874    else
57875      ac_cv_sizeof_void_p=0
57876    fi
57877 fi
57878
57879 fi
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57881 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57882
57883
57884
57885 cat >>confdefs.h <<_ACEOF
57886 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57887 _ACEOF
57888
57889  ;;
57890 esac
57891
57892 # Lacking an uint64_t?  Test size of long
57893 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57894   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57895 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57896 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57897 # This bug is HP SR number 8606223364.
57898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57899 $as_echo_n "checking size of long... " >&6; }
57900 if test "${ac_cv_sizeof_long+set}" = set; then :
57901   $as_echo_n "(cached) " >&6
57902 else
57903   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
57904
57905 else
57906   if test "$ac_cv_type_long" = yes; then
57907      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57908 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57909 { as_fn_set_status 77
57910 as_fn_error "cannot compute sizeof (long)
57911 See \`config.log' for more details." "$LINENO" 5; }; }
57912    else
57913      ac_cv_sizeof_long=0
57914    fi
57915 fi
57916
57917 fi
57918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57919 $as_echo "$ac_cv_sizeof_long" >&6; }
57920
57921
57922
57923 cat >>confdefs.h <<_ACEOF
57924 #define SIZEOF_LONG $ac_cv_sizeof_long
57925 _ACEOF
57926
57927  ;;
57928 esac
57929
57930 if test $acx_cv_header_stdint = stddef.h; then
57931   # Lacking a good header?  Test size of everything and deduce all types.
57932   # The cast to long int works around a bug in the HP C Compiler
57933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57935 # This bug is HP SR number 8606223364.
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57937 $as_echo_n "checking size of int... " >&6; }
57938 if test "${ac_cv_sizeof_int+set}" = set; then :
57939   $as_echo_n "(cached) " >&6
57940 else
57941   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
57942
57943 else
57944   if test "$ac_cv_type_int" = yes; then
57945      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57947 { as_fn_set_status 77
57948 as_fn_error "cannot compute sizeof (int)
57949 See \`config.log' for more details." "$LINENO" 5; }; }
57950    else
57951      ac_cv_sizeof_int=0
57952    fi
57953 fi
57954
57955 fi
57956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57957 $as_echo "$ac_cv_sizeof_int" >&6; }
57958
57959
57960
57961 cat >>confdefs.h <<_ACEOF
57962 #define SIZEOF_INT $ac_cv_sizeof_int
57963 _ACEOF
57964
57965
57966   # The cast to long int works around a bug in the HP C Compiler
57967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57969 # This bug is HP SR number 8606223364.
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57971 $as_echo_n "checking size of short... " >&6; }
57972 if test "${ac_cv_sizeof_short+set}" = set; then :
57973   $as_echo_n "(cached) " >&6
57974 else
57975   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
57976
57977 else
57978   if test "$ac_cv_type_short" = yes; then
57979      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57981 { as_fn_set_status 77
57982 as_fn_error "cannot compute sizeof (short)
57983 See \`config.log' for more details." "$LINENO" 5; }; }
57984    else
57985      ac_cv_sizeof_short=0
57986    fi
57987 fi
57988
57989 fi
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57991 $as_echo "$ac_cv_sizeof_short" >&6; }
57992
57993
57994
57995 cat >>confdefs.h <<_ACEOF
57996 #define SIZEOF_SHORT $ac_cv_sizeof_short
57997 _ACEOF
57998
57999
58000   # The cast to long int works around a bug in the HP C Compiler
58001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
58002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
58003 # This bug is HP SR number 8606223364.
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
58005 $as_echo_n "checking size of char... " >&6; }
58006 if test "${ac_cv_sizeof_char+set}" = set; then :
58007   $as_echo_n "(cached) " >&6
58008 else
58009   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
58010
58011 else
58012   if test "$ac_cv_type_char" = yes; then
58013      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58015 { as_fn_set_status 77
58016 as_fn_error "cannot compute sizeof (char)
58017 See \`config.log' for more details." "$LINENO" 5; }; }
58018    else
58019      ac_cv_sizeof_char=0
58020    fi
58021 fi
58022
58023 fi
58024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
58025 $as_echo "$ac_cv_sizeof_char" >&6; }
58026
58027
58028
58029 cat >>confdefs.h <<_ACEOF
58030 #define SIZEOF_CHAR $ac_cv_sizeof_char
58031 _ACEOF
58032
58033
58034
58035   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
58036 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
58037   case "$ac_cv_sizeof_char" in
58038     1) acx_cv_type_int8_t=char ;;
58039     *) { as_fn_set_status please report a bug
58040 as_fn_error "no 8-bit type" "$LINENO" 5; }
58041   esac
58042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
58043 $as_echo "$acx_cv_type_int8_t" >&6; }
58044
58045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
58046 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
58047   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
58048     2:*) acx_cv_type_int16_t=int ;;
58049     *:2) acx_cv_type_int16_t=short ;;
58050     *) { as_fn_set_status please report a bug
58051 as_fn_error "no 16-bit type" "$LINENO" 5; }
58052   esac
58053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
58054 $as_echo "$acx_cv_type_int16_t" >&6; }
58055
58056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
58057 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
58058   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
58059     4:*) acx_cv_type_int32_t=int ;;
58060     *:4) acx_cv_type_int32_t=long ;;
58061     *) { as_fn_set_status please report a bug
58062 as_fn_error "no 32-bit type" "$LINENO" 5; }
58063   esac
58064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
58065 $as_echo "$acx_cv_type_int32_t" >&6; }
58066 fi
58067
58068 # These tests are here to make the output prettier
58069
58070 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
58071   case "$ac_cv_sizeof_long" in
58072     8) acx_cv_type_int64_t=long ;;
58073   esac
58074   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
58075 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
58076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
58077 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
58078 fi
58079
58080 # Now we can use the above types
58081
58082 if test "$ac_cv_type_uintptr_t" != yes; then
58083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
58084 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
58085   case $ac_cv_sizeof_void_p in
58086     2) acx_cv_type_intptr_t=int16_t ;;
58087     4) acx_cv_type_intptr_t=int32_t ;;
58088     8) acx_cv_type_intptr_t=int64_t ;;
58089     *) { as_fn_set_status please report a bug
58090 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
58091   esac
58092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
58093 $as_echo "$acx_cv_type_intptr_t" >&6; }
58094 fi
58095
58096 # ----------------- done all checks, emit header -------------
58097 ac_config_commands="$ac_config_commands include/gstdint.h"
58098
58099
58100
58101
58102 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
58103
58104
58105  # Check whether --enable-symvers was given.
58106 if test "${enable_symvers+set}" = set; then :
58107   enableval=$enable_symvers;
58108       case "$enableval" in
58109        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
58110        *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
58111                           esac
58112
58113 else
58114   enable_symvers=yes
58115 fi
58116
58117
58118
58119 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
58120 # don't know enough about $LD to do tricks...
58121
58122
58123 # Turn a 'yes' into a suitable default.
58124 if test x$enable_symvers = xyes ; then
58125   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
58126     enable_symvers=no
58127   else
58128     if test $with_gnu_ld = yes ; then
58129       case ${target_os} in
58130         hpux*)
58131           enable_symvers=no ;;
58132         *)
58133           enable_symvers=gnu ;;
58134       esac
58135     else
58136       case ${target_os} in
58137         darwin*)
58138           enable_symvers=darwin ;;
58139         *)
58140           enable_symvers=no ;;
58141       esac
58142     fi
58143   fi
58144 fi
58145
58146 # Check to see if 'darwin' or 'darwin-export' can win.
58147 if test x$enable_symvers = xdarwin-export ; then
58148     enable_symvers=darwin
58149 fi
58150
58151 # Check to see if 'gnu' can win.
58152 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
58153   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
58154   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
58155 $as_echo_n "checking for shared libgcc... " >&6; }
58156   ac_save_CFLAGS="$CFLAGS"
58157   CFLAGS=' -lgcc_s'
58158   if test x$gcc_no_link = xyes; then
58159   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58160 fi
58161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58162 /* end confdefs.h.  */
58163
58164 int
58165 main ()
58166 {
58167 return 0;
58168   ;
58169   return 0;
58170 }
58171 _ACEOF
58172 if ac_fn_c_try_link "$LINENO"; then :
58173   glibcxx_shared_libgcc=yes
58174 else
58175   glibcxx_shared_libgcc=no
58176 fi
58177 rm -f core conftest.err conftest.$ac_objext \
58178     conftest$ac_exeext conftest.$ac_ext
58179   CFLAGS="$ac_save_CFLAGS"
58180   if test $glibcxx_shared_libgcc = no; then
58181     cat > conftest.c <<EOF
58182 int main (void) { return 0; }
58183 EOF
58184     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
58185                              -shared -shared-libgcc -o conftest.so \
58186                              conftest.c -v 2>&1 >/dev/null \
58187                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
58188     rm -f conftest.c conftest.so
58189     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
58190       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
58191       if test x$gcc_no_link = xyes; then
58192   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58193 fi
58194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58195 /* end confdefs.h.  */
58196
58197 int
58198 main ()
58199 {
58200 return 0;
58201   ;
58202   return 0;
58203 }
58204 _ACEOF
58205 if ac_fn_c_try_link "$LINENO"; then :
58206   glibcxx_shared_libgcc=yes
58207 fi
58208 rm -f core conftest.err conftest.$ac_objext \
58209     conftest$ac_exeext conftest.$ac_ext
58210       CFLAGS="$ac_save_CFLAGS"
58211     fi
58212   fi
58213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58214 $as_echo "$glibcxx_shared_libgcc" >&6; }
58215
58216   # For GNU ld, we need at least this version.  The format is described in
58217   # GLIBCXX_CHECK_LINKER_FEATURES above.
58218   glibcxx_min_gnu_ld_version=21400
58219
58220   # If no shared libgcc, can't win.
58221   if test $glibcxx_shared_libgcc != yes; then
58222       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58223 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58224       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58225 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58226       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58227 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58228       enable_symvers=no
58229   elif test $with_gnu_ld != yes ; then
58230     # just fail for now
58231     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58232 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58233     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58234 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58235     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58236 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58237     enable_symvers=no
58238   elif test $glibcxx_ld_is_gold = yes ; then
58239     : All versions of gold support symbol versioning.
58240   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58241     # The right tools, the right setup, but too old.  Fallbacks?
58242     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58243 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58244     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58245 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58246     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58247 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58248     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58249 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58250     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58251 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58252     enable_symvers=no
58253   fi
58254 fi
58255
58256 # Everything parsed; figure out what file to use.
58257 case $enable_symvers in
58258   no)
58259     SYMVER_FILE=config/abi/pre/none.ver
58260     ;;
58261   gnu)
58262     SYMVER_FILE=config/abi/pre/gnu.ver
58263
58264 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58265
58266     ;;
58267   gnu-versioned-namespace)
58268     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58269
58270 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58271
58272     ;;
58273   darwin)
58274     SYMVER_FILE=config/abi/pre/gnu.ver
58275
58276 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58277
58278     ;;
58279 esac
58280
58281 if test x$enable_symvers != xno ; then
58282
58283 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58284
58285 fi
58286
58287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58288 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58289 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58290   $as_echo_n "(cached) " >&6
58291 else
58292
58293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58294 /* end confdefs.h.  */
58295 void foo (void); __asm (".symver foo, bar@SYMVER");
58296 int
58297 main ()
58298 {
58299
58300   ;
58301   return 0;
58302 }
58303 _ACEOF
58304 if ac_fn_c_try_compile "$LINENO"; then :
58305   glibcxx_cv_have_as_symver_directive=yes
58306 else
58307   glibcxx_cv_have_as_symver_directive=no
58308 fi
58309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58310 fi
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58312 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58313 if test $glibcxx_cv_have_as_symver_directive = yes; then
58314
58315 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58316
58317 fi
58318
58319
58320
58321
58322
58323
58324
58325 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58326 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58327
58328 # Now, set up compatibility support, if any.
58329 # In addition, need this to deal with std::size_t mangling in
58330 # src/compatibility.cc.  In a perfect world, could use
58331 # typeid(std::size_t).name()[0] to do direct substitution.
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58333 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58334 ac_save_CFLAGS="$CFLAGS"
58335 CFLAGS="-Werror"
58336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58337 /* end confdefs.h.  */
58338
58339 int
58340 main ()
58341 {
58342 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58343   ;
58344   return 0;
58345 }
58346 _ACEOF
58347 if ac_fn_c_try_compile "$LINENO"; then :
58348   glibcxx_size_t_is_i=yes
58349 else
58350   glibcxx_size_t_is_i=no
58351 fi
58352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58353 CFLAGS=$ac_save_CFLAGS
58354 if test "$glibcxx_size_t_is_i" = yes; then
58355
58356 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58357
58358 fi
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58360 $as_echo "$glibcxx_size_t_is_i" >&6; }
58361
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58363 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58364 ac_save_CFLAGS="$CFLAGS"
58365 CFLAGS="-Werror"
58366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58367 /* end confdefs.h.  */
58368
58369 int
58370 main ()
58371 {
58372 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58373   ;
58374   return 0;
58375 }
58376 _ACEOF
58377 if ac_fn_c_try_compile "$LINENO"; then :
58378   glibcxx_ptrdiff_t_is_i=yes
58379 else
58380   glibcxx_ptrdiff_t_is_i=no
58381 fi
58382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58383 CFLAGS=$ac_save_CFLAGS
58384 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58385
58386 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58387
58388 fi
58389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58390 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58391
58392
58393  # Check whether --enable-visibility was given.
58394 if test "${enable_visibility+set}" = set; then :
58395   enableval=$enable_visibility;
58396       case "$enableval" in
58397        yes|no) ;;
58398        *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58399       esac
58400
58401 else
58402   enable_visibility=yes
58403 fi
58404
58405
58406
58407 if test x$enable_visibility = xyes ; then
58408       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58409 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58410 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58411   $as_echo_n "(cached) " >&6
58412 else
58413
58414   save_CFLAGS="$CFLAGS"
58415   CFLAGS="$CFLAGS -Werror"
58416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58417 /* end confdefs.h.  */
58418 void __attribute__((visibility("hidden"))) foo(void) { }
58419 int
58420 main ()
58421 {
58422
58423   ;
58424   return 0;
58425 }
58426 _ACEOF
58427 if ac_fn_c_try_compile "$LINENO"; then :
58428   glibcxx_cv_have_attribute_visibility=yes
58429 else
58430   glibcxx_cv_have_attribute_visibility=no
58431 fi
58432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58433   CFLAGS="$save_CFLAGS"
58434 fi
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58436 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58437   if test $glibcxx_cv_have_attribute_visibility = no; then
58438     enable_visibility=no
58439   fi
58440 fi
58441
58442
58443 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58444 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58445
58446
58447 ac_ldbl_compat=no
58448 case "$target" in
58449   powerpc*-*-linux* | \
58450   powerpc*-*-gnu* | \
58451   sparc*-*-linux* | \
58452   s390*-*-linux* | \
58453   alpha*-*-linux*)
58454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58455 /* end confdefs.h.  */
58456
58457 int
58458 main ()
58459 {
58460
58461 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58462 #error no need for long double compatibility
58463 #endif
58464
58465   ;
58466   return 0;
58467 }
58468 _ACEOF
58469 if ac_fn_c_try_compile "$LINENO"; then :
58470   ac_ldbl_compat=yes
58471 else
58472   ac_ldbl_compat=no
58473 fi
58474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58475   if test "$ac_ldbl_compat" = yes; then
58476
58477 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58478
58479     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58480   fi
58481 esac
58482
58483
58484 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58485
58486   if $GLIBCXX_IS_NATIVE ; then
58487     # Do checks for resource limit functions.
58488
58489   setrlimit_have_headers=yes
58490   for ac_header in unistd.h sys/time.h sys/resource.h
58491 do :
58492   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58493 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58494 eval as_val=\$$as_ac_Header
58495    if test "x$as_val" = x""yes; then :
58496   cat >>confdefs.h <<_ACEOF
58497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58498 _ACEOF
58499
58500 else
58501   setrlimit_have_headers=no
58502 fi
58503
58504 done
58505
58506   # If don't have the headers, then we can't run the tests now, and we
58507   # won't be seeing any of these during testsuite compilation.
58508   if test $setrlimit_have_headers = yes; then
58509     # Can't do these in a loop, else the resulting syntax is wrong.
58510
58511   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58512 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h.  */
58515 #include <unistd.h>
58516      #include <sys/time.h>
58517      #include <sys/resource.h>
58518
58519 int
58520 main ()
58521 {
58522  int f = RLIMIT_DATA ;
58523   ;
58524   return 0;
58525 }
58526 _ACEOF
58527 if ac_fn_c_try_compile "$LINENO"; then :
58528   glibcxx_mresult=1
58529 else
58530   glibcxx_mresult=0
58531 fi
58532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58533
58534 cat >>confdefs.h <<_ACEOF
58535 #define HAVE_LIMIT_DATA $glibcxx_mresult
58536 _ACEOF
58537
58538   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58540 $as_echo "$res" >&6; }
58541
58542
58543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58544 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58546 /* end confdefs.h.  */
58547 #include <unistd.h>
58548      #include <sys/time.h>
58549      #include <sys/resource.h>
58550
58551 int
58552 main ()
58553 {
58554  int f = RLIMIT_RSS ;
58555   ;
58556   return 0;
58557 }
58558 _ACEOF
58559 if ac_fn_c_try_compile "$LINENO"; then :
58560   glibcxx_mresult=1
58561 else
58562   glibcxx_mresult=0
58563 fi
58564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58565
58566 cat >>confdefs.h <<_ACEOF
58567 #define HAVE_LIMIT_RSS $glibcxx_mresult
58568 _ACEOF
58569
58570   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58572 $as_echo "$res" >&6; }
58573
58574
58575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58576 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58578 /* end confdefs.h.  */
58579 #include <unistd.h>
58580      #include <sys/time.h>
58581      #include <sys/resource.h>
58582
58583 int
58584 main ()
58585 {
58586  int f = RLIMIT_VMEM ;
58587   ;
58588   return 0;
58589 }
58590 _ACEOF
58591 if ac_fn_c_try_compile "$LINENO"; then :
58592   glibcxx_mresult=1
58593 else
58594   glibcxx_mresult=0
58595 fi
58596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58597
58598 cat >>confdefs.h <<_ACEOF
58599 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58600 _ACEOF
58601
58602   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58604 $as_echo "$res" >&6; }
58605
58606
58607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58608 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58610 /* end confdefs.h.  */
58611 #include <unistd.h>
58612      #include <sys/time.h>
58613      #include <sys/resource.h>
58614
58615 int
58616 main ()
58617 {
58618  int f = RLIMIT_AS ;
58619   ;
58620   return 0;
58621 }
58622 _ACEOF
58623 if ac_fn_c_try_compile "$LINENO"; then :
58624   glibcxx_mresult=1
58625 else
58626   glibcxx_mresult=0
58627 fi
58628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58629
58630 cat >>confdefs.h <<_ACEOF
58631 #define HAVE_LIMIT_AS $glibcxx_mresult
58632 _ACEOF
58633
58634   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58636 $as_echo "$res" >&6; }
58637
58638
58639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58640 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58642 /* end confdefs.h.  */
58643 #include <unistd.h>
58644      #include <sys/time.h>
58645      #include <sys/resource.h>
58646
58647 int
58648 main ()
58649 {
58650  int f = RLIMIT_FSIZE ;
58651   ;
58652   return 0;
58653 }
58654 _ACEOF
58655 if ac_fn_c_try_compile "$LINENO"; then :
58656   glibcxx_mresult=1
58657 else
58658   glibcxx_mresult=0
58659 fi
58660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58661
58662 cat >>confdefs.h <<_ACEOF
58663 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58664 _ACEOF
58665
58666   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58667   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58668 $as_echo "$res" >&6; }
58669
58670
58671     # Check for rlimit, setrlimit.
58672     if test "${glibcxx_cv_setrlimit+set}" = set; then :
58673   $as_echo_n "(cached) " >&6
58674 else
58675
58676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58677 /* end confdefs.h.  */
58678 #include <unistd.h>
58679          #include <sys/time.h>
58680          #include <sys/resource.h>
58681
58682 int
58683 main ()
58684 {
58685 struct rlimit r;
58686          setrlimit(0, &r);
58687   ;
58688   return 0;
58689 }
58690 _ACEOF
58691 if ac_fn_c_try_compile "$LINENO"; then :
58692   glibcxx_cv_setrlimit=yes
58693 else
58694   glibcxx_cv_setrlimit=no
58695 fi
58696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58697
58698 fi
58699
58700   fi
58701
58702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58703 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58704   if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58705     ac_res_limits=yes
58706
58707 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58708
58709   else
58710     ac_res_limits=no
58711   fi
58712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58713 $as_echo "$ac_res_limits" >&6; }
58714
58715
58716     # Look for setenv, so that extended locale tests can be performed.
58717
58718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58719 $as_echo_n "checking for setenv declaration... " >&6; }
58720   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58721     if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58722   $as_echo_n "(cached) " >&6
58723 else
58724
58725
58726       ac_ext=cpp
58727 ac_cpp='$CXXCPP $CPPFLAGS'
58728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58731
58732       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58733 /* end confdefs.h.  */
58734 #include <stdlib.h>
58735 int
58736 main ()
58737 {
58738  setenv(0, 0, 0);
58739   ;
58740   return 0;
58741 }
58742 _ACEOF
58743 if ac_fn_cxx_try_compile "$LINENO"; then :
58744   glibcxx_cv_func_setenv_use=yes
58745 else
58746   glibcxx_cv_func_setenv_use=no
58747 fi
58748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58749       ac_ext=c
58750 ac_cpp='$CPP $CPPFLAGS'
58751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58754
58755
58756 fi
58757
58758   fi
58759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58760 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58761   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58762     for ac_func in setenv
58763 do :
58764   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58765 if test "x$ac_cv_func_setenv" = x""yes; then :
58766   cat >>confdefs.h <<_ACEOF
58767 #define HAVE_SETENV 1
58768 _ACEOF
58769
58770 fi
58771 done
58772
58773   fi
58774
58775   fi
58776
58777   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58778      test $enable_symvers != no; then
58779     case "$host" in
58780       *-*-cygwin*)
58781         enable_abi_check=no ;;
58782       *)
58783         enable_abi_check=yes ;;
58784     esac
58785   else
58786     # Only build this as native, since automake does not understand
58787     # CXX_FOR_BUILD.
58788     enable_abi_check=no
58789   fi
58790
58791   # Export file names for ABI checking.
58792   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58793
58794
58795
58796 # Propagate the target-specific source directories through the build chain.
58797 ATOMICITY_SRCDIR=config/${atomicity_dir}
58798 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58799 ATOMIC_FLAGS=${atomic_flags}
58800 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58801 OS_INC_SRCDIR=config/${os_include_dir}
58802 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58803 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58804
58805
58806
58807
58808
58809
58810
58811
58812
58813 # Determine cross-compile flags and AM_CONDITIONALs.
58814 #AC_SUBST(GLIBCXX_IS_NATIVE)
58815 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58816     if test $is_hosted = yes; then
58817   GLIBCXX_HOSTED_TRUE=
58818   GLIBCXX_HOSTED_FALSE='#'
58819 else
58820   GLIBCXX_HOSTED_TRUE='#'
58821   GLIBCXX_HOSTED_FALSE=
58822 fi
58823
58824
58825     if test $enable_libstdcxx_pch = yes; then
58826   GLIBCXX_BUILD_PCH_TRUE=
58827   GLIBCXX_BUILD_PCH_FALSE='#'
58828 else
58829   GLIBCXX_BUILD_PCH_TRUE='#'
58830   GLIBCXX_BUILD_PCH_FALSE=
58831 fi
58832
58833
58834     if test $enable_cheaders = c; then
58835   GLIBCXX_C_HEADERS_C_TRUE=
58836   GLIBCXX_C_HEADERS_C_FALSE='#'
58837 else
58838   GLIBCXX_C_HEADERS_C_TRUE='#'
58839   GLIBCXX_C_HEADERS_C_FALSE=
58840 fi
58841
58842
58843     if test $enable_cheaders = c_std; then
58844   GLIBCXX_C_HEADERS_C_STD_TRUE=
58845   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58846 else
58847   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58848   GLIBCXX_C_HEADERS_C_STD_FALSE=
58849 fi
58850
58851
58852     if test $enable_cheaders = c_global; then
58853   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58854   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58855 else
58856   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58857   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58858 fi
58859
58860
58861     if test $c_compatibility = yes; then
58862   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58863   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58864 else
58865   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58866   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58867 fi
58868
58869
58870     if test $c_extra = yes; then
58871   GLIBCXX_C_HEADERS_EXTRA_TRUE=
58872   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58873 else
58874   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58875   GLIBCXX_C_HEADERS_EXTRA_FALSE=
58876 fi
58877
58878
58879     if test $enable_libstdcxx_debug = yes; then
58880   GLIBCXX_BUILD_DEBUG_TRUE=
58881   GLIBCXX_BUILD_DEBUG_FALSE='#'
58882 else
58883   GLIBCXX_BUILD_DEBUG_TRUE='#'
58884   GLIBCXX_BUILD_DEBUG_FALSE=
58885 fi
58886
58887
58888     if test $enable_parallel = yes; then
58889   ENABLE_PARALLEL_TRUE=
58890   ENABLE_PARALLEL_FALSE='#'
58891 else
58892   ENABLE_PARALLEL_TRUE='#'
58893   ENABLE_PARALLEL_FALSE=
58894 fi
58895
58896
58897     if test $enable_symvers != no; then
58898   ENABLE_SYMVERS_TRUE=
58899   ENABLE_SYMVERS_FALSE='#'
58900 else
58901   ENABLE_SYMVERS_TRUE='#'
58902   ENABLE_SYMVERS_FALSE=
58903 fi
58904
58905
58906     if test $enable_symvers = gnu; then
58907   ENABLE_SYMVERS_GNU_TRUE=
58908   ENABLE_SYMVERS_GNU_FALSE='#'
58909 else
58910   ENABLE_SYMVERS_GNU_TRUE='#'
58911   ENABLE_SYMVERS_GNU_FALSE=
58912 fi
58913
58914
58915     if test $enable_symvers = gnu-versioned-namespace; then
58916   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58917   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58918 else
58919   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58920   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58921 fi
58922
58923
58924     if test $enable_symvers = darwin; then
58925   ENABLE_SYMVERS_DARWIN_TRUE=
58926   ENABLE_SYMVERS_DARWIN_FALSE='#'
58927 else
58928   ENABLE_SYMVERS_DARWIN_TRUE='#'
58929   ENABLE_SYMVERS_DARWIN_FALSE=
58930 fi
58931
58932
58933     if test $enable_visibility = yes; then
58934   ENABLE_VISIBILITY_TRUE=
58935   ENABLE_VISIBILITY_FALSE='#'
58936 else
58937   ENABLE_VISIBILITY_TRUE='#'
58938   ENABLE_VISIBILITY_FALSE=
58939 fi
58940
58941
58942     if test $ac_ldbl_compat = yes; then
58943   GLIBCXX_LDBL_COMPAT_TRUE=
58944   GLIBCXX_LDBL_COMPAT_FALSE='#'
58945 else
58946   GLIBCXX_LDBL_COMPAT_TRUE='#'
58947   GLIBCXX_LDBL_COMPAT_FALSE=
58948 fi
58949
58950
58951
58952
58953 cat >confcache <<\_ACEOF
58954 # This file is a shell script that caches the results of configure
58955 # tests run on this system so they can be shared between configure
58956 # scripts and configure runs, see configure's option --config-cache.
58957 # It is not useful on other systems.  If it contains results you don't
58958 # want to keep, you may remove or edit it.
58959 #
58960 # config.status only pays attention to the cache file if you give it
58961 # the --recheck option to rerun configure.
58962 #
58963 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58964 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58965 # following values.
58966
58967 _ACEOF
58968
58969 # The following way of writing the cache mishandles newlines in values,
58970 # but we know of no workaround that is simple, portable, and efficient.
58971 # So, we kill variables containing newlines.
58972 # Ultrix sh set writes to stderr and can't be redirected directly,
58973 # and sets the high bit in the cache file unless we assign to the vars.
58974 (
58975   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58976     eval ac_val=\$$ac_var
58977     case $ac_val in #(
58978     *${as_nl}*)
58979       case $ac_var in #(
58980       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58981 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58982       esac
58983       case $ac_var in #(
58984       _ | IFS | as_nl) ;; #(
58985       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58986       *) { eval $ac_var=; unset $ac_var;} ;;
58987       esac ;;
58988     esac
58989   done
58990
58991   (set) 2>&1 |
58992     case $as_nl`(ac_space=' '; set) 2>&1` in #(
58993     *${as_nl}ac_space=\ *)
58994       # `set' does not quote correctly, so add quotes: double-quote
58995       # substitution turns \\\\ into \\, and sed turns \\ into \.
58996       sed -n \
58997         "s/'/'\\\\''/g;
58998           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58999       ;; #(
59000     *)
59001       # `set' quotes correctly as required by POSIX, so do not add quotes.
59002       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59003       ;;
59004     esac |
59005     sort
59006 ) |
59007   sed '
59008      /^ac_cv_env_/b end
59009      t clear
59010      :clear
59011      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59012      t end
59013      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59014      :end' >>confcache
59015 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59016   if test -w "$cache_file"; then
59017     test "x$cache_file" != "x/dev/null" &&
59018       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59019 $as_echo "$as_me: updating cache $cache_file" >&6;}
59020     cat confcache >$cache_file
59021   else
59022     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59023 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59024   fi
59025 fi
59026 rm -f confcache
59027
59028 if test ${multilib} = yes; then
59029   multilib_arg="--enable-multilib"
59030 else
59031   multilib_arg=
59032 fi
59033
59034 # Export all the install information.
59035
59036   glibcxx_toolexecdir=no
59037   glibcxx_toolexeclibdir=no
59038   glibcxx_prefixdir=$prefix
59039
59040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
59041 $as_echo_n "checking for gxx-include-dir... " >&6; }
59042
59043 # Check whether --with-gxx-include-dir was given.
59044 if test "${with_gxx_include_dir+set}" = set; then :
59045   withval=$with_gxx_include_dir; case "$withval" in
59046       yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
59047       no)  gxx_include_dir=no ;;
59048       *)   gxx_include_dir=$withval ;;
59049      esac
59050 else
59051   gxx_include_dir=no
59052 fi
59053
59054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59055 $as_echo "$gxx_include_dir" >&6; }
59056
59057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
59058 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
59059   # Check whether --enable-version-specific-runtime-libs was given.
59060 if test "${enable_version_specific_runtime_libs+set}" = set; then :
59061   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
59062       yes) version_specific_libs=yes ;;
59063       no)  version_specific_libs=no ;;
59064       *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
59065      esac
59066 else
59067   version_specific_libs=no
59068 fi
59069
59070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
59071 $as_echo "$version_specific_libs" >&6; }
59072
59073   # Default case for install directory for include files.
59074   if test $version_specific_libs = no && test $gxx_include_dir = no; then
59075     gxx_include_dir='include/c++/${gcc_version}'
59076     if test -n "$with_cross_host" &&
59077        test x"$with_cross_host" != x"no"; then
59078       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
59079     else
59080       gxx_include_dir='${prefix}/'"$gxx_include_dir"
59081     fi
59082   fi
59083
59084   # Version-specific runtime libs processing.
59085   if test $version_specific_libs = yes; then
59086     # Need the gcc compiler version to know where to install libraries
59087     # and header files if --enable-version-specific-runtime-libs option
59088     # is selected.  FIXME: these variables are misnamed, there are
59089     # no executables installed in _toolexecdir or _toolexeclibdir.
59090     if test x"$gxx_include_dir" = x"no"; then
59091       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
59092     fi
59093     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59094     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
59095   fi
59096
59097   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
59098   # Install a library built with a cross compiler in tooldir, not libdir.
59099   if test x"$glibcxx_toolexecdir" = x"no"; then
59100     if test -n "$with_cross_host" &&
59101        test x"$with_cross_host" != x"no"; then
59102       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
59103       glibcxx_toolexeclibdir='${toolexecdir}/lib'
59104     else
59105       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
59106       glibcxx_toolexeclibdir='${libdir}'
59107     fi
59108     multi_os_directory=`$CXX -print-multi-os-directory`
59109     case $multi_os_directory in
59110       .) ;; # Avoid trailing /.
59111       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
59112     esac
59113   fi
59114
59115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
59116 $as_echo_n "checking for install location... " >&6; }
59117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
59118 $as_echo "$gxx_include_dir" >&6; }
59119
59120
59121
59122
59123
59124
59125
59126 # Export all the include and flag information to Makefiles.
59127
59128   # Used for every C++ compile we perform.
59129   GLIBCXX_INCLUDES="\
59130 -I$glibcxx_builddir/include/$host_alias \
59131 -I$glibcxx_builddir/include \
59132 -I$glibcxx_srcdir/libsupc++"
59133
59134   # For Canadian crosses, pick this up too.
59135   if test $CANADIAN = yes; then
59136     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
59137   fi
59138
59139   # Stuff in the actual top level.  Currently only used by libsupc++ to
59140   # get unwind* headers from the gcc dir.
59141   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
59142   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
59143
59144   # Now, export this to all the little Makefiles....
59145
59146
59147
59148
59149   # Optimization flags that are probably a good idea for thrill-seekers. Just
59150   # uncomment the lines below and make, everything else is ready to go...
59151   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
59152   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
59153
59154
59155   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
59156
59157
59158
59159 if test "$enable_shared" = yes; then
59160   LIBSUPCXX_PICFLAGS="-prefer-pic"
59161 else
59162   LIBSUPCXX_PICFLAGS=
59163 fi
59164
59165
59166 ac_config_files="$ac_config_files Makefile"
59167
59168 ac_config_files="$ac_config_files scripts/testsuite_flags"
59169
59170
59171 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
59172 # that multilib installs will end up installed in the correct place.
59173 # The testsuite needs it for multilib-aware ABI baseline files.
59174 # To work around this not being passed down from config-ml.in ->
59175 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
59176 # append it here.  Only modify Makefiles that have just been created.
59177 #
59178 # Also, get rid of this simulated-VPATH thing that automake does.
59179 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
59180
59181
59182 ac_config_commands="$ac_config_commands generate-headers"
59183
59184
59185 cat >confcache <<\_ACEOF
59186 # This file is a shell script that caches the results of configure
59187 # tests run on this system so they can be shared between configure
59188 # scripts and configure runs, see configure's option --config-cache.
59189 # It is not useful on other systems.  If it contains results you don't
59190 # want to keep, you may remove or edit it.
59191 #
59192 # config.status only pays attention to the cache file if you give it
59193 # the --recheck option to rerun configure.
59194 #
59195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59197 # following values.
59198
59199 _ACEOF
59200
59201 # The following way of writing the cache mishandles newlines in values,
59202 # but we know of no workaround that is simple, portable, and efficient.
59203 # So, we kill variables containing newlines.
59204 # Ultrix sh set writes to stderr and can't be redirected directly,
59205 # and sets the high bit in the cache file unless we assign to the vars.
59206 (
59207   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59208     eval ac_val=\$$ac_var
59209     case $ac_val in #(
59210     *${as_nl}*)
59211       case $ac_var in #(
59212       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59213 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59214       esac
59215       case $ac_var in #(
59216       _ | IFS | as_nl) ;; #(
59217       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59218       *) { eval $ac_var=; unset $ac_var;} ;;
59219       esac ;;
59220     esac
59221   done
59222
59223   (set) 2>&1 |
59224     case $as_nl`(ac_space=' '; set) 2>&1` in #(
59225     *${as_nl}ac_space=\ *)
59226       # `set' does not quote correctly, so add quotes: double-quote
59227       # substitution turns \\\\ into \\, and sed turns \\ into \.
59228       sed -n \
59229         "s/'/'\\\\''/g;
59230           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59231       ;; #(
59232     *)
59233       # `set' quotes correctly as required by POSIX, so do not add quotes.
59234       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59235       ;;
59236     esac |
59237     sort
59238 ) |
59239   sed '
59240      /^ac_cv_env_/b end
59241      t clear
59242      :clear
59243      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59244      t end
59245      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59246      :end' >>confcache
59247 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59248   if test -w "$cache_file"; then
59249     test "x$cache_file" != "x/dev/null" &&
59250       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59251 $as_echo "$as_me: updating cache $cache_file" >&6;}
59252     cat confcache >$cache_file
59253   else
59254     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59255 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59256   fi
59257 fi
59258 rm -f confcache
59259
59260 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59261 # Let make expand exec_prefix.
59262 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59263
59264 DEFS=-DHAVE_CONFIG_H
59265
59266 ac_libobjs=
59267 ac_ltlibobjs=
59268 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59269   # 1. Remove the extension, and $U if already installed.
59270   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59271   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59272   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
59273   #    will be set to the directory where LIBOBJS objects are built.
59274   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59275   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59276 done
59277 LIBOBJS=$ac_libobjs
59278
59279 LTLIBOBJS=$ac_ltlibobjs
59280
59281
59282  if test -n "$EXEEXT"; then
59283   am__EXEEXT_TRUE=
59284   am__EXEEXT_FALSE='#'
59285 else
59286   am__EXEEXT_TRUE='#'
59287   am__EXEEXT_FALSE=
59288 fi
59289
59290 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59291   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59292 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59293 fi
59294 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59295   as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59296 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59297 fi
59298 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59299   as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59300 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59301 fi
59302 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59303   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59304 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59305 fi
59306 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59307   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59308 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59309 fi
59310 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59311   as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59313 fi
59314 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59315   as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59317 fi
59318 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59319   as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59321 fi
59322 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59323   as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59325 fi
59326 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59327   as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59329 fi
59330 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59331   as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59333 fi
59334 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59335   as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59337 fi
59338 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59339   as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59341 fi
59342 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59343   as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59345 fi
59346 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59347   as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59349 fi
59350 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59351   as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59353 fi
59354
59355 : ${CONFIG_STATUS=./config.status}
59356 ac_write_fail=0
59357 ac_clean_files_save=$ac_clean_files
59358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59360 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59361 as_write_fail=0
59362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59363 #! $SHELL
59364 # Generated by $as_me.
59365 # Run this file to recreate the current configuration.
59366 # Compiler output produced by configure, useful for debugging
59367 # configure, is in config.log if it exists.
59368
59369 debug=false
59370 ac_cs_recheck=false
59371 ac_cs_silent=false
59372
59373 SHELL=\${CONFIG_SHELL-$SHELL}
59374 export SHELL
59375 _ASEOF
59376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59377 ## -------------------- ##
59378 ## M4sh Initialization. ##
59379 ## -------------------- ##
59380
59381 # Be more Bourne compatible
59382 DUALCASE=1; export DUALCASE # for MKS sh
59383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59384   emulate sh
59385   NULLCMD=:
59386   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59387   # is contrary to our usage.  Disable this feature.
59388   alias -g '${1+"$@"}'='"$@"'
59389   setopt NO_GLOB_SUBST
59390 else
59391   case `(set -o) 2>/dev/null` in #(
59392   *posix*) :
59393     set -o posix ;; #(
59394   *) :
59395      ;;
59396 esac
59397 fi
59398
59399
59400 as_nl='
59401 '
59402 export as_nl
59403 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59404 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59405 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59407 # Prefer a ksh shell builtin over an external printf program on Solaris,
59408 # but without wasting forks for bash or zsh.
59409 if test -z "$BASH_VERSION$ZSH_VERSION" \
59410     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59411   as_echo='print -r --'
59412   as_echo_n='print -rn --'
59413 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59414   as_echo='printf %s\n'
59415   as_echo_n='printf %s'
59416 else
59417   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59418     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59419     as_echo_n='/usr/ucb/echo -n'
59420   else
59421     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59422     as_echo_n_body='eval
59423       arg=$1;
59424       case $arg in #(
59425       *"$as_nl"*)
59426         expr "X$arg" : "X\\(.*\\)$as_nl";
59427         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59428       esac;
59429       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59430     '
59431     export as_echo_n_body
59432     as_echo_n='sh -c $as_echo_n_body as_echo'
59433   fi
59434   export as_echo_body
59435   as_echo='sh -c $as_echo_body as_echo'
59436 fi
59437
59438 # The user is always right.
59439 if test "${PATH_SEPARATOR+set}" != set; then
59440   PATH_SEPARATOR=:
59441   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59442     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59443       PATH_SEPARATOR=';'
59444   }
59445 fi
59446
59447
59448 # IFS
59449 # We need space, tab and new line, in precisely that order.  Quoting is
59450 # there to prevent editors from complaining about space-tab.
59451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59452 # splitting by setting IFS to empty value.)
59453 IFS=" ""        $as_nl"
59454
59455 # Find who we are.  Look in the path if we contain no directory separator.
59456 case $0 in #((
59457   *[\\/]* ) as_myself=$0 ;;
59458   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59459 for as_dir in $PATH
59460 do
59461   IFS=$as_save_IFS
59462   test -z "$as_dir" && as_dir=.
59463     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59464   done
59465 IFS=$as_save_IFS
59466
59467      ;;
59468 esac
59469 # We did not find ourselves, most probably we were run as `sh COMMAND'
59470 # in which case we are not to be found in the path.
59471 if test "x$as_myself" = x; then
59472   as_myself=$0
59473 fi
59474 if test ! -f "$as_myself"; then
59475   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59476   exit 1
59477 fi
59478
59479 # Unset variables that we do not need and which cause bugs (e.g. in
59480 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
59481 # suppresses any "Segmentation fault" message there.  '((' could
59482 # trigger a bug in pdksh 5.2.14.
59483 for as_var in BASH_ENV ENV MAIL MAILPATH
59484 do eval test x\${$as_var+set} = xset \
59485   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59486 done
59487 PS1='$ '
59488 PS2='> '
59489 PS4='+ '
59490
59491 # NLS nuisances.
59492 LC_ALL=C
59493 export LC_ALL
59494 LANGUAGE=C
59495 export LANGUAGE
59496
59497 # CDPATH.
59498 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59499
59500
59501 # as_fn_error ERROR [LINENO LOG_FD]
59502 # ---------------------------------
59503 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59504 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59505 # script with status $?, using 1 if that was 0.
59506 as_fn_error ()
59507 {
59508   as_status=$?; test $as_status -eq 0 && as_status=1
59509   if test "$3"; then
59510     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59511     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59512   fi
59513   $as_echo "$as_me: error: $1" >&2
59514   as_fn_exit $as_status
59515 } # as_fn_error
59516
59517
59518 # as_fn_set_status STATUS
59519 # -----------------------
59520 # Set $? to STATUS, without forking.
59521 as_fn_set_status ()
59522 {
59523   return $1
59524 } # as_fn_set_status
59525
59526 # as_fn_exit STATUS
59527 # -----------------
59528 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59529 as_fn_exit ()
59530 {
59531   set +e
59532   as_fn_set_status $1
59533   exit $1
59534 } # as_fn_exit
59535
59536 # as_fn_unset VAR
59537 # ---------------
59538 # Portably unset VAR.
59539 as_fn_unset ()
59540 {
59541   { eval $1=; unset $1;}
59542 }
59543 as_unset=as_fn_unset
59544 # as_fn_append VAR VALUE
59545 # ----------------------
59546 # Append the text in VALUE to the end of the definition contained in VAR. Take
59547 # advantage of any shell optimizations that allow amortized linear growth over
59548 # repeated appends, instead of the typical quadratic growth present in naive
59549 # implementations.
59550 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59551   eval 'as_fn_append ()
59552   {
59553     eval $1+=\$2
59554   }'
59555 else
59556   as_fn_append ()
59557   {
59558     eval $1=\$$1\$2
59559   }
59560 fi # as_fn_append
59561
59562 # as_fn_arith ARG...
59563 # ------------------
59564 # Perform arithmetic evaluation on the ARGs, and store the result in the
59565 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59566 # must be portable across $(()) and expr.
59567 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59568   eval 'as_fn_arith ()
59569   {
59570     as_val=$(( $* ))
59571   }'
59572 else
59573   as_fn_arith ()
59574   {
59575     as_val=`expr "$@" || test $? -eq 1`
59576   }
59577 fi # as_fn_arith
59578
59579
59580 if expr a : '\(a\)' >/dev/null 2>&1 &&
59581    test "X`expr 00001 : '.*\(...\)'`" = X001; then
59582   as_expr=expr
59583 else
59584   as_expr=false
59585 fi
59586
59587 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59588   as_basename=basename
59589 else
59590   as_basename=false
59591 fi
59592
59593 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59594   as_dirname=dirname
59595 else
59596   as_dirname=false
59597 fi
59598
59599 as_me=`$as_basename -- "$0" ||
59600 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59601          X"$0" : 'X\(//\)$' \| \
59602          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59603 $as_echo X/"$0" |
59604     sed '/^.*\/\([^/][^/]*\)\/*$/{
59605             s//\1/
59606             q
59607           }
59608           /^X\/\(\/\/\)$/{
59609             s//\1/
59610             q
59611           }
59612           /^X\/\(\/\).*/{
59613             s//\1/
59614             q
59615           }
59616           s/.*/./; q'`
59617
59618 # Avoid depending upon Character Ranges.
59619 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59620 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59621 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59622 as_cr_digits='0123456789'
59623 as_cr_alnum=$as_cr_Letters$as_cr_digits
59624
59625 ECHO_C= ECHO_N= ECHO_T=
59626 case `echo -n x` in #(((((
59627 -n*)
59628   case `echo 'xy\c'` in
59629   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
59630   xy)  ECHO_C='\c';;
59631   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
59632        ECHO_T=' ';;
59633   esac;;
59634 *)
59635   ECHO_N='-n';;
59636 esac
59637
59638 rm -f conf$$ conf$$.exe conf$$.file
59639 if test -d conf$$.dir; then
59640   rm -f conf$$.dir/conf$$.file
59641 else
59642   rm -f conf$$.dir
59643   mkdir conf$$.dir 2>/dev/null
59644 fi
59645 if (echo >conf$$.file) 2>/dev/null; then
59646   if ln -s conf$$.file conf$$ 2>/dev/null; then
59647     as_ln_s='ln -s'
59648     # ... but there are two gotchas:
59649     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59650     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59651     # In both cases, we have to default to `cp -p'.
59652     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59653       as_ln_s='cp -p'
59654   elif ln conf$$.file conf$$ 2>/dev/null; then
59655     as_ln_s=ln
59656   else
59657     as_ln_s='cp -p'
59658   fi
59659 else
59660   as_ln_s='cp -p'
59661 fi
59662 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59663 rmdir conf$$.dir 2>/dev/null
59664
59665
59666 # as_fn_mkdir_p
59667 # -------------
59668 # Create "$as_dir" as a directory, including parents if necessary.
59669 as_fn_mkdir_p ()
59670 {
59671
59672   case $as_dir in #(
59673   -*) as_dir=./$as_dir;;
59674   esac
59675   test -d "$as_dir" || eval $as_mkdir_p || {
59676     as_dirs=
59677     while :; do
59678       case $as_dir in #(
59679       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59680       *) as_qdir=$as_dir;;
59681       esac
59682       as_dirs="'$as_qdir' $as_dirs"
59683       as_dir=`$as_dirname -- "$as_dir" ||
59684 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59685          X"$as_dir" : 'X\(//\)[^/]' \| \
59686          X"$as_dir" : 'X\(//\)$' \| \
59687          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59688 $as_echo X"$as_dir" |
59689     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59690             s//\1/
59691             q
59692           }
59693           /^X\(\/\/\)[^/].*/{
59694             s//\1/
59695             q
59696           }
59697           /^X\(\/\/\)$/{
59698             s//\1/
59699             q
59700           }
59701           /^X\(\/\).*/{
59702             s//\1/
59703             q
59704           }
59705           s/.*/./; q'`
59706       test -d "$as_dir" && break
59707     done
59708     test -z "$as_dirs" || eval "mkdir $as_dirs"
59709   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59710
59711
59712 } # as_fn_mkdir_p
59713 if mkdir -p . 2>/dev/null; then
59714   as_mkdir_p='mkdir -p "$as_dir"'
59715 else
59716   test -d ./-p && rmdir ./-p
59717   as_mkdir_p=false
59718 fi
59719
59720 if test -x / >/dev/null 2>&1; then
59721   as_test_x='test -x'
59722 else
59723   if ls -dL / >/dev/null 2>&1; then
59724     as_ls_L_option=L
59725   else
59726     as_ls_L_option=
59727   fi
59728   as_test_x='
59729     eval sh -c '\''
59730       if test -d "$1"; then
59731         test -d "$1/.";
59732       else
59733         case $1 in #(
59734         -*)set "./$1";;
59735         esac;
59736         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59737         ???[sx]*):;;*)false;;esac;fi
59738     '\'' sh
59739   '
59740 fi
59741 as_executable_p=$as_test_x
59742
59743 # Sed expression to map a string onto a valid CPP name.
59744 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59745
59746 # Sed expression to map a string onto a valid variable name.
59747 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59748
59749
59750 exec 6>&1
59751 ## ----------------------------------- ##
59752 ## Main body of $CONFIG_STATUS script. ##
59753 ## ----------------------------------- ##
59754 _ASEOF
59755 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59756
59757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59758 # Save the log message, to keep $0 and so on meaningful, and to
59759 # report actual input values of CONFIG_FILES etc. instead of their
59760 # values after options handling.
59761 ac_log="
59762 This file was extended by package-unused $as_me version-unused, which was
59763 generated by GNU Autoconf 2.64.  Invocation command line was
59764
59765   CONFIG_FILES    = $CONFIG_FILES
59766   CONFIG_HEADERS  = $CONFIG_HEADERS
59767   CONFIG_LINKS    = $CONFIG_LINKS
59768   CONFIG_COMMANDS = $CONFIG_COMMANDS
59769   $ $0 $@
59770
59771 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59772 "
59773
59774 _ACEOF
59775
59776 case $ac_config_files in *"
59777 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59778 esac
59779
59780 case $ac_config_headers in *"
59781 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59782 esac
59783
59784
59785 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59786 # Files that config.status was made for.
59787 config_files="$ac_config_files"
59788 config_headers="$ac_config_headers"
59789 config_commands="$ac_config_commands"
59790
59791 _ACEOF
59792
59793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59794 ac_cs_usage="\
59795 \`$as_me' instantiates files and other configuration actions
59796 from templates according to the current configuration.  Unless the files
59797 and actions are specified as TAGs, all are instantiated by default.
59798
59799 Usage: $0 [OPTION]... [TAG]...
59800
59801   -h, --help       print this help, then exit
59802   -V, --version    print version number and configuration settings, then exit
59803   -q, --quiet, --silent
59804                    do not print progress messages
59805   -d, --debug      don't remove temporary files
59806       --recheck    update $as_me by reconfiguring in the same conditions
59807       --file=FILE[:TEMPLATE]
59808                    instantiate the configuration file FILE
59809       --header=FILE[:TEMPLATE]
59810                    instantiate the configuration header FILE
59811
59812 Configuration files:
59813 $config_files
59814
59815 Configuration headers:
59816 $config_headers
59817
59818 Configuration commands:
59819 $config_commands
59820
59821 Report bugs to the package provider."
59822
59823 _ACEOF
59824 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59825 ac_cs_version="\\
59826 package-unused config.status version-unused
59827 configured by $0, generated by GNU Autoconf 2.64,
59828   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59829
59830 Copyright (C) 2009 Free Software Foundation, Inc.
59831 This config.status script is free software; the Free Software Foundation
59832 gives unlimited permission to copy, distribute and modify it."
59833
59834 ac_pwd='$ac_pwd'
59835 srcdir='$srcdir'
59836 INSTALL='$INSTALL'
59837 MKDIR_P='$MKDIR_P'
59838 AWK='$AWK'
59839 test -n "\$AWK" || AWK=awk
59840 _ACEOF
59841
59842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59843 # The default lists apply if the user does not specify any file.
59844 ac_need_defaults=:
59845 while test $# != 0
59846 do
59847   case $1 in
59848   --*=*)
59849     ac_option=`expr "X$1" : 'X\([^=]*\)='`
59850     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59851     ac_shift=:
59852     ;;
59853   *)
59854     ac_option=$1
59855     ac_optarg=$2
59856     ac_shift=shift
59857     ;;
59858   esac
59859
59860   case $ac_option in
59861   # Handling of the options.
59862   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59863     ac_cs_recheck=: ;;
59864   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59865     $as_echo "$ac_cs_version"; exit ;;
59866   --debug | --debu | --deb | --de | --d | -d )
59867     debug=: ;;
59868   --file | --fil | --fi | --f )
59869     $ac_shift
59870     case $ac_optarg in
59871     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59872     esac
59873     as_fn_append CONFIG_FILES " '$ac_optarg'"
59874     ac_need_defaults=false;;
59875   --header | --heade | --head | --hea )
59876     $ac_shift
59877     case $ac_optarg in
59878     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59879     esac
59880     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59881     ac_need_defaults=false;;
59882   --he | --h)
59883     # Conflict between --help and --header
59884     as_fn_error "ambiguous option: \`$1'
59885 Try \`$0 --help' for more information.";;
59886   --help | --hel | -h )
59887     $as_echo "$ac_cs_usage"; exit ;;
59888   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59889   | -silent | --silent | --silen | --sile | --sil | --si | --s)
59890     ac_cs_silent=: ;;
59891
59892   # This is an error.
59893   -*) as_fn_error "unrecognized option: \`$1'
59894 Try \`$0 --help' for more information." ;;
59895
59896   *) as_fn_append ac_config_targets " $1"
59897      ac_need_defaults=false ;;
59898
59899   esac
59900   shift
59901 done
59902
59903 ac_configure_extra_args=
59904
59905 if $ac_cs_silent; then
59906   exec 6>/dev/null
59907   ac_configure_extra_args="$ac_configure_extra_args --silent"
59908 fi
59909
59910 _ACEOF
59911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59912 if \$ac_cs_recheck; then
59913   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59914   shift
59915   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59916   CONFIG_SHELL='$SHELL'
59917   export CONFIG_SHELL
59918   exec "\$@"
59919 fi
59920
59921 _ACEOF
59922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59923 exec 5>>config.log
59924 {
59925   echo
59926   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59927 ## Running $as_me. ##
59928 _ASBOX
59929   $as_echo "$ac_log"
59930 } >&5
59931
59932 _ACEOF
59933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59934 #
59935 # INIT-COMMANDS
59936 #
59937
59938 srcdir="$srcdir"
59939 host="$host"
59940 target="$target"
59941 with_multisubdir="$with_multisubdir"
59942 with_multisrctop="$with_multisrctop"
59943 with_target_subdir="$with_target_subdir"
59944 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59945 multi_basedir="$multi_basedir"
59946 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59947 CC="$CC"
59948 CXX="$CXX"
59949 GFORTRAN="$GFORTRAN"
59950 GCJ="$GCJ"
59951
59952
59953 # The HP-UX ksh and POSIX shell print the target directory to stdout
59954 # if CDPATH is set.
59955 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59956
59957 sed_quote_subst='$sed_quote_subst'
59958 double_quote_subst='$double_quote_subst'
59959 delay_variable_subst='$delay_variable_subst'
59960 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59961 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59962 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59963 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59964 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59965 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59966 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59967 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59968 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59969 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59970 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59971 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59972 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59973 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59974 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59975 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59976 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59977 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59978 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59979 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59980 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59981 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59982 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59983 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59984 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59985 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59986 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59987 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59988 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59989 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59990 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59991 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59992 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59993 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59994 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59995 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59996 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59997 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59998 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59999 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
60000 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
60001 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
60002 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
60003 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
60004 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
60005 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
60006 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
60007 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
60008 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"`'
60009 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
60010 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
60011 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
60012 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
60013 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
60014 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
60015 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
60016 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
60017 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
60018 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
60019 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
60020 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
60021 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
60022 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
60023 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
60024 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60025 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
60026 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
60027 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
60028 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
60029 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
60030 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
60031 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
60032 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
60033 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60034 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
60035 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
60036 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
60037 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
60038 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
60039 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
60040 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
60041 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
60042 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
60043 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
60044 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
60045 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
60046 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
60047 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
60048 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
60049 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
60050 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
60051 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
60052 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
60053 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
60054 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
60055 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
60056 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
60057 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
60058 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
60059 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
60060 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
60061 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
60062 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
60063 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
60064 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
60065 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
60066 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
60067 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
60068 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
60069 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
60070 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
60071 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
60072 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
60073 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
60074 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
60075 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
60076 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
60077 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
60078 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
60079 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
60080 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
60081 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
60082 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
60083 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
60084 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
60085 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
60086 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
60087 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
60088 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60089 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60090 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
60091 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
60092 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
60093 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
60094 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
60095 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
60096 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
60097 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
60098 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
60099 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60100 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60101 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
60102 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60103 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60104 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60105 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60106 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60107 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60108 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
60109 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60110 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
60111 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
60112 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
60113 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
60114 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
60115 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
60116 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
60117 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
60118 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
60119 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
60120 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
60121 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
60122 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
60123 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60124 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60125 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
60126 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
60127 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
60128 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
60129 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
60130 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60131 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
60132 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
60133 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
60134 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
60135
60136 LTCC='$LTCC'
60137 LTCFLAGS='$LTCFLAGS'
60138 compiler='$compiler_DEFAULT'
60139
60140 # A function that is used when there is no print builtin or printf.
60141 func_fallback_echo ()
60142 {
60143   eval 'cat <<_LTECHO_EOF
60144 \$1
60145 _LTECHO_EOF'
60146 }
60147
60148 # Quote evaled strings.
60149 for var in SHELL \
60150 ECHO \
60151 SED \
60152 GREP \
60153 EGREP \
60154 FGREP \
60155 LD \
60156 NM \
60157 LN_S \
60158 lt_SP2NL \
60159 lt_NL2SP \
60160 reload_flag \
60161 OBJDUMP \
60162 deplibs_check_method \
60163 file_magic_cmd \
60164 AR \
60165 AR_FLAGS \
60166 STRIP \
60167 RANLIB \
60168 CC \
60169 CFLAGS \
60170 compiler \
60171 lt_cv_sys_global_symbol_pipe \
60172 lt_cv_sys_global_symbol_to_cdecl \
60173 lt_cv_sys_global_symbol_to_c_name_address \
60174 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
60175 lt_prog_compiler_no_builtin_flag \
60176 lt_prog_compiler_wl \
60177 lt_prog_compiler_pic \
60178 lt_prog_compiler_static \
60179 lt_cv_prog_compiler_c_o \
60180 need_locks \
60181 DSYMUTIL \
60182 NMEDIT \
60183 LIPO \
60184 OTOOL \
60185 OTOOL64 \
60186 shrext_cmds \
60187 export_dynamic_flag_spec \
60188 whole_archive_flag_spec \
60189 compiler_needs_object \
60190 with_gnu_ld \
60191 allow_undefined_flag \
60192 no_undefined_flag \
60193 hardcode_libdir_flag_spec \
60194 hardcode_libdir_flag_spec_ld \
60195 hardcode_libdir_separator \
60196 fix_srcfile_path \
60197 exclude_expsyms \
60198 include_expsyms \
60199 file_list_spec \
60200 variables_saved_for_relink \
60201 libname_spec \
60202 library_names_spec \
60203 soname_spec \
60204 install_override_mode \
60205 finish_eval \
60206 old_striplib \
60207 striplib \
60208 compiler_lib_search_dirs \
60209 predep_objects \
60210 postdep_objects \
60211 predeps \
60212 postdeps \
60213 compiler_lib_search_path \
60214 LD_CXX \
60215 reload_flag_CXX \
60216 compiler_CXX \
60217 lt_prog_compiler_no_builtin_flag_CXX \
60218 lt_prog_compiler_wl_CXX \
60219 lt_prog_compiler_pic_CXX \
60220 lt_prog_compiler_static_CXX \
60221 lt_cv_prog_compiler_c_o_CXX \
60222 export_dynamic_flag_spec_CXX \
60223 whole_archive_flag_spec_CXX \
60224 compiler_needs_object_CXX \
60225 with_gnu_ld_CXX \
60226 allow_undefined_flag_CXX \
60227 no_undefined_flag_CXX \
60228 hardcode_libdir_flag_spec_CXX \
60229 hardcode_libdir_flag_spec_ld_CXX \
60230 hardcode_libdir_separator_CXX \
60231 fix_srcfile_path_CXX \
60232 exclude_expsyms_CXX \
60233 include_expsyms_CXX \
60234 file_list_spec_CXX \
60235 compiler_lib_search_dirs_CXX \
60236 predep_objects_CXX \
60237 postdep_objects_CXX \
60238 predeps_CXX \
60239 postdeps_CXX \
60240 compiler_lib_search_path_CXX; do
60241     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60242     *[\\\\\\\`\\"\\\$]*)
60243       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60244       ;;
60245     *)
60246       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60247       ;;
60248     esac
60249 done
60250
60251 # Double-quote double-evaled strings.
60252 for var in reload_cmds \
60253 old_postinstall_cmds \
60254 old_postuninstall_cmds \
60255 old_archive_cmds \
60256 extract_expsyms_cmds \
60257 old_archive_from_new_cmds \
60258 old_archive_from_expsyms_cmds \
60259 archive_cmds \
60260 archive_expsym_cmds \
60261 module_cmds \
60262 module_expsym_cmds \
60263 export_symbols_cmds \
60264 prelink_cmds \
60265 postinstall_cmds \
60266 postuninstall_cmds \
60267 finish_cmds \
60268 sys_lib_search_path_spec \
60269 sys_lib_dlsearch_path_spec \
60270 reload_cmds_CXX \
60271 old_archive_cmds_CXX \
60272 old_archive_from_new_cmds_CXX \
60273 old_archive_from_expsyms_cmds_CXX \
60274 archive_cmds_CXX \
60275 archive_expsym_cmds_CXX \
60276 module_cmds_CXX \
60277 module_expsym_cmds_CXX \
60278 export_symbols_cmds_CXX \
60279 prelink_cmds_CXX; do
60280     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60281     *[\\\\\\\`\\"\\\$]*)
60282       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60283       ;;
60284     *)
60285       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60286       ;;
60287     esac
60288 done
60289
60290 ac_aux_dir='$ac_aux_dir'
60291 xsi_shell='$xsi_shell'
60292 lt_shell_append='$lt_shell_append'
60293
60294 # See if we are running on zsh, and set the options which allow our
60295 # commands through without removal of \ escapes INIT.
60296 if test -n "\${ZSH_VERSION+set}" ; then
60297    setopt NO_GLOB_SUBST
60298 fi
60299
60300
60301     PACKAGE='$PACKAGE'
60302     VERSION='$VERSION'
60303     TIMESTAMP='$TIMESTAMP'
60304     RM='$RM'
60305     ofile='$ofile'
60306
60307
60308
60309
60310
60311
60312 GCC="$GCC"
60313 CC="$CC"
60314 acx_cv_header_stdint="$acx_cv_header_stdint"
60315 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60316 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60317 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60318 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60319 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60320 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60321 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60322 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60323 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60324 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60325 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60326 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60327 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60328
60329
60330 _ACEOF
60331
60332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60333
60334 # Handling of arguments.
60335 for ac_config_target in $ac_config_targets
60336 do
60337   case $ac_config_target in
60338     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60339     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60340     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60341     "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60342     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60343     "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60344     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60345     "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60346     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60347     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60348     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60349     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60350     "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60351     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60352
60353   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60354   esac
60355 done
60356
60357
60358 # If the user did not use the arguments to specify the items to instantiate,
60359 # then the envvar interface is used.  Set only those that are not.
60360 # We use the long form for the default assignment because of an extremely
60361 # bizarre bug on SunOS 4.1.3.
60362 if $ac_need_defaults; then
60363   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60364   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60365   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60366 fi
60367
60368 # Have a temporary directory for convenience.  Make it in the build tree
60369 # simply because there is no reason against having it here, and in addition,
60370 # creating and moving files from /tmp can sometimes cause problems.
60371 # Hook for its removal unless debugging.
60372 # Note that there is a small window in which the directory will not be cleaned:
60373 # after its creation but before its name has been assigned to `$tmp'.
60374 $debug ||
60375 {
60376   tmp=
60377   trap 'exit_status=$?
60378   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60379 ' 0
60380   trap 'as_fn_exit 1' 1 2 13 15
60381 }
60382 # Create a (secure) tmp directory for tmp files.
60383
60384 {
60385   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60386   test -n "$tmp" && test -d "$tmp"
60387 }  ||
60388 {
60389   tmp=./conf$$-$RANDOM
60390   (umask 077 && mkdir "$tmp")
60391 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60392
60393 # Set up the scripts for CONFIG_FILES section.
60394 # No need to generate them if there are no CONFIG_FILES.
60395 # This happens for instance with `./config.status config.h'.
60396 if test -n "$CONFIG_FILES"; then
60397
60398
60399 ac_cr=`echo X | tr X '\015'`
60400 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60401 # But we know of no other shell where ac_cr would be empty at this
60402 # point, so we can use a bashism as a fallback.
60403 if test "x$ac_cr" = x; then
60404   eval ac_cr=\$\'\\r\'
60405 fi
60406 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60407 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60408   ac_cs_awk_cr='\r'
60409 else
60410   ac_cs_awk_cr=$ac_cr
60411 fi
60412
60413 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60414 _ACEOF
60415
60416
60417 {
60418   echo "cat >conf$$subs.awk <<_ACEOF" &&
60419   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60420   echo "_ACEOF"
60421 } >conf$$subs.sh ||
60422   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60423 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60424 ac_delim='%!_!# '
60425 for ac_last_try in false false false false false :; do
60426   . ./conf$$subs.sh ||
60427     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60428
60429   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60430   if test $ac_delim_n = $ac_delim_num; then
60431     break
60432   elif $ac_last_try; then
60433     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60434   else
60435     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60436   fi
60437 done
60438 rm -f conf$$subs.sh
60439
60440 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60441 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60442 _ACEOF
60443 sed -n '
60444 h
60445 s/^/S["/; s/!.*/"]=/
60446 p
60447 g
60448 s/^[^!]*!//
60449 :repl
60450 t repl
60451 s/'"$ac_delim"'$//
60452 t delim
60453 :nl
60454 h
60455 s/\(.\{148\}\).*/\1/
60456 t more1
60457 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60458 p
60459 n
60460 b repl
60461 :more1
60462 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60463 p
60464 g
60465 s/.\{148\}//
60466 t nl
60467 :delim
60468 h
60469 s/\(.\{148\}\).*/\1/
60470 t more2
60471 s/["\\]/\\&/g; s/^/"/; s/$/"/
60472 p
60473 b
60474 :more2
60475 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60476 p
60477 g
60478 s/.\{148\}//
60479 t delim
60480 ' <conf$$subs.awk | sed '
60481 /^[^""]/{
60482   N
60483   s/\n//
60484 }
60485 ' >>$CONFIG_STATUS || ac_write_fail=1
60486 rm -f conf$$subs.awk
60487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60488 _ACAWK
60489 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60490   for (key in S) S_is_set[key] = 1
60491   FS = "\a"
60492
60493 }
60494 {
60495   line = $ 0
60496   nfields = split(line, field, "@")
60497   substed = 0
60498   len = length(field[1])
60499   for (i = 2; i < nfields; i++) {
60500     key = field[i]
60501     keylen = length(key)
60502     if (S_is_set[key]) {
60503       value = S[key]
60504       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60505       len += length(value) + length(field[++i])
60506       substed = 1
60507     } else
60508       len += 1 + keylen
60509   }
60510
60511   print line
60512 }
60513
60514 _ACAWK
60515 _ACEOF
60516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60517 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60518   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60519 else
60520   cat
60521 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60522   || as_fn_error "could not setup config files machinery" "$LINENO" 5
60523 _ACEOF
60524
60525 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60526 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60527 # trailing colons and then remove the whole line if VPATH becomes empty
60528 # (actually we leave an empty line to preserve line numbers).
60529 if test "x$srcdir" = x.; then
60530   ac_vpsub='/^[  ]*VPATH[        ]*=/{
60531 s/:*\$(srcdir):*/:/
60532 s/:*\${srcdir}:*/:/
60533 s/:*@srcdir@:*/:/
60534 s/^\([^=]*=[     ]*\):*/\1/
60535 s/:*$//
60536 s/^[^=]*=[       ]*$//
60537 }'
60538 fi
60539
60540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60541 fi # test -n "$CONFIG_FILES"
60542
60543 # Set up the scripts for CONFIG_HEADERS section.
60544 # No need to generate them if there are no CONFIG_HEADERS.
60545 # This happens for instance with `./config.status Makefile'.
60546 if test -n "$CONFIG_HEADERS"; then
60547 cat >"$tmp/defines.awk" <<\_ACAWK ||
60548 BEGIN {
60549 _ACEOF
60550
60551 # Transform confdefs.h into an awk script `defines.awk', embedded as
60552 # here-document in config.status, that substitutes the proper values into
60553 # config.h.in to produce config.h.
60554
60555 # Create a delimiter string that does not exist in confdefs.h, to ease
60556 # handling of long lines.
60557 ac_delim='%!_!# '
60558 for ac_last_try in false false :; do
60559   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60560   if test -z "$ac_t"; then
60561     break
60562   elif $ac_last_try; then
60563     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60564   else
60565     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60566   fi
60567 done
60568
60569 # For the awk script, D is an array of macro values keyed by name,
60570 # likewise P contains macro parameters if any.  Preserve backslash
60571 # newline sequences.
60572
60573 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60574 sed -n '
60575 s/.\{148\}/&'"$ac_delim"'/g
60576 t rset
60577 :rset
60578 s/^[     ]*#[    ]*define[       ][      ]*/ /
60579 t def
60580 d
60581 :def
60582 s/\\$//
60583 t bsnl
60584 s/["\\]/\\&/g
60585 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60586 D["\1"]=" \3"/p
60587 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
60588 d
60589 :bsnl
60590 s/["\\]/\\&/g
60591 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
60592 D["\1"]=" \3\\\\\\n"\\/p
60593 t cont
60594 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60595 t cont
60596 d
60597 :cont
60598 n
60599 s/.\{148\}/&'"$ac_delim"'/g
60600 t clear
60601 :clear
60602 s/\\$//
60603 t bsnlc
60604 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60605 d
60606 :bsnlc
60607 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60608 b cont
60609 ' <confdefs.h | sed '
60610 s/'"$ac_delim"'/"\\\
60611 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60612
60613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60614   for (key in D) D_is_set[key] = 1
60615   FS = "\a"
60616 }
60617 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60618   line = \$ 0
60619   split(line, arg, " ")
60620   if (arg[1] == "#") {
60621     defundef = arg[2]
60622     mac1 = arg[3]
60623   } else {
60624     defundef = substr(arg[1], 2)
60625     mac1 = arg[2]
60626   }
60627   split(mac1, mac2, "(") #)
60628   macro = mac2[1]
60629   prefix = substr(line, 1, index(line, defundef) - 1)
60630   if (D_is_set[macro]) {
60631     # Preserve the white space surrounding the "#".
60632     print prefix "define", macro P[macro] D[macro]
60633     next
60634   } else {
60635     # Replace #undef with comments.  This is necessary, for example,
60636     # in the case of _POSIX_SOURCE, which is predefined and required
60637     # on some systems where configure will not decide to define it.
60638     if (defundef == "undef") {
60639       print "/*", prefix defundef, macro, "*/"
60640       next
60641     }
60642   }
60643 }
60644 { print }
60645 _ACAWK
60646 _ACEOF
60647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60648   as_fn_error "could not setup config headers machinery" "$LINENO" 5
60649 fi # test -n "$CONFIG_HEADERS"
60650
60651
60652 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
60653 shift
60654 for ac_tag
60655 do
60656   case $ac_tag in
60657   :[FHLC]) ac_mode=$ac_tag; continue;;
60658   esac
60659   case $ac_mode$ac_tag in
60660   :[FHL]*:*);;
60661   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60662   :[FH]-) ac_tag=-:-;;
60663   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60664   esac
60665   ac_save_IFS=$IFS
60666   IFS=:
60667   set x $ac_tag
60668   IFS=$ac_save_IFS
60669   shift
60670   ac_file=$1
60671   shift
60672
60673   case $ac_mode in
60674   :L) ac_source=$1;;
60675   :[FH])
60676     ac_file_inputs=
60677     for ac_f
60678     do
60679       case $ac_f in
60680       -) ac_f="$tmp/stdin";;
60681       *) # Look for the file first in the build tree, then in the source tree
60682          # (if the path is not absolute).  The absolute path cannot be DOS-style,
60683          # because $ac_f cannot contain `:'.
60684          test -f "$ac_f" ||
60685            case $ac_f in
60686            [\\/$]*) false;;
60687            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60688            esac ||
60689            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60690       esac
60691       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60692       as_fn_append ac_file_inputs " '$ac_f'"
60693     done
60694
60695     # Let's still pretend it is `configure' which instantiates (i.e., don't
60696     # use $as_me), people would be surprised to read:
60697     #    /* config.h.  Generated by config.status.  */
60698     configure_input='Generated from '`
60699           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60700         `' by configure.'
60701     if test x"$ac_file" != x-; then
60702       configure_input="$ac_file.  $configure_input"
60703       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60704 $as_echo "$as_me: creating $ac_file" >&6;}
60705     fi
60706     # Neutralize special characters interpreted by sed in replacement strings.
60707     case $configure_input in #(
60708     *\&* | *\|* | *\\* )
60709        ac_sed_conf_input=`$as_echo "$configure_input" |
60710        sed 's/[\\\\&|]/\\\\&/g'`;; #(
60711     *) ac_sed_conf_input=$configure_input;;
60712     esac
60713
60714     case $ac_tag in
60715     *:-:* | *:-) cat >"$tmp/stdin" \
60716       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60717     esac
60718     ;;
60719   esac
60720
60721   ac_dir=`$as_dirname -- "$ac_file" ||
60722 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60723          X"$ac_file" : 'X\(//\)[^/]' \| \
60724          X"$ac_file" : 'X\(//\)$' \| \
60725          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60726 $as_echo X"$ac_file" |
60727     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60728             s//\1/
60729             q
60730           }
60731           /^X\(\/\/\)[^/].*/{
60732             s//\1/
60733             q
60734           }
60735           /^X\(\/\/\)$/{
60736             s//\1/
60737             q
60738           }
60739           /^X\(\/\).*/{
60740             s//\1/
60741             q
60742           }
60743           s/.*/./; q'`
60744   as_dir="$ac_dir"; as_fn_mkdir_p
60745   ac_builddir=.
60746
60747 case "$ac_dir" in
60748 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60749 *)
60750   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60751   # A ".." for each directory in $ac_dir_suffix.
60752   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60753   case $ac_top_builddir_sub in
60754   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60755   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60756   esac ;;
60757 esac
60758 ac_abs_top_builddir=$ac_pwd
60759 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60760 # for backward compatibility:
60761 ac_top_builddir=$ac_top_build_prefix
60762
60763 case $srcdir in
60764   .)  # We are building in place.
60765     ac_srcdir=.
60766     ac_top_srcdir=$ac_top_builddir_sub
60767     ac_abs_top_srcdir=$ac_pwd ;;
60768   [\\/]* | ?:[\\/]* )  # Absolute name.
60769     ac_srcdir=$srcdir$ac_dir_suffix;
60770     ac_top_srcdir=$srcdir
60771     ac_abs_top_srcdir=$srcdir ;;
60772   *) # Relative name.
60773     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60774     ac_top_srcdir=$ac_top_build_prefix$srcdir
60775     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60776 esac
60777 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60778
60779
60780   case $ac_mode in
60781   :F)
60782   #
60783   # CONFIG_FILE
60784   #
60785
60786   case $INSTALL in
60787   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60788   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60789   esac
60790   ac_MKDIR_P=$MKDIR_P
60791   case $MKDIR_P in
60792   [\\/$]* | ?:[\\/]* ) ;;
60793   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60794   esac
60795 _ACEOF
60796
60797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60798 # If the template does not know about datarootdir, expand it.
60799 # FIXME: This hack should be removed a few years after 2.60.
60800 ac_datarootdir_hack=; ac_datarootdir_seen=
60801 ac_sed_dataroot='
60802 /datarootdir/ {
60803   p
60804   q
60805 }
60806 /@datadir@/p
60807 /@docdir@/p
60808 /@infodir@/p
60809 /@localedir@/p
60810 /@mandir@/p'
60811 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60812 *datarootdir*) ac_datarootdir_seen=yes;;
60813 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60814   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60815 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60816 _ACEOF
60817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60818   ac_datarootdir_hack='
60819   s&@datadir@&$datadir&g
60820   s&@docdir@&$docdir&g
60821   s&@infodir@&$infodir&g
60822   s&@localedir@&$localedir&g
60823   s&@mandir@&$mandir&g
60824   s&\\\${datarootdir}&$datarootdir&g' ;;
60825 esac
60826 _ACEOF
60827
60828 # Neutralize VPATH when `$srcdir' = `.'.
60829 # Shell code in configure.ac might set extrasub.
60830 # FIXME: do we really want to maintain this feature?
60831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60832 ac_sed_extra="$ac_vpsub
60833 $extrasub
60834 _ACEOF
60835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60836 :t
60837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60838 s|@configure_input@|$ac_sed_conf_input|;t t
60839 s&@top_builddir@&$ac_top_builddir_sub&;t t
60840 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60841 s&@srcdir@&$ac_srcdir&;t t
60842 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60843 s&@top_srcdir@&$ac_top_srcdir&;t t
60844 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60845 s&@builddir@&$ac_builddir&;t t
60846 s&@abs_builddir@&$ac_abs_builddir&;t t
60847 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60848 s&@INSTALL@&$ac_INSTALL&;t t
60849 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60850 $ac_datarootdir_hack
60851 "
60852 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60853   || as_fn_error "could not create $ac_file" "$LINENO" 5
60854
60855 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60856   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60857   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60858   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60859 which seems to be undefined.  Please make sure it is defined." >&5
60860 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60861 which seems to be undefined.  Please make sure it is defined." >&2;}
60862
60863   rm -f "$tmp/stdin"
60864   case $ac_file in
60865   -) cat "$tmp/out" && rm -f "$tmp/out";;
60866   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60867   esac \
60868   || as_fn_error "could not create $ac_file" "$LINENO" 5
60869  ;;
60870   :H)
60871   #
60872   # CONFIG_HEADER
60873   #
60874   if test x"$ac_file" != x-; then
60875     {
60876       $as_echo "/* $configure_input  */" \
60877       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60878     } >"$tmp/config.h" \
60879       || as_fn_error "could not create $ac_file" "$LINENO" 5
60880     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60881       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60882 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60883     else
60884       rm -f "$ac_file"
60885       mv "$tmp/config.h" "$ac_file" \
60886         || as_fn_error "could not create $ac_file" "$LINENO" 5
60887     fi
60888   else
60889     $as_echo "/* $configure_input  */" \
60890       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60891       || as_fn_error "could not create -" "$LINENO" 5
60892   fi
60893 # Compute "$ac_file"'s index in $config_headers.
60894 _am_arg="$ac_file"
60895 _am_stamp_count=1
60896 for _am_header in $config_headers :; do
60897   case $_am_header in
60898     $_am_arg | $_am_arg:* )
60899       break ;;
60900     * )
60901       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60902   esac
60903 done
60904 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60905 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60906          X"$_am_arg" : 'X\(//\)[^/]' \| \
60907          X"$_am_arg" : 'X\(//\)$' \| \
60908          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60909 $as_echo X"$_am_arg" |
60910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60911             s//\1/
60912             q
60913           }
60914           /^X\(\/\/\)[^/].*/{
60915             s//\1/
60916             q
60917           }
60918           /^X\(\/\/\)$/{
60919             s//\1/
60920             q
60921           }
60922           /^X\(\/\).*/{
60923             s//\1/
60924             q
60925           }
60926           s/.*/./; q'`/stamp-h$_am_stamp_count
60927  ;;
60928
60929   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60930 $as_echo "$as_me: executing $ac_file commands" >&6;}
60931  ;;
60932   esac
60933
60934
60935   case $ac_file$ac_mode in
60936     "default-1":C)
60937 # Only add multilib support code if we just rebuilt the top-level
60938 # Makefile.
60939 case " $CONFIG_FILES " in
60940  *" Makefile "*)
60941    ac_file=Makefile . ${multi_basedir}/config-ml.in
60942    ;;
60943 esac ;;
60944     "libtool":C)
60945
60946     # See if we are running on zsh, and set the options which allow our
60947     # commands through without removal of \ escapes.
60948     if test -n "${ZSH_VERSION+set}" ; then
60949       setopt NO_GLOB_SUBST
60950     fi
60951
60952     cfgfile="${ofile}T"
60953     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60954     $RM "$cfgfile"
60955
60956     cat <<_LT_EOF >> "$cfgfile"
60957 #! $SHELL
60958
60959 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60960 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60961 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60962 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60963 #
60964 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60965 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60966 #   Written by Gordon Matzigkeit, 1996
60967 #
60968 #   This file is part of GNU Libtool.
60969 #
60970 # GNU Libtool is free software; you can redistribute it and/or
60971 # modify it under the terms of the GNU General Public License as
60972 # published by the Free Software Foundation; either version 2 of
60973 # the License, or (at your option) any later version.
60974 #
60975 # As a special exception to the GNU General Public License,
60976 # if you distribute this file as part of a program or library that
60977 # is built using GNU Libtool, you may include this file under the
60978 # same distribution terms that you use for the rest of that program.
60979 #
60980 # GNU Libtool is distributed in the hope that it will be useful,
60981 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60982 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60983 # GNU General Public License for more details.
60984 #
60985 # You should have received a copy of the GNU General Public License
60986 # along with GNU Libtool; see the file COPYING.  If not, a copy
60987 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60988 # obtained by writing to the Free Software Foundation, Inc.,
60989 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60990
60991
60992 # The names of the tagged configurations supported by this script.
60993 available_tags="CXX "
60994
60995 # ### BEGIN LIBTOOL CONFIG
60996
60997 # Which release of libtool.m4 was used?
60998 macro_version=$macro_version
60999 macro_revision=$macro_revision
61000
61001 # Whether or not to build shared libraries.
61002 build_libtool_libs=$enable_shared
61003
61004 # Whether or not to build static libraries.
61005 build_old_libs=$enable_static
61006
61007 # What type of objects to build.
61008 pic_mode=$pic_mode
61009
61010 # Whether or not to optimize for fast installation.
61011 fast_install=$enable_fast_install
61012
61013 # Shell to use when invoking shell scripts.
61014 SHELL=$lt_SHELL
61015
61016 # An echo program that protects backslashes.
61017 ECHO=$lt_ECHO
61018
61019 # The host system.
61020 host_alias=$host_alias
61021 host=$host
61022 host_os=$host_os
61023
61024 # The build system.
61025 build_alias=$build_alias
61026 build=$build
61027 build_os=$build_os
61028
61029 # A sed program that does not truncate output.
61030 SED=$lt_SED
61031
61032 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
61033 Xsed="\$SED -e 1s/^X//"
61034
61035 # A grep program that handles long lines.
61036 GREP=$lt_GREP
61037
61038 # An ERE matcher.
61039 EGREP=$lt_EGREP
61040
61041 # A literal string matcher.
61042 FGREP=$lt_FGREP
61043
61044 # A BSD- or MS-compatible name lister.
61045 NM=$lt_NM
61046
61047 # Whether we need soft or hard links.
61048 LN_S=$lt_LN_S
61049
61050 # What is the maximum length of a command?
61051 max_cmd_len=$max_cmd_len
61052
61053 # Object file suffix (normally "o").
61054 objext=$ac_objext
61055
61056 # Executable file suffix (normally "").
61057 exeext=$exeext
61058
61059 # whether the shell understands "unset".
61060 lt_unset=$lt_unset
61061
61062 # turn spaces into newlines.
61063 SP2NL=$lt_lt_SP2NL
61064
61065 # turn newlines into spaces.
61066 NL2SP=$lt_lt_NL2SP
61067
61068 # An object symbol dumper.
61069 OBJDUMP=$lt_OBJDUMP
61070
61071 # Method to check whether dependent libraries are shared objects.
61072 deplibs_check_method=$lt_deplibs_check_method
61073
61074 # Command to use when deplibs_check_method == "file_magic".
61075 file_magic_cmd=$lt_file_magic_cmd
61076
61077 # The archiver.
61078 AR=$lt_AR
61079 AR_FLAGS=$lt_AR_FLAGS
61080
61081 # A symbol stripping program.
61082 STRIP=$lt_STRIP
61083
61084 # Commands used to install an old-style archive.
61085 RANLIB=$lt_RANLIB
61086 old_postinstall_cmds=$lt_old_postinstall_cmds
61087 old_postuninstall_cmds=$lt_old_postuninstall_cmds
61088
61089 # Whether to use a lock for old archive extraction.
61090 lock_old_archive_extraction=$lock_old_archive_extraction
61091
61092 # A C compiler.
61093 LTCC=$lt_CC
61094
61095 # LTCC compiler flags.
61096 LTCFLAGS=$lt_CFLAGS
61097
61098 # Take the output of nm and produce a listing of raw symbols and C names.
61099 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
61100
61101 # Transform the output of nm in a proper C declaration.
61102 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
61103
61104 # Transform the output of nm in a C name address pair.
61105 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
61106
61107 # Transform the output of nm in a C name address pair when lib prefix is needed.
61108 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
61109
61110 # The name of the directory that contains temporary libtool files.
61111 objdir=$objdir
61112
61113 # Used to examine libraries when file_magic_cmd begins with "file".
61114 MAGIC_CMD=$MAGIC_CMD
61115
61116 # Must we lock files when doing compilation?
61117 need_locks=$lt_need_locks
61118
61119 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
61120 DSYMUTIL=$lt_DSYMUTIL
61121
61122 # Tool to change global to local symbols on Mac OS X.
61123 NMEDIT=$lt_NMEDIT
61124
61125 # Tool to manipulate fat objects and archives on Mac OS X.
61126 LIPO=$lt_LIPO
61127
61128 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
61129 OTOOL=$lt_OTOOL
61130
61131 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
61132 OTOOL64=$lt_OTOOL64
61133
61134 # Old archive suffix (normally "a").
61135 libext=$libext
61136
61137 # Shared library suffix (normally ".so").
61138 shrext_cmds=$lt_shrext_cmds
61139
61140 # The commands to extract the exported symbol list from a shared archive.
61141 extract_expsyms_cmds=$lt_extract_expsyms_cmds
61142
61143 # Variables whose values should be saved in libtool wrapper scripts and
61144 # restored at link time.
61145 variables_saved_for_relink=$lt_variables_saved_for_relink
61146
61147 # Do we need the "lib" prefix for modules?
61148 need_lib_prefix=$need_lib_prefix
61149
61150 # Do we need a version for libraries?
61151 need_version=$need_version
61152
61153 # Library versioning type.
61154 version_type=$version_type
61155
61156 # Shared library runtime path variable.
61157 runpath_var=$runpath_var
61158
61159 # Shared library path variable.
61160 shlibpath_var=$shlibpath_var
61161
61162 # Is shlibpath searched before the hard-coded library search path?
61163 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
61164
61165 # Format of library name prefix.
61166 libname_spec=$lt_libname_spec
61167
61168 # List of archive names.  First name is the real one, the rest are links.
61169 # The last name is the one that the linker finds with -lNAME
61170 library_names_spec=$lt_library_names_spec
61171
61172 # The coded name of the library, if different from the real name.
61173 soname_spec=$lt_soname_spec
61174
61175 # Permission mode override for installation of shared libraries.
61176 install_override_mode=$lt_install_override_mode
61177
61178 # Command to use after installation of a shared archive.
61179 postinstall_cmds=$lt_postinstall_cmds
61180
61181 # Command to use after uninstallation of a shared archive.
61182 postuninstall_cmds=$lt_postuninstall_cmds
61183
61184 # Commands used to finish a libtool library installation in a directory.
61185 finish_cmds=$lt_finish_cmds
61186
61187 # As "finish_cmds", except a single script fragment to be evaled but
61188 # not shown.
61189 finish_eval=$lt_finish_eval
61190
61191 # Whether we should hardcode library paths into libraries.
61192 hardcode_into_libs=$hardcode_into_libs
61193
61194 # Compile-time system search path for libraries.
61195 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61196
61197 # Run-time system search path for libraries.
61198 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61199
61200 # Whether dlopen is supported.
61201 dlopen_support=$enable_dlopen
61202
61203 # Whether dlopen of programs is supported.
61204 dlopen_self=$enable_dlopen_self
61205
61206 # Whether dlopen of statically linked programs is supported.
61207 dlopen_self_static=$enable_dlopen_self_static
61208
61209 # Commands to strip libraries.
61210 old_striplib=$lt_old_striplib
61211 striplib=$lt_striplib
61212
61213
61214 # The linker used to build libraries.
61215 LD=$lt_LD
61216
61217 # How to create reloadable object files.
61218 reload_flag=$lt_reload_flag
61219 reload_cmds=$lt_reload_cmds
61220
61221 # Commands used to build an old-style archive.
61222 old_archive_cmds=$lt_old_archive_cmds
61223
61224 # A language specific compiler.
61225 CC=$lt_compiler
61226
61227 # Is the compiler the GNU compiler?
61228 with_gcc=$GCC
61229
61230 # Compiler flag to turn off builtin functions.
61231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61232
61233 # How to pass a linker flag through the compiler.
61234 wl=$lt_lt_prog_compiler_wl
61235
61236 # Additional compiler flags for building library objects.
61237 pic_flag=$lt_lt_prog_compiler_pic
61238
61239 # Compiler flag to prevent dynamic linking.
61240 link_static_flag=$lt_lt_prog_compiler_static
61241
61242 # Does compiler simultaneously support -c and -o options?
61243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61244
61245 # Whether or not to add -lc for building shared libraries.
61246 build_libtool_need_lc=$archive_cmds_need_lc
61247
61248 # Whether or not to disallow shared libs when runtime libs are static.
61249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61250
61251 # Compiler flag to allow reflexive dlopens.
61252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61253
61254 # Compiler flag to generate shared objects directly from archives.
61255 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61256
61257 # Whether the compiler copes with passing no objects directly.
61258 compiler_needs_object=$lt_compiler_needs_object
61259
61260 # Create an old-style archive from a shared archive.
61261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61262
61263 # Create a temporary old-style archive to link instead of a shared archive.
61264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61265
61266 # Commands used to build a shared archive.
61267 archive_cmds=$lt_archive_cmds
61268 archive_expsym_cmds=$lt_archive_expsym_cmds
61269
61270 # Commands used to build a loadable module if different from building
61271 # a shared archive.
61272 module_cmds=$lt_module_cmds
61273 module_expsym_cmds=$lt_module_expsym_cmds
61274
61275 # Whether we are building with GNU ld or not.
61276 with_gnu_ld=$lt_with_gnu_ld
61277
61278 # Flag that allows shared libraries with undefined symbols to be built.
61279 allow_undefined_flag=$lt_allow_undefined_flag
61280
61281 # Flag that enforces no undefined symbols.
61282 no_undefined_flag=$lt_no_undefined_flag
61283
61284 # Flag to hardcode \$libdir into a binary during linking.
61285 # This must work even if \$libdir does not exist
61286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61287
61288 # If ld is used when linking, flag to hardcode \$libdir into a binary
61289 # during linking.  This must work even if \$libdir does not exist.
61290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61291
61292 # Whether we need a single "-rpath" flag with a separated argument.
61293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61294
61295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61296 # DIR into the resulting binary.
61297 hardcode_direct=$hardcode_direct
61298
61299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61300 # DIR into the resulting binary and the resulting library dependency is
61301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61302 # library is relocated.
61303 hardcode_direct_absolute=$hardcode_direct_absolute
61304
61305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61306 # into the resulting binary.
61307 hardcode_minus_L=$hardcode_minus_L
61308
61309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61310 # into the resulting binary.
61311 hardcode_shlibpath_var=$hardcode_shlibpath_var
61312
61313 # Set to "yes" if building a shared library automatically hardcodes DIR
61314 # into the library and all subsequent libraries and executables linked
61315 # against it.
61316 hardcode_automatic=$hardcode_automatic
61317
61318 # Set to yes if linker adds runtime paths of dependent libraries
61319 # to runtime path list.
61320 inherit_rpath=$inherit_rpath
61321
61322 # Whether libtool must link a program against all its dependency libraries.
61323 link_all_deplibs=$link_all_deplibs
61324
61325 # Fix the shell variable \$srcfile for the compiler.
61326 fix_srcfile_path=$lt_fix_srcfile_path
61327
61328 # Set to "yes" if exported symbols are required.
61329 always_export_symbols=$always_export_symbols
61330
61331 # The commands to list exported symbols.
61332 export_symbols_cmds=$lt_export_symbols_cmds
61333
61334 # Symbols that should not be listed in the preloaded symbols.
61335 exclude_expsyms=$lt_exclude_expsyms
61336
61337 # Symbols that must always be exported.
61338 include_expsyms=$lt_include_expsyms
61339
61340 # Commands necessary for linking programs (against libraries) with templates.
61341 prelink_cmds=$lt_prelink_cmds
61342
61343 # Specify filename containing input files.
61344 file_list_spec=$lt_file_list_spec
61345
61346 # How to hardcode a shared library path into an executable.
61347 hardcode_action=$hardcode_action
61348
61349 # The directories searched by this compiler when creating a shared library.
61350 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61351
61352 # Dependencies to place before and after the objects being linked to
61353 # create a shared library.
61354 predep_objects=$lt_predep_objects
61355 postdep_objects=$lt_postdep_objects
61356 predeps=$lt_predeps
61357 postdeps=$lt_postdeps
61358
61359 # The library search path used internally by the compiler when linking
61360 # a shared library.
61361 compiler_lib_search_path=$lt_compiler_lib_search_path
61362
61363 # ### END LIBTOOL CONFIG
61364
61365 _LT_EOF
61366
61367   case $host_os in
61368   aix3*)
61369     cat <<\_LT_EOF >> "$cfgfile"
61370 # AIX sometimes has problems with the GCC collect2 program.  For some
61371 # reason, if we set the COLLECT_NAMES environment variable, the problems
61372 # vanish in a puff of smoke.
61373 if test "X${COLLECT_NAMES+set}" != Xset; then
61374   COLLECT_NAMES=
61375   export COLLECT_NAMES
61376 fi
61377 _LT_EOF
61378     ;;
61379   esac
61380
61381
61382 ltmain="$ac_aux_dir/ltmain.sh"
61383
61384
61385   # We use sed instead of cat because bash on DJGPP gets confused if
61386   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
61387   # text mode, it properly converts lines to CR/LF.  This bash problem
61388   # is reportedly fixed, but why not run on old versions too?
61389   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61390     || (rm -f "$cfgfile"; exit 1)
61391
61392   case $xsi_shell in
61393   yes)
61394     cat << \_LT_EOF >> "$cfgfile"
61395
61396 # func_dirname file append nondir_replacement
61397 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61398 # otherwise set result to NONDIR_REPLACEMENT.
61399 func_dirname ()
61400 {
61401   case ${1} in
61402     */*) func_dirname_result="${1%/*}${2}" ;;
61403     *  ) func_dirname_result="${3}" ;;
61404   esac
61405 }
61406
61407 # func_basename file
61408 func_basename ()
61409 {
61410   func_basename_result="${1##*/}"
61411 }
61412
61413 # func_dirname_and_basename file append nondir_replacement
61414 # perform func_basename and func_dirname in a single function
61415 # call:
61416 #   dirname:  Compute the dirname of FILE.  If nonempty,
61417 #             add APPEND to the result, otherwise set result
61418 #             to NONDIR_REPLACEMENT.
61419 #             value returned in "$func_dirname_result"
61420 #   basename: Compute filename of FILE.
61421 #             value retuned in "$func_basename_result"
61422 # Implementation must be kept synchronized with func_dirname
61423 # and func_basename. For efficiency, we do not delegate to
61424 # those functions but instead duplicate the functionality here.
61425 func_dirname_and_basename ()
61426 {
61427   case ${1} in
61428     */*) func_dirname_result="${1%/*}${2}" ;;
61429     *  ) func_dirname_result="${3}" ;;
61430   esac
61431   func_basename_result="${1##*/}"
61432 }
61433
61434 # func_stripname prefix suffix name
61435 # strip PREFIX and SUFFIX off of NAME.
61436 # PREFIX and SUFFIX must not contain globbing or regex special
61437 # characters, hashes, percent signs, but SUFFIX may contain a leading
61438 # dot (in which case that matches only a dot).
61439 func_stripname ()
61440 {
61441   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61442   # positional parameters, so assign one to ordinary parameter first.
61443   func_stripname_result=${3}
61444   func_stripname_result=${func_stripname_result#"${1}"}
61445   func_stripname_result=${func_stripname_result%"${2}"}
61446 }
61447
61448 # func_opt_split
61449 func_opt_split ()
61450 {
61451   func_opt_split_opt=${1%%=*}
61452   func_opt_split_arg=${1#*=}
61453 }
61454
61455 # func_lo2o object
61456 func_lo2o ()
61457 {
61458   case ${1} in
61459     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61460     *)    func_lo2o_result=${1} ;;
61461   esac
61462 }
61463
61464 # func_xform libobj-or-source
61465 func_xform ()
61466 {
61467   func_xform_result=${1%.*}.lo
61468 }
61469
61470 # func_arith arithmetic-term...
61471 func_arith ()
61472 {
61473   func_arith_result=$(( $* ))
61474 }
61475
61476 # func_len string
61477 # STRING may not start with a hyphen.
61478 func_len ()
61479 {
61480   func_len_result=${#1}
61481 }
61482
61483 _LT_EOF
61484     ;;
61485   *) # Bourne compatible functions.
61486     cat << \_LT_EOF >> "$cfgfile"
61487
61488 # func_dirname file append nondir_replacement
61489 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
61490 # otherwise set result to NONDIR_REPLACEMENT.
61491 func_dirname ()
61492 {
61493   # Extract subdirectory from the argument.
61494   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61495   if test "X$func_dirname_result" = "X${1}"; then
61496     func_dirname_result="${3}"
61497   else
61498     func_dirname_result="$func_dirname_result${2}"
61499   fi
61500 }
61501
61502 # func_basename file
61503 func_basename ()
61504 {
61505   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61506 }
61507
61508
61509 # func_stripname prefix suffix name
61510 # strip PREFIX and SUFFIX off of NAME.
61511 # PREFIX and SUFFIX must not contain globbing or regex special
61512 # characters, hashes, percent signs, but SUFFIX may contain a leading
61513 # dot (in which case that matches only a dot).
61514 # func_strip_suffix prefix name
61515 func_stripname ()
61516 {
61517   case ${2} in
61518     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61519     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61520   esac
61521 }
61522
61523 # sed scripts:
61524 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61525 my_sed_long_arg='1s/^-[^=]*=//'
61526
61527 # func_opt_split
61528 func_opt_split ()
61529 {
61530   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61531   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61532 }
61533
61534 # func_lo2o object
61535 func_lo2o ()
61536 {
61537   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61538 }
61539
61540 # func_xform libobj-or-source
61541 func_xform ()
61542 {
61543   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61544 }
61545
61546 # func_arith arithmetic-term...
61547 func_arith ()
61548 {
61549   func_arith_result=`expr "$@"`
61550 }
61551
61552 # func_len string
61553 # STRING may not start with a hyphen.
61554 func_len ()
61555 {
61556   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61557 }
61558
61559 _LT_EOF
61560 esac
61561
61562 case $lt_shell_append in
61563   yes)
61564     cat << \_LT_EOF >> "$cfgfile"
61565
61566 # func_append var value
61567 # Append VALUE to the end of shell variable VAR.
61568 func_append ()
61569 {
61570   eval "$1+=\$2"
61571 }
61572 _LT_EOF
61573     ;;
61574   *)
61575     cat << \_LT_EOF >> "$cfgfile"
61576
61577 # func_append var value
61578 # Append VALUE to the end of shell variable VAR.
61579 func_append ()
61580 {
61581   eval "$1=\$$1\$2"
61582 }
61583
61584 _LT_EOF
61585     ;;
61586   esac
61587
61588
61589   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61590     || (rm -f "$cfgfile"; exit 1)
61591
61592   mv -f "$cfgfile" "$ofile" ||
61593     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61594   chmod +x "$ofile"
61595
61596
61597     cat <<_LT_EOF >> "$ofile"
61598
61599 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61600
61601 # The linker used to build libraries.
61602 LD=$lt_LD_CXX
61603
61604 # How to create reloadable object files.
61605 reload_flag=$lt_reload_flag_CXX
61606 reload_cmds=$lt_reload_cmds_CXX
61607
61608 # Commands used to build an old-style archive.
61609 old_archive_cmds=$lt_old_archive_cmds_CXX
61610
61611 # A language specific compiler.
61612 CC=$lt_compiler_CXX
61613
61614 # Is the compiler the GNU compiler?
61615 with_gcc=$GCC_CXX
61616
61617 # Compiler flag to turn off builtin functions.
61618 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61619
61620 # How to pass a linker flag through the compiler.
61621 wl=$lt_lt_prog_compiler_wl_CXX
61622
61623 # Additional compiler flags for building library objects.
61624 pic_flag=$lt_lt_prog_compiler_pic_CXX
61625
61626 # Compiler flag to prevent dynamic linking.
61627 link_static_flag=$lt_lt_prog_compiler_static_CXX
61628
61629 # Does compiler simultaneously support -c and -o options?
61630 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61631
61632 # Whether or not to add -lc for building shared libraries.
61633 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61634
61635 # Whether or not to disallow shared libs when runtime libs are static.
61636 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61637
61638 # Compiler flag to allow reflexive dlopens.
61639 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61640
61641 # Compiler flag to generate shared objects directly from archives.
61642 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61643
61644 # Whether the compiler copes with passing no objects directly.
61645 compiler_needs_object=$lt_compiler_needs_object_CXX
61646
61647 # Create an old-style archive from a shared archive.
61648 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61649
61650 # Create a temporary old-style archive to link instead of a shared archive.
61651 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61652
61653 # Commands used to build a shared archive.
61654 archive_cmds=$lt_archive_cmds_CXX
61655 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61656
61657 # Commands used to build a loadable module if different from building
61658 # a shared archive.
61659 module_cmds=$lt_module_cmds_CXX
61660 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61661
61662 # Whether we are building with GNU ld or not.
61663 with_gnu_ld=$lt_with_gnu_ld_CXX
61664
61665 # Flag that allows shared libraries with undefined symbols to be built.
61666 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61667
61668 # Flag that enforces no undefined symbols.
61669 no_undefined_flag=$lt_no_undefined_flag_CXX
61670
61671 # Flag to hardcode \$libdir into a binary during linking.
61672 # This must work even if \$libdir does not exist
61673 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61674
61675 # If ld is used when linking, flag to hardcode \$libdir into a binary
61676 # during linking.  This must work even if \$libdir does not exist.
61677 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61678
61679 # Whether we need a single "-rpath" flag with a separated argument.
61680 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61681
61682 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61683 # DIR into the resulting binary.
61684 hardcode_direct=$hardcode_direct_CXX
61685
61686 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61687 # DIR into the resulting binary and the resulting library dependency is
61688 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61689 # library is relocated.
61690 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61691
61692 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61693 # into the resulting binary.
61694 hardcode_minus_L=$hardcode_minus_L_CXX
61695
61696 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61697 # into the resulting binary.
61698 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61699
61700 # Set to "yes" if building a shared library automatically hardcodes DIR
61701 # into the library and all subsequent libraries and executables linked
61702 # against it.
61703 hardcode_automatic=$hardcode_automatic_CXX
61704
61705 # Set to yes if linker adds runtime paths of dependent libraries
61706 # to runtime path list.
61707 inherit_rpath=$inherit_rpath_CXX
61708
61709 # Whether libtool must link a program against all its dependency libraries.
61710 link_all_deplibs=$link_all_deplibs_CXX
61711
61712 # Fix the shell variable \$srcfile for the compiler.
61713 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61714
61715 # Set to "yes" if exported symbols are required.
61716 always_export_symbols=$always_export_symbols_CXX
61717
61718 # The commands to list exported symbols.
61719 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61720
61721 # Symbols that should not be listed in the preloaded symbols.
61722 exclude_expsyms=$lt_exclude_expsyms_CXX
61723
61724 # Symbols that must always be exported.
61725 include_expsyms=$lt_include_expsyms_CXX
61726
61727 # Commands necessary for linking programs (against libraries) with templates.
61728 prelink_cmds=$lt_prelink_cmds_CXX
61729
61730 # Specify filename containing input files.
61731 file_list_spec=$lt_file_list_spec_CXX
61732
61733 # How to hardcode a shared library path into an executable.
61734 hardcode_action=$hardcode_action_CXX
61735
61736 # The directories searched by this compiler when creating a shared library.
61737 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61738
61739 # Dependencies to place before and after the objects being linked to
61740 # create a shared library.
61741 predep_objects=$lt_predep_objects_CXX
61742 postdep_objects=$lt_postdep_objects_CXX
61743 predeps=$lt_predeps_CXX
61744 postdeps=$lt_postdeps_CXX
61745
61746 # The library search path used internally by the compiler when linking
61747 # a shared library.
61748 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61749
61750 # ### END LIBTOOL TAG CONFIG: CXX
61751 _LT_EOF
61752
61753  ;;
61754     "include/gstdint.h":C)
61755 if test "$GCC" = yes; then
61756   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61757 else
61758   echo "/* generated for $CC */" > tmp-stdint.h
61759 fi
61760
61761 sed 's/^ *//' >> tmp-stdint.h <<EOF
61762
61763   #ifndef GCC_GENERATED_STDINT_H
61764   #define GCC_GENERATED_STDINT_H 1
61765
61766   #include <sys/types.h>
61767 EOF
61768
61769 if test "$acx_cv_header_stdint" != stdint.h; then
61770   echo "#include <stddef.h>" >> tmp-stdint.h
61771 fi
61772 if test "$acx_cv_header_stdint" != stddef.h; then
61773   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61774 fi
61775
61776 sed 's/^ *//' >> tmp-stdint.h <<EOF
61777   /* glibc uses these symbols as guards to prevent redefinitions.  */
61778   #ifdef __int8_t_defined
61779   #define _INT8_T
61780   #define _INT16_T
61781   #define _INT32_T
61782   #endif
61783   #ifdef __uint32_t_defined
61784   #define _UINT32_T
61785   #endif
61786
61787 EOF
61788
61789 # ----------------- done header, emit basic int types -------------
61790 if test "$acx_cv_header_stdint" = stddef.h; then
61791   sed 's/^ *//' >> tmp-stdint.h <<EOF
61792
61793     #ifndef _UINT8_T
61794     #define _UINT8_T
61795     #ifndef __uint8_t_defined
61796     #define __uint8_t_defined
61797     #ifndef uint8_t
61798     typedef unsigned $acx_cv_type_int8_t uint8_t;
61799     #endif
61800     #endif
61801     #endif
61802
61803     #ifndef _UINT16_T
61804     #define _UINT16_T
61805     #ifndef __uint16_t_defined
61806     #define __uint16_t_defined
61807     #ifndef uint16_t
61808     typedef unsigned $acx_cv_type_int16_t uint16_t;
61809     #endif
61810     #endif
61811     #endif
61812
61813     #ifndef _UINT32_T
61814     #define _UINT32_T
61815     #ifndef __uint32_t_defined
61816     #define __uint32_t_defined
61817     #ifndef uint32_t
61818     typedef unsigned $acx_cv_type_int32_t uint32_t;
61819     #endif
61820     #endif
61821     #endif
61822
61823     #ifndef _INT8_T
61824     #define _INT8_T
61825     #ifndef __int8_t_defined
61826     #define __int8_t_defined
61827     #ifndef int8_t
61828     typedef $acx_cv_type_int8_t int8_t;
61829     #endif
61830     #endif
61831     #endif
61832
61833     #ifndef _INT16_T
61834     #define _INT16_T
61835     #ifndef __int16_t_defined
61836     #define __int16_t_defined
61837     #ifndef int16_t
61838     typedef $acx_cv_type_int16_t int16_t;
61839     #endif
61840     #endif
61841     #endif
61842
61843     #ifndef _INT32_T
61844     #define _INT32_T
61845     #ifndef __int32_t_defined
61846     #define __int32_t_defined
61847     #ifndef int32_t
61848     typedef $acx_cv_type_int32_t int32_t;
61849     #endif
61850     #endif
61851     #endif
61852 EOF
61853 elif test "$ac_cv_type_u_int32_t" = yes; then
61854   sed 's/^ *//' >> tmp-stdint.h <<EOF
61855
61856     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61857     #ifndef _INT8_T
61858     #define _INT8_T
61859     #endif
61860     #ifndef _INT16_T
61861     #define _INT16_T
61862     #endif
61863     #ifndef _INT32_T
61864     #define _INT32_T
61865     #endif
61866
61867     #ifndef _UINT8_T
61868     #define _UINT8_T
61869     #ifndef __uint8_t_defined
61870     #define __uint8_t_defined
61871     #ifndef uint8_t
61872     typedef u_int8_t uint8_t;
61873     #endif
61874     #endif
61875     #endif
61876
61877     #ifndef _UINT16_T
61878     #define _UINT16_T
61879     #ifndef __uint16_t_defined
61880     #define __uint16_t_defined
61881     #ifndef uint16_t
61882     typedef u_int16_t uint16_t;
61883     #endif
61884     #endif
61885     #endif
61886
61887     #ifndef _UINT32_T
61888     #define _UINT32_T
61889     #ifndef __uint32_t_defined
61890     #define __uint32_t_defined
61891     #ifndef uint32_t
61892     typedef u_int32_t uint32_t;
61893     #endif
61894     #endif
61895     #endif
61896 EOF
61897 else
61898   sed 's/^ *//' >> tmp-stdint.h <<EOF
61899
61900     /* Some systems have guard macros to prevent redefinitions, define them.  */
61901     #ifndef _INT8_T
61902     #define _INT8_T
61903     #endif
61904     #ifndef _INT16_T
61905     #define _INT16_T
61906     #endif
61907     #ifndef _INT32_T
61908     #define _INT32_T
61909     #endif
61910     #ifndef _UINT8_T
61911     #define _UINT8_T
61912     #endif
61913     #ifndef _UINT16_T
61914     #define _UINT16_T
61915     #endif
61916     #ifndef _UINT32_T
61917     #define _UINT32_T
61918     #endif
61919 EOF
61920 fi
61921
61922 # ------------- done basic int types, emit int64_t types ------------
61923 if test "$ac_cv_type_uint64_t" = yes; then
61924   sed 's/^ *//' >> tmp-stdint.h <<EOF
61925
61926     /* system headers have good uint64_t and int64_t */
61927     #ifndef _INT64_T
61928     #define _INT64_T
61929     #endif
61930     #ifndef _UINT64_T
61931     #define _UINT64_T
61932     #endif
61933 EOF
61934 elif test "$ac_cv_type_u_int64_t" = yes; then
61935   sed 's/^ *//' >> tmp-stdint.h <<EOF
61936
61937     /* system headers have an u_int64_t (and int64_t) */
61938     #ifndef _INT64_T
61939     #define _INT64_T
61940     #endif
61941     #ifndef _UINT64_T
61942     #define _UINT64_T
61943     #ifndef __uint64_t_defined
61944     #define __uint64_t_defined
61945     #ifndef uint64_t
61946     typedef u_int64_t uint64_t;
61947     #endif
61948     #endif
61949     #endif
61950 EOF
61951 elif test -n "$acx_cv_type_int64_t"; then
61952   sed 's/^ *//' >> tmp-stdint.h <<EOF
61953
61954     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61955     #ifndef _INT64_T
61956     #define _INT64_T
61957     #ifndef int64_t
61958     typedef $acx_cv_type_int64_t int64_t;
61959     #endif
61960     #endif
61961     #ifndef _UINT64_T
61962     #define _UINT64_T
61963     #ifndef __uint64_t_defined
61964     #define __uint64_t_defined
61965     #ifndef uint64_t
61966     typedef unsigned $acx_cv_type_int64_t uint64_t;
61967     #endif
61968     #endif
61969     #endif
61970 EOF
61971 else
61972   sed 's/^ *//' >> tmp-stdint.h <<EOF
61973
61974     /* some common heuristics for int64_t, using compiler-specific tests */
61975     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61976     #ifndef _INT64_T
61977     #define _INT64_T
61978     #ifndef __int64_t_defined
61979     #ifndef int64_t
61980     typedef long long int64_t;
61981     #endif
61982     #endif
61983     #endif
61984     #ifndef _UINT64_T
61985     #define _UINT64_T
61986     #ifndef uint64_t
61987     typedef unsigned long long uint64_t;
61988     #endif
61989     #endif
61990
61991     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61992     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61993        does not implement __extension__.  But that compiler doesn't define
61994        __GNUC_MINOR__.  */
61995     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61996     # define __extension__
61997     # endif
61998
61999     # ifndef _INT64_T
62000     # define _INT64_T
62001     # ifndef int64_t
62002     __extension__ typedef long long int64_t;
62003     # endif
62004     # endif
62005     # ifndef _UINT64_T
62006     # define _UINT64_T
62007     # ifndef uint64_t
62008     __extension__ typedef unsigned long long uint64_t;
62009     # endif
62010     # endif
62011
62012     #elif !defined __STRICT_ANSI__
62013     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
62014
62015     #  ifndef _INT64_T
62016     #  define _INT64_T
62017     #  ifndef int64_t
62018     typedef __int64 int64_t;
62019     #  endif
62020     #  endif
62021     #  ifndef _UINT64_T
62022     #  define _UINT64_T
62023     #  ifndef uint64_t
62024     typedef unsigned __int64 uint64_t;
62025     #  endif
62026     #  endif
62027     # endif /* compiler */
62028
62029     #endif /* ANSI version */
62030 EOF
62031 fi
62032
62033 # ------------- done int64_t types, emit intptr types ------------
62034 if test "$ac_cv_type_uintptr_t" != yes; then
62035   sed 's/^ *//' >> tmp-stdint.h <<EOF
62036
62037     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
62038     #ifndef __uintptr_t_defined
62039     #ifndef uintptr_t
62040     typedef u$acx_cv_type_intptr_t uintptr_t;
62041     #endif
62042     #endif
62043     #ifndef __intptr_t_defined
62044     #ifndef intptr_t
62045     typedef $acx_cv_type_intptr_t  intptr_t;
62046     #endif
62047     #endif
62048 EOF
62049 fi
62050
62051 # ------------- done intptr types, emit int_least types ------------
62052 if test "$ac_cv_type_int_least32_t" != yes; then
62053   sed 's/^ *//' >> tmp-stdint.h <<EOF
62054
62055     /* Define int_least types */
62056     typedef int8_t     int_least8_t;
62057     typedef int16_t    int_least16_t;
62058     typedef int32_t    int_least32_t;
62059     #ifdef _INT64_T
62060     typedef int64_t    int_least64_t;
62061     #endif
62062
62063     typedef uint8_t    uint_least8_t;
62064     typedef uint16_t   uint_least16_t;
62065     typedef uint32_t   uint_least32_t;
62066     #ifdef _UINT64_T
62067     typedef uint64_t   uint_least64_t;
62068     #endif
62069 EOF
62070 fi
62071
62072 # ------------- done intptr types, emit int_fast types ------------
62073 if test "$ac_cv_type_int_fast32_t" != yes; then
62074       sed 's/^ *//' >> tmp-stdint.h <<EOF
62075
62076     /* Define int_fast types.  short is often slow */
62077     typedef int8_t       int_fast8_t;
62078     typedef int          int_fast16_t;
62079     typedef int32_t      int_fast32_t;
62080     #ifdef _INT64_T
62081     typedef int64_t      int_fast64_t;
62082     #endif
62083
62084     typedef uint8_t      uint_fast8_t;
62085     typedef unsigned int uint_fast16_t;
62086     typedef uint32_t     uint_fast32_t;
62087     #ifdef _UINT64_T
62088     typedef uint64_t     uint_fast64_t;
62089     #endif
62090 EOF
62091 fi
62092
62093 if test "$ac_cv_type_uintmax_t" != yes; then
62094   sed 's/^ *//' >> tmp-stdint.h <<EOF
62095
62096     /* Define intmax based on what we found */
62097     #ifndef intmax_t
62098     #ifdef _INT64_T
62099     typedef int64_t       intmax_t;
62100     #else
62101     typedef long          intmax_t;
62102     #endif
62103     #endif
62104     #ifndef uintmax_t
62105     #ifdef _UINT64_T
62106     typedef uint64_t      uintmax_t;
62107     #else
62108     typedef unsigned long uintmax_t;
62109     #endif
62110     #endif
62111 EOF
62112 fi
62113
62114 sed 's/^ *//' >> tmp-stdint.h <<EOF
62115
62116   #endif /* GCC_GENERATED_STDINT_H */
62117 EOF
62118
62119 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
62120   rm -f tmp-stdint.h
62121 else
62122   mv -f tmp-stdint.h include/gstdint.h
62123 fi
62124
62125  ;;
62126     "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
62127     "include/Makefile":F) cat > vpsed$$ << \_EOF
62128 s!`test -f '$<' || echo '$(srcdir)/'`!!
62129 _EOF
62130    sed -f vpsed$$ $ac_file > tmp$$
62131    mv tmp$$ $ac_file
62132    rm vpsed$$
62133    echo 'MULTISUBDIR =' >> $ac_file
62134    ml_norecursion=yes
62135    . ${multi_basedir}/config-ml.in
62136    { ml_norecursion=; unset ml_norecursion;}
62137  ;;
62138     "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
62139 s!`test -f '$<' || echo '$(srcdir)/'`!!
62140 _EOF
62141    sed -f vpsed$$ $ac_file > tmp$$
62142    mv tmp$$ $ac_file
62143    rm vpsed$$
62144    echo 'MULTISUBDIR =' >> $ac_file
62145    ml_norecursion=yes
62146    . ${multi_basedir}/config-ml.in
62147    { ml_norecursion=; unset ml_norecursion;}
62148  ;;
62149     "python/Makefile":F) cat > vpsed$$ << \_EOF
62150 s!`test -f '$<' || echo '$(srcdir)/'`!!
62151 _EOF
62152    sed -f vpsed$$ $ac_file > tmp$$
62153    mv tmp$$ $ac_file
62154    rm vpsed$$
62155    echo 'MULTISUBDIR =' >> $ac_file
62156    ml_norecursion=yes
62157    . ${multi_basedir}/config-ml.in
62158    { ml_norecursion=; unset ml_norecursion;}
62159  ;;
62160     "src/Makefile":F) cat > vpsed$$ << \_EOF
62161 s!`test -f '$<' || echo '$(srcdir)/'`!!
62162 _EOF
62163    sed -f vpsed$$ $ac_file > tmp$$
62164    mv tmp$$ $ac_file
62165    rm vpsed$$
62166    echo 'MULTISUBDIR =' >> $ac_file
62167    ml_norecursion=yes
62168    . ${multi_basedir}/config-ml.in
62169    { ml_norecursion=; unset ml_norecursion;}
62170  ;;
62171     "doc/Makefile":F) cat > vpsed$$ << \_EOF
62172 s!`test -f '$<' || echo '$(srcdir)/'`!!
62173 _EOF
62174    sed -f vpsed$$ $ac_file > tmp$$
62175    mv tmp$$ $ac_file
62176    rm vpsed$$
62177    echo 'MULTISUBDIR =' >> $ac_file
62178    ml_norecursion=yes
62179    . ${multi_basedir}/config-ml.in
62180    { ml_norecursion=; unset ml_norecursion;}
62181  ;;
62182     "po/Makefile":F) cat > vpsed$$ << \_EOF
62183 s!`test -f '$<' || echo '$(srcdir)/'`!!
62184 _EOF
62185    sed -f vpsed$$ $ac_file > tmp$$
62186    mv tmp$$ $ac_file
62187    rm vpsed$$
62188    echo 'MULTISUBDIR =' >> $ac_file
62189    ml_norecursion=yes
62190    . ${multi_basedir}/config-ml.in
62191    { ml_norecursion=; unset ml_norecursion;}
62192  ;;
62193     "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
62194 s!`test -f '$<' || echo '$(srcdir)/'`!!
62195 _EOF
62196    sed -f vpsed$$ $ac_file > tmp$$
62197    mv tmp$$ $ac_file
62198    rm vpsed$$
62199    echo 'MULTISUBDIR =' >> $ac_file
62200    ml_norecursion=yes
62201    . ${multi_basedir}/config-ml.in
62202    { ml_norecursion=; unset ml_norecursion;}
62203  ;;
62204     "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
62205
62206   esac
62207 done # for ac_tag
62208
62209
62210 as_fn_exit 0
62211 _ACEOF
62212 ac_clean_files=$ac_clean_files_save
62213
62214 test $ac_write_fail = 0 ||
62215   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
62216
62217
62218 # configure is writing to config.log, and then calls config.status.
62219 # config.status does its own redirection, appending to config.log.
62220 # Unfortunately, on DOS this fails, as config.log is still kept open
62221 # by configure, so config.status won't be able to write to it; its
62222 # output is simply discarded.  So we exec the FD to /dev/null,
62223 # effectively closing config.log, so it can be properly (re)opened and
62224 # appended to by config.status.  When coming back to configure, we
62225 # need to make the FD available again.
62226 if test "$no_create" != yes; then
62227   ac_cs_success=:
62228   ac_config_status_args=
62229   test "$silent" = yes &&
62230     ac_config_status_args="$ac_config_status_args --quiet"
62231   exec 5>/dev/null
62232   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
62233   exec 5>>config.log
62234   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62235   # would make configure fail if this is the last instruction.
62236   $ac_cs_success || as_fn_exit $?
62237 fi
62238 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62239   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62240 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
62241 fi
62242